| <project default="build" basedir="."> |
| |
| <target name="build"> |
| <touch file="${user.home}/.cvspass" /> |
| <dirname file="${ant.file}" property="wtp.builder.home" /> |
| <property file="${wtp.builder.home}/build.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> |
| |
| |
| <property name="fetchTag" value="" /> |
| |
| <ant antfile="${wtp.builder.home}/scripts/build/label.xml" /> |
| <property file="${buildDirectory}/label.properties" /> |
| |
| |
| <!--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="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"> |
| <dirname file="${ant.file}" property="wtp.builder.home" /> |
| <property file="${wtp.builder.home}/build.properties" /> |
| <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.site/build.xml" /> |
| </target> |
| <!-- ================================= |
| target: test |
| ================================= --> |
| <target name="test"> |
| <dirname file="${ant.file}" property="wtp.builder.home" /> |
| <property file="${wtp.builder.home}/build.properties" /> |
| <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.tests/build.xml" > |
| <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"> |
| <dirname file="${ant.file}" property="wtp.builder.home" /> |
| <property file="${wtp.builder.home}/build.properties" /> |
| <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.upload/build.xml" > |
| </ant> |
| </target> |
| |
| |
| </project> |