| <project |
| default="build" |
| basedir="."> |
| <fail unless="wtp.builder.home"/> |
| <property file="${wtp.builder.home}/build.properties"/> |
| <target |
| name="build" |
| depends="getBaseBuilder"> |
| |
| <property |
| name="buildTargets" |
| value="${wtp.builder.home}/scripts/build/runbuild.xml"/> |
| <!-- |
| for this distribution, dependencies come from project's |
| releng map project |
| --> |
| <property |
| name="dependency.properties" |
| value="${buildDirectory}/maps/${env.RELENG}/${dependencyFileLocation}"/> |
| |
| <!-- calling label.xml to createg label.properties file --> |
| <ant antfile="${wtp.builder.home}/scripts/build/label.xml"/> |
| <echo |
| level="debug" |
| message="invoking buildTargets: ${buildTargets} to build for each component"/> |
| <ant antfile="${buildTargets}"> |
| <property |
| name="component" |
| value="wtpcap"/> |
| </ant> |
| <ant antfile="${buildTargets}"> |
| <property |
| name="component" |
| value="wtpcap_sdk"/> |
| </ant> |
| <ant antfile="${buildTargets}"> |
| <property |
| name="component" |
| value="wtpcap_tests"/> |
| </ant> |
| |
| <!-- package --> |
| <antcall target="package"/> |
| </target> |
| |
| <!-- invoking runbuild.xml targetting getBaseBuilder --> |
| <target name="getBaseBuilder"> |
| |
| <ant |
| antfile="${wtp.builder.home}/scripts/build/runbuild.xml" |
| target="getBaseBuilder"/> |
| |
| </target> |
| |
| </project> |