| <project default="whatisfixed" basedir="."> |
| |
| |
| |
| <target name="whatisfixed" depends="initPropertyFile,check.doWhatIsFixed" if="doWhatIsFixed"> |
| <dirname file="${ant.file}" property="distribution.wtp.whatisfixed.dir"/> |
| <property file="${distribution.wtp.whatisfixed.dir}/build.properties" /> |
| <property file="${wtp.builder.home}/build.properties" /> |
| |
| <property name="buildTargets" value="${wtp.builder.home}/scripts/whatisfixed/build.xml" /> |
| |
| <ant antfile="${buildTargets}" target="whatisfixed" > |
| </ant> |
| </target> |
| |
| |
| <target name="check.doWhatIsFixed" depends="initPropertyFile"> |
| <condition property="doWhatIsFixed"> |
| <equals arg1="${build.whatIsFixed}" arg2="true" /> |
| </condition> |
| </target> |
| |
| |
| <target name="initPropertyFile"> |
| |
| <!-- if this upload properties file hasn't been set yet, we will provide this fallback file --> |
| <!-- but, since these properties are machine and user sensitive, its better if set "outside" wtpbuilder, |
| such as in releng.control --> |
| <property name="wtpbuilder.whatisfixed.properties.file" |
| value="${basedir}/fallback.whatisfixed.properties" /> |
| |
| <property file="${wtpbuilder.whatisfixed.properties.file}" /> |
| |
| </target> |
| </project> |