blob: db11355bd34f5eab55f84a79963533b5e60e6339 [file] [log] [blame]
<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="debug"
message="keyCfgFile: ${keyCfgFile}"/>
<property
file="${keyCfgFile}"/>
<!-- main -->
<target
name="build"
depends="getBaseBuilder">
<dirname
file="${ant.file}"
property="distribution.wtp.build.dir"/>
<property
name="buildTargets"
value="${wtp.builder.home}/scripts/build/runbuild.xml"/>
<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="info"
message="invoking buildTargets: ${buildTargets} to build for each component"/>
<ant
antfile="${buildTargets}">
<property
name="component"
value="wtp-patches"/>
</ant>
<ant
antfile="${buildTargets}">
<property
name="component"
value="wtp-patches-tests"/>
</ant>
</target>
<target
name="getBaseBuilder"
if="eclipse.builder.fetch">
<dirname
file="${ant.file}"
property="wtbuilder.dir"/>
<property
name="buildTargets"
value="${wtp.builder.home}/scripts/build/runbuild.xml"/>
<!-- delete dir="${pde.builder.path}" failonerror="false"/ -->
<ant
antfile="${buildTargets}"
target="getBaseBuilder"/>
</target>
</project>