blob: 059abac57a4eec10abe8f54b5e4047d219d7d781 [file] [log] [blame]
<project
default="build"
basedir=".">
<fail
unless="wtp.builder.home"/>
<property
file="${wtp.builder.home}/build.properties"/>
<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"/>
<!--
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="info"
message="invoking buildTargets: ${buildTargets} to build for each component"/>
<ant
antfile="${buildTargets}">
<property
name="component"
value="wtpjee"/>
</ant>
<ant
antfile="${buildTargets}">
<property
name="component"
value="wtpjee_sdk"/>
</ant>
<ant
antfile="${buildTargets}">
<property
name="component"
value="wtpjee_tests"/>
<property
name="eclipseBuildFailOnError"
value="false"/>
</ant>
<!-- package -->
<antcall
target="package"/>
</target>
<!-- invoking runbuild.xml targetting getBaseBuilder -->
<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"/>
<echo
level="info"
message="invoking buildTargets: ${buildTargets} -> getBaseBuilder"/>
<ant
antfile="${buildTargets}"
target="getBaseBuilder"/>
</target>
<target
name="package">
<!--
post, post packaging, for WTP ... "manually" assemble the
desired zips
-->
<!-- nothing to assemble right now -->
</target>
</project>