blob: da3ffeef70ad4baad4f997ebed14012866b3019d [file] [log] [blame]
<!--
Copyright (c) 2009, 2019 IBM Corporation and others.
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
IBM Corporation - initial API and implementation
-->
<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="@shortname@"/>
</ant>
<ant antfile="${buildTargets}">
<property
name="component"
value="@shortname@_sdk"/>
</ant>
<ant antfile="${buildTargets}">
<property
name="component"
value="@shortname@_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>