| Line 1... |
Line 1... |
| 1 |
<project name="load-using-macrodef">
|
1 |
<project name="load-using-macrodef"
|
| - |
|
2 |
xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
|
| 2 |
|
3 |
|
| 3 |
<!-- C O P Y R I G H T N O T I C E
|
4 |
<!-- C O P Y R I G H T N O T I C E
|
| 4 |
This material is confidential to ERG and may not be disclosed in whole
|
5 |
This material is confidential to ERG and may not be disclosed in whole
|
| 5 |
or in part to any third party nor used in any manner whatsoever other
|
6 |
or in part to any third party nor used in any manner whatsoever other
|
| 6 |
than for the purposes expressly consented to by ERG in writing.
|
7 |
than for the purposes expressly consented to by ERG in writing.
|
| Line 35... |
Line 36... |
| 35 |
</and>
|
36 |
</and>
|
| 36 |
</condition>
|
37 |
</condition>
|
| 37 |
</fail>
|
38 |
</fail>
|
| 38 |
|
39 |
|
| 39 |
<dirname property="dirname.load-using-macrodef" file="${ant.file.load-using-macrodef}"/>
|
40 |
<dirname property="dirname.load-using-macrodef" file="${ant.file.load-using-macrodef}"/>
|
| - |
|
41 |
<property name="using.ant-using.basedir" location="${dirname.load-using-macrodef}"/>
|
| 40 |
|
42 |
|
| 41 |
<taskdef resource="net/sf/antcontrib/antlib.xml">
|
43 |
<taskdef resource="net/sf/antcontrib/antlib.xml">
|
| 42 |
<classpath>
|
44 |
<classpath>
|
| 43 |
<pathelement location="${dirname.load-using-macrodef}/jar/ant-contrib.jar"/>
|
45 |
<pathelement location="${dirname.load-using-macrodef}/jar/ant-contrib.jar"/>
|
| 44 |
</classpath>
|
46 |
</classpath>
|
| 45 |
</taskdef>
|
47 |
</taskdef>
|
| 46 |
|
48 |
|
| - |
|
49 |
<path id="ivy.lib.path">
|
| - |
|
50 |
<fileset dir="${dirname.load-using-macrodef}/jar" includes="ivy*.jar"/>
|
| - |
|
51 |
</path>
|
| - |
|
52 |
|
| - |
|
53 |
<taskdef resource="fr/jayasoft/ivy/ant/antlib.xml"
|
| - |
|
54 |
uri="antlib:fr.jayasoft.ivy.ant" classpathref="ivy.lib.path"/>
|
| - |
|
55 |
|
| - |
|
56 |
<available property="ivy.xml.exists" filepath="${basedir}" file="ivy.xml"/>
|
| - |
|
57 |
<available property="ivy-template.xml.exists" filepath="${basedir}" file="ivy-template.xml"/>
|
| - |
|
58 |
<if>
|
| - |
|
59 |
<or>
|
| - |
|
60 |
<isset property="ivy.xml.exists"/>
|
| - |
|
61 |
<isset property="ivy-template.xml.exists"/>
|
| - |
|
62 |
</or>
|
| - |
|
63 |
<then>
|
| - |
|
64 |
<ivy:configure file="${dirname.load-using-macrodef}/ivyconf.xml" />
|
| - |
|
65 |
</then>
|
| - |
|
66 |
</if>
|
| - |
|
67 |
|
| 47 |
<!--
|
68 |
<!--
|
| 48 |
- Do we have an environment variable for GBE_DPKG_CACHE?
|
69 |
- Do we have an environment variable for GBE_DPKG_CACHE?
|
| 49 |
- If so, use it as the build location.
|
70 |
- If so, use it as the build location.
|
| 50 |
- If not, look for a properties file : ant-build-properties (if one exists)
|
71 |
- If not, look for a properties file : ant-build-properties (if one exists)
|
| 51 |
- If the properties are not found, default to ${user.home}/build-repository
|
72 |
- If the properties are not found, default to ${user.home}/build-repository
|
| Line 79... |
Line 100... |
| 79 |
<import file="${dirname.load-using-macrodef}/ant-clean.xml" optional="false"/>
|
100 |
<import file="${dirname.load-using-macrodef}/ant-clean.xml" optional="false"/>
|
| 80 |
<import file="${dirname.load-using-macrodef}/ant-manifest.xml" optional="false"/>
|
101 |
<import file="${dirname.load-using-macrodef}/ant-manifest.xml" optional="false"/>
|
| 81 |
<import file="${dirname.load-using-macrodef}/ant-release.xml" optional="false"/>
|
102 |
<import file="${dirname.load-using-macrodef}/ant-release.xml" optional="false"/>
|
| 82 |
<import file="${dirname.load-using-macrodef}/ant-javadoc.xml" optional="false"/>
|
103 |
<import file="${dirname.load-using-macrodef}/ant-javadoc.xml" optional="false"/>
|
| 83 |
<import file="${dirname.load-using-macrodef}/ant-jants.xml" optional="false"/>
|
104 |
<import file="${dirname.load-using-macrodef}/ant-jants.xml" optional="false"/>
|
| - |
|
105 |
<import file="${dirname.load-using-macrodef}/ant-ivy.xml" optional="false"/>
|
| 84 |
|
106 |
|
| 85 |
<!--
|
107 |
<!--
|
| 86 |
- Import the auto.xml file (if it exists), and if it does not then import the depends.xml.
|
108 |
- Import the auto.xml file (if it exists), and if it does not then import the depends.xml.
|
| 87 |
- The name of the depends.xml it will look for (in this order) is ${ant.project.name}-depends.xml or
|
109 |
- The name of the depends.xml it will look for (in this order) is ${ant.project.name}-depends.xml or
|
| 88 |
- ${ant.project.name}depends.xml.
|
110 |
- ${ant.project.name}depends.xml.
|