| Line 11... |
Line 11... |
| 11 |
-->
|
11 |
-->
|
| 12 |
|
12 |
|
| 13 |
<!-- ============================================================================================== -->
|
13 |
<!-- ============================================================================================== -->
|
| 14 |
<!-- Install ant-using -->
|
14 |
<!-- Install ant-using -->
|
| 15 |
|
15 |
|
| 16 |
<property name="ant-using-version" value="1.5.0.tool"/>
|
16 |
<property name="ant-using-version" value="1.5.2.tool"/>
|
| 17 |
|
17 |
|
| 18 |
|
18 |
|
| 19 |
<fail message="An existing ANT using macro has been declared with a different version" status="2">
|
19 |
<fail message="An existing ANT using macro has been declared with a different version" status="2">
|
| 20 |
<condition>
|
20 |
<condition>
|
| 21 |
<and>
|
21 |
<and>
|
| Line 23... |
Line 23... |
| 23 |
<not><equals arg1="${using.ant-using.version}" arg2="${ant-using-version}"/></not>
|
23 |
<not><equals arg1="${using.ant-using.version}" arg2="${ant-using-version}"/></not>
|
| 24 |
</and>
|
24 |
</and>
|
| 25 |
</condition>
|
25 |
</condition>
|
| 26 |
</fail>
|
26 |
</fail>
|
| 27 |
|
27 |
|
| 28 |
|
- |
|
| - |
|
28 |
<property name="using.ant-using.version" value="${ant-using-version}"/>
|
| 29 |
<!-- For backward compatibilty, EITHER the GBE_DPKG variable OR the JATS_HOME variable should be set -->
|
29 |
<!-- For backward compatibilty, EITHER the GBE_DPKG variable OR the JATS_HOME variable should be set -->
|
| 30 |
<fail message="The mandatory environment variable GBE_DPKG (or the alternative JATS_HOME) is missing" status="1">
|
30 |
<fail message="The mandatory environment variable GBE_DPKG (or the alternative JATS_HOME) is missing" status="1">
|
| 31 |
<condition>
|
31 |
<condition>
|
| 32 |
<and>
|
32 |
<and>
|
| 33 |
<not><isset property="env.GBE_DPKG"/></not>
|
33 |
<not><isset property="env.GBE_DPKG"/></not>
|
| Line 45... |
Line 45... |
| 45 |
</condition>
|
45 |
</condition>
|
| 46 |
|
46 |
|
| 47 |
|
47 |
|
| 48 |
<!-- ============================================================================================== -->
|
48 |
<!-- ============================================================================================== -->
|
| 49 |
<!-- Install ant-antcontrib -->
|
49 |
<!-- Install ant-antcontrib -->
|
| 50 |
<property name="antcontrib-version" value="1.0b2"/>
|
50 |
<property name="using.antcontrib.version" value="1.0b2"/>
|
| 51 |
<property name="using.ant-antcontrib.basedir" value="${env.GBE_DPKG}/ant-antcontrib/${antcontrib-version}"/>
|
51 |
<property name="using.ant-antcontrib.basedir" value="${env.GBE_DPKG}/ant-antcontrib/${using.antcontrib.version}"/>
|
| 52 |
<property name="using.antcontrib.basedir" value="${env.GBE_DPKG}/antcontrib/${antcontrib-version}"/>
|
52 |
<property name="using.antcontrib.basedir" value="${env.GBE_DPKG}/antcontrib/${using.antcontrib.version}"/>
|
| 53 |
<mkdir dir="${using.ant-antcontrib.basedir}"/>
|
53 |
<mkdir dir="${using.ant-antcontrib.basedir}"/>
|
| 54 |
<mkdir dir="${using.antcontrib.basedir}"/>
|
54 |
<mkdir dir="${using.antcontrib.basedir}"/>
|
| 55 |
<copy todir="${using.ant-antcontrib.basedir}" verbose="yes">
|
55 |
<copy todir="${using.ant-antcontrib.basedir}" verbose="yes">
|
| 56 |
<fileset dir="${env.GBE_DPKG}/ant-antcontrib/${antcontrib-version}">
|
56 |
<fileset dir="${env.GBE_DPKG}/ant-antcontrib/${using.antcontrib.version}">
|
| 57 |
<include name="*.xml"/>
|
57 |
<include name="*.xml"/>
|
| 58 |
</fileset>
|
58 |
</fileset>
|
| 59 |
</copy>
|
59 |
</copy>
|
| 60 |
<copy todir="${using.antcontrib.basedir}" verbose="yes">
|
60 |
<copy todir="${using.antcontrib.basedir}" verbose="yes">
|
| 61 |
<fileset dir="${env.GBE_DPKG}/antcontrib/${antcontrib-version}">
|
61 |
<fileset dir="${env.GBE_DPKG}/antcontrib/${using.antcontrib.version}">
|
| 62 |
<include name="**/*.jar"/>
|
62 |
<include name="**/*.jar"/>
|
| 63 |
</fileset>
|
63 |
</fileset>
|
| 64 |
</copy>
|
64 |
</copy>
|
| 65 |
<import file="${using.ant-antcontrib.basedir}/ant-antcontrib.xml" optional="false"/>
|
65 |
<import file="${using.ant-antcontrib.basedir}/ant-antcontrib.xml" optional="false"/>
|
| 66 |
<!-- ============================================================================================== -->
|
66 |
<!-- ============================================================================================== -->
|