blob: c9f29017222a6c4fffb54c19adbfe46bd8b150ec [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project
default="build"
basedir=".">
<fail unless="wtp.builder.home"/>
<property file="${wtp.builder.home}/build.properties"/>
<property environment="env"/>
<!-- required to get proper value of doCreateFprojZips -->
<property
name="keyCfgFile"
value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/>
<echo
level="info"
message="keyCfgFile: ${keyCfgFile}"/>
<property file="${keyCfgFile}"/>
<echo message="transformedRepoLocation: ${transformedRepoLocation}"/>
<mkdir dir="${transformedRepoLocation}"/>
<!-- main -->
<target
name="build"
depends="getBaseBuilder">
<property
name="buildTargets"
value="${wtp.builder.home}/scripts/build/runbuild.xml"/>
<ant antfile="${wtp.builder.home}/scripts/build/label.xml"/>
<property
name="dependency.properties"
value="${buildDirectory}/maps/${env.RELENG}/${dependencyFileLocation}"/>
<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>
-->
<!-- we fail for compilation problems only at end, so everything gets a chance to try
and compile -->
<ant antfile="${wtp.builder.home}/scripts/build/checkForCompilationProblems.xml"/>
<!--
copy early, before tests, packaging, etc., both for early look, and
to make sure we don't lose what we have, if there is a subsequent build failure.
-->
<ant antfile="${wtp.builder.home}/scripts/build/copyArtifactsEarly.xml"/>
</target>
<!-- invoking runbuild.xml targetting getBaseBuilder -->
<target
name="getBaseBuilder"
if="eclipse.builder.fetch">
<ant
antfile="${wtp.builder.home}/scripts/build/runbuild.xml"
target="getBaseBuilder"/>
</target>
</project>