diff --git a/releng.wtpbuilder/distribution/patches3.build/build.xml b/releng.wtpbuilder/distribution/patches3.build/build.xml index 60f76c3fd3a930362f3aeaaedfa6585c34fd96a0..cfa8f22987ebbe4f824f2d5ddb13bf83c0637e49 100644 --- a/releng.wtpbuilder/distribution/patches3.build/build.xml +++ b/releng.wtpbuilder/distribution/patches3.build/build.xml @@ -1,19 +1,49 @@ <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 file="${wtp.builder.home}/build.properties" /> <property name="buildTargets" value="${wtp.builder.home}/scripts/build/runbuild.xml" /> - <ant antfile="${wtp.builder.home}/scripts/build/label.xml" /> + + <!-- for this distribution, dependencies come from releng --> + <property + name="dependency.properties" + value="${buildDirectory}/maps/${env.RELENG}/maps/dependencies.properties"/> + + <!-- 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"