Skip to main content
Jump to: navigation, search

Platform-releng-sample-all

Revision as of 17:57, 15 March 2006 by Kmoir (Talk | contribs)

This is a a sample master ant script that could be used to specify the components to build if you are interested in emulating the platform build process.

Note: The real platform buildAll.xml file is located here http://dev.eclipse.org/viewcvs/index.cgi/*checkout*/org.eclipse.releng.eclipsebuilder/Attic/buildAll.xml?rev=1.1.2.7&only_with_tag=releng_test&content-type=text/plain


<project default="main.default">

<property name="pdebuild.builders" value="${basedir}/../org.eclipse.releng.eclipsebuilder" />
<property name="sdkHelper" location="${pdebuild.builders}/all/helper.xml"/>


<property name="baseLocation" value="${buildDirectory}/baseLocation" />

<property file="monitor.properties"/>

<property name="mapTag.properties" value="/home/users/releng/buildTools/eclipse30/mapTag.properties"/>

<property name="ref.properties" value="/home/users/releng/buildTools/eclipse.perf/ref32.properties"/>
<property file="${ref.properties}"/>

<target name="init">
<ant antfile="${sdkHelper}" target="printWarnings"/>
<ant antfile="${sdkHelper}" target="setLabels"/>
<mkdir dir="${baseLocation}" />
</target>

<target name="main.default" depends="init">


<ant dir="${eclipse.pdebuild.scripts}" target="preBuild">
<property name="builder" value="${pdebuild.builders}/sdk.examples" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}" target="fetch">
<property name="builder" value="${pdebuild.builders}/sdk.examples" />
</ant>

<ant dir="${eclipse.pdebuild.scripts}">
<property name="builder" value="${pdebuild.builders}/sdk" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}">
<property name="builder" value="${pdebuild.builders}/sdk.tests" /> </ant>
<ant dir="${eclipse.pdebuild.scripts}">
<property name="builder" value="${pdebuild.builders}/test.framework" />
<property name="noclean" value="true" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}">
<property name="builder" value="${pdebuild.builders}/equinox/equinox-feature" />
<property name="noclean" value="true" />
</ant>
<property name="target" value="main" />
<ant dir="${eclipse.pdebuild.scripts}" target="${target}">
<property name="builder" value="${pdebuild.builders}/equinox/launchers" />
<property name="noclean" value="true" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}">
<property name="builder" value="${pdebuild.builders}/rcp.deltapack" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}" target="${target}">
<property name="builder" value="${pdebuild.builders}/rcp" />
<property name="noclean" value="true" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}" target="${target}">
<property name="builder" value="${pdebuild.builders}/rcp.sdk" />
<property name="noclean" value="true" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}">
<property name="builder" value="${pdebuild.builders}/platform" />
<property name="noclean" value="true" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}" target="${target}">
<property name="builder" value="${pdebuild.builders}/platform.sdk" />
<property name="noclean" value="true" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}" target="${target}">
<property name="builder" value="${pdebuild.builders}/jdt" />
<property name="noclean" value="true" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}" target="${target}">
<property name="builder" value="${pdebuild.builders}/jdt.sdk" />
<property name="noclean" value="true" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}" target="${target}">
<property name="builder" value="${pdebuild.builders}/pde" />
<property name="noclean" value="true" />
</ant> <ant dir="${eclipse.pdebuild.scripts}" target="${target}">
<property name="builder" value="${pdebuild.builders}/pde.sdk" />
<property name="noclean" value="true" />
</ant> <ant dir="${eclipse.pdebuild.scripts}" target="${target}">
<property name="builder" value="${pdebuild.builders}/team.extras" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}" target="${target}">
<property name="builder" value="${pdebuild.builders}/sdk.examples" />
</ant>
<ant dir="${eclipse.pdebuild.scripts}" target="${target}">
<property name="builder" value="${pdebuild.builders}/releng.tools" />
</ant>

<ant antfile="${sdkHelper}" target="buildSWTBinaries" />


<ant antfile="${sdkHelper}" target="verifyCompile" />


<ant antfile="${sdkHelper}" target="publish"/>
<parallel>
<ant antfile="${sdkHelper}" target="testInternalAPIReferences"/>
<ant antfile="${sdkHelper}" target="testAll" />
</parallel>

</target>

<target name="main.packaged" depends="init">
<antcall target="buildSourceDrops" />
<ant antfile="build.xml" dir="${eclipse.pdebuild.scripts}" target="main">
<property name="builder" value="${pdebuild.builders}/all" />
</ant>
</target>

<target name="buildSourceDrops">
<ant antfile="build.xml" dir="${eclipse.pdebuild.scripts}" target="preBuild">
<property name="builder" value="${pdebuild.builders}/sdk" />
</ant>
<ant antfile="build.xml" dir="${eclipse.pdebuild.scripts}" target="fetch">
<property name="builder" value="${pdebuild.builders}/sdk" />
</ant>
<ant antfile="build.xml" dir="${eclipse.pdebuild.scripts}" target="generate">
<property name="builder" value="${pdebuild.builders}/sdk" />
</ant>
</target>

</project>

Back to the top