blob: 82db66fcdcf95fe341a7a7126acf3f654c4b884c [file] [log] [blame]
<project default="build" basedir=".">
<property file="build.properties" />
<property name="pde.build.scripts" value="${build.home}/${eclipse.builder}/plugins/org.eclipse.pde.build_3.1.0/scripts" />
<property name="buildDirectory" value="${build.home}/${build.current}-${build.distribution}-${buildType}/${build.directory}" />
<property name="builder" value="${basedir}/components/${component}" />
<target name="build">
<touch file="${user.home}/.cvspass" />
<!--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="./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">
<ant antfile="./distribution/${build.distribution}.site/build.xml" />
</target>
<!-- =================================
target: test
================================= -->
<target name="test">
<ant antfile="./distribution/${build.distribution}.tests/build.xml" >
<property name="testRoot" value="${build.home}/${build.tests}-${build.distribution}-${buildType}" />
<property name="dependencyTargets" value="${basedir}/scripts/dependency/build.xml" />
</ant>
</target>
<!-- =================================
target: upload
================================= -->
<target name="upload">
<ant antfile="./distribution/${build.distribution}.upload/build.xml" >
</ant>
</target>
</project>