Subversion Repositories DevTools

Rev

Rev 1962 | Rev 1966 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1962 Rev 1964
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.3.1.ant"/>
16
	<property name="ant-using-version" value="1.4.0.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 99... Line 99...
99
			<include name="*.xml"/>
99
			<include name="*.xml"/>
100
		</fileset>
100
		</fileset>
101
	</copy>
101
	</copy>
102
	<import file="${using.ant-using.basedir}/ant-using-macro.xml" optional="false"/>
102
	<import file="${using.ant-using.basedir}/ant-using-macro.xml" optional="false"/>
103
	<!-- ============================================================================================== -->
103
	<!-- ============================================================================================== -->
-
 
104
	
-
 
105
	<!-- Import the auto.xml file (if it exists), and if it does not then import the depends.xml.
-
 
106
	      The name of the depends.xml it will look for (in this order) is ${ant.project.name}-depends.xml or
-
 
107
	       ${ant.project.name}depends.xml.
-
 
108
	-->
-
 
109
	<available property="auto.xml.exists" filepath="${basedir}" file="auto.xml"/>
-
 
110
	<if>
-
 
111
	    <isset property="auto.xml.exists"/>
-
 
112
		<then>
-
 
113
			<import file="${basedir}/auto.xml" optional="true"/>
-
 
114
		</then>
-
 
115
		<else>
-
 
116
			<available property="depends.xml.exists" filepath="${basedir}" file="${ant.project.name}-depends.xml"/>
-
 
117
			<if>
-
 
118
				<isset property="depends.xml.exists"/>
-
 
119
				<then>
-
 
120
					<import file="${basedir}/${ant.project.name}-depends.xml" optional="true"/>
-
 
121
				</then>
-
 
122
				<else>
-
 
123
					<import file="${basedir}/${ant.project.name}depends.xml" optional="true"/>
-
 
124
				</else>
-
 
125
			</if>
-
 
126
		</else>
-
 
127
	</if>
104
 
128
 
105
</project>
129
</project>