blob: 706505b0789e8214bc99644ef3a6db214f345cb7 [file] [log] [blame]
<project default="build" basedir=".">
<target name="build" depends="init">
<!--this property required as of Eclipse 3.0 stream builds > 20031126 -->
<property name="buildingOSGi" value="true" />
<!--run the build for the specified component-->
<echo message="basedir: ${basedir}" />
<echo message="component: ${component}" />
<echo message="buildDirectory: ${buildDirectory}" />
<ant antfile="build.xml" dir="${pde.build.scripts}">
<property name="wtp.builder.home" value="${wtp.builder.home}" />
<property name="buildBranch" value="${buildBranch}" />
<property name="cvsUser" value="${cvsUser}" />
<property name="cvsProtocol" value="${cvsProtocol}" />
<property name="dependencyTargets" value="${basedir}/scripts/dependency/build.xml" />
<property name="dependencyTargets" value="${basedir}/scripts/dependency/build.xml" />
<property name="local.cache.dir" value="${build.home}/${build.local.repository}" />
<property name="baseLocation" value="${build.home}/${build.current}-${build.distribution}-${buildType}/${base.location}" />
<property name="buildRoot" value="${build.home}/${build.current}-${build.distribution}-${buildType}" />
<property name="testRoot" value="${build.home}/${build.tests}-${build.distribution}-${buildType}" />
<property name="performanceRoot" value="${build.home}/${build.perf.tests}-${buildType}" />
<property name="bootclasspath" value="${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jsse.jar" />
</ant>
</target>
<!-- =================================
target: site
================================= -->
<target name="site" depends="init">
<ant antfile="${wtp.builder.home}/distribution/${build.distribution}.site/build.xml">
<property name="wtp.builder.home" value="${wtp.builder.home}" />
<property name="buildBranch" value="${buildBranch}" />
</ant>
</target>
<!-- =================================
target: test
================================= -->
<target name="test" depends="init">
<ant antfile="${wtp.builder.home}/distribution/${build.distribution}.tests/build.xml">
<property name="wtp.builder.home" value="${wtp.builder.home}" />
<property name="buildBranch" value="${buildBranch}" />
<property name="testRoot" value="${build.home}/${build.tests}-${build.distribution}-${buildType}" />
<property name="dependencyTargets" value="${wtp.builder.home}/scripts/dependency/build.xml" />
<property name="local.cache.dir" value="${build.home}/${build.local.repository}" />
</ant>
</target>
<!-- =================================
target: upload
================================= -->
<target name="upload" depends="init">
<ant antfile="${wtp.builder.home}/distribution/${build.distribution}.upload/build.xml">
<property name="wtp.builder.home" value="${wtp.builder.home}" />
</ant>
</target>
<target name="init" >
<dirname file="${ant.file}" property="wtp.builder.home" />
<condition property="buildBranch" value="R1.0">
<equals arg1="${mapVersionTag}" arg2="HEAD" />
</condition>
<condition property="buildBranch" value="R0.7 Maintenance">
<equals arg1="${mapVersionTag}" arg2="R0_7_maintenance" />
</condition>
<touch file="${user.home}/.cvspass" />
<property file="${wtp.builder.home}/build.properties" />
<touch file="${user.home}/.cvspass" />
<ant antfile="${wtp.builder.home}/scripts/build/label.xml" />
<property file="${buildDirectory}/label.properties" />
<!--fetch the HEAD stream of all projects if build type specified as N-->
<condition property="fetchTag" value="HEAD">
<equals arg1="${buildType}" arg2="N" />
</condition>
<condition property="tagMaps">
<equals arg1="${build.trial}" arg2="false" />
</condition>
</target>
</project>