blob: 0a1b5aebb89ac40d0d01d011e93fcee9242a2913 [file] [log] [blame]
david_williamsbe20fe32006-05-11 03:55:48 +00001<project default="whatisfixed" basedir=".">
ndai2ded1c12006-01-29 09:58:38 +00002
3
4
david_williamsbe20fe32006-05-11 03:55:48 +00005 <target name="whatisfixed" depends="initPropertyFile,check.doWhatIsFixed" if="doWhatIsFixed">
ndai2ded1c12006-01-29 09:58:38 +00006 <dirname file="${ant.file}" property="distribution.wtp.whatisfixed.dir"/>
7 <property file="${distribution.wtp.whatisfixed.dir}/build.properties" />
8 <property file="${wtp.builder.home}/build.properties" />
9
10 <property name="buildTargets" value="${wtp.builder.home}/scripts/whatisfixed/build.xml" />
11
12 <ant antfile="${buildTargets}" target="whatisfixed" >
13 </ant>
14 </target>
15
david_williamsbe20fe32006-05-11 03:55:48 +000016
17 <target name="check.doWhatIsFixed" depends="initPropertyFile">
18 <condition property="doWhatIsFixed">
19 <equals arg1="${build.whatIsFixed}" arg2="true" />
20 </condition>
21 </target>
22
23
24 <target name="initPropertyFile">
25
26 <!-- if this upload properties file hasn't been set yet, we will provide this fallback file -->
27 <!-- but, since these properties are machine and user sensitive, its better if set "outside" wtpbuilder,
david_williams072c6f72006-05-19 10:50:58 +000028 such as in releng.control -->
david_williamsbe20fe32006-05-11 03:55:48 +000029 <property name="wtpbuilder.whatisfixed.properties.file"
30 value="${basedir}/fallback.whatisfixed.properties" />
31
david_williams768fd882006-05-11 04:27:08 +000032 <property file="${wtpbuilder.whatisfixed.properties.file}" />
david_williamsbe20fe32006-05-11 03:55:48 +000033
34 </target>
ndai2ded1c12006-01-29 09:58:38 +000035</project>