blob: 29035e4ab3966be6fb993dc94e57505a473e17e9 [file] [log] [blame]
<project default="N-Build">
<property file="trigger.properties" />
<target name="N-Build">
<property name="buildType" value="N" />
<antcall target="fullBuild"></antcall>
</target>
<target name="N-Repeat">
<property name="buildType" value="N" />
<antcall target="repeatBuild"></antcall>
</target>
<target name="N-Test">
<property name="buildType" value="N" />
<antcall target="testBuild"></antcall>
</target>
<target name="N-Publish">
<property name="buildType" value="N" />
<antcall target="publishBuild"></antcall>
</target>
<target name="N-Push">
<property name="buildType" value="N" />
<antcall target="pushBuild"></antcall>
</target>
<target name="I-Build">
<property name="buildType" value="I" />
<antcall target="fullBuild"></antcall>
</target>
<target name="I-Repeat">
<property name="buildType" value="I" />
<antcall target="repeatBuild"></antcall>
</target>
<target name="I-Test">
<property name="buildType" value="I" />
<antcall target="testBuild"></antcall>
</target>
<target name="I-Publish">
<property name="buildType" value="I" />
<antcall target="publishBuild"></antcall>
</target>
<target name="I-Push">
<property name="buildType" value="I" />
<antcall target="pushBuild"></antcall>
</target>
<target name="S-Build">
<property name="buildType" value="S" />
<antcall target="fullBuild"></antcall>
</target>
<target name="S-Repeat">
<property name="buildType" value="S" />
<antcall target="repeatBuild"></antcall>
</target>
<target name="S-Test">
<property name="buildType" value="S" />
<antcall target="testBuild"></antcall>
</target>
<target name="S-Publish">
<property name="buildType" value="S" />
<antcall target="publishBuild"></antcall>
</target>
<target name="S-Push">
<property name="buildType" value="S" />
<antcall target="pushBuild"></antcall>
</target>
<target name="fullBuild" depends="clean">
<antcall target="clean" />
<ant antfile="checkout.xml" target="all" dir="."
inheritall="false">
<property name="codir" value="checkout/wtp-${buildType}" />
<property name="buildType" value="${buildType}" />
</ant>
<ant antfile="cruise.xml" target="all"
dir="./checkout/wtp-${buildType}/org.eclipse.wtp.releng" inheritall="false">
<!-- PUBLISH TO eclipse.org -->
<property name="baseos" value="${baseos}" />
<property name="basews" value="${basews}" />
<property name="basearch" value="${basearch}" />
<property name="build.home" value="${build.home}" />
<property name="buildType" value="${buildType}" />
<property name="ftpUser" value="${ftpUser}" />
<property name="ftpPassword" value="${ftpPassword}" />
<property name="ftpServer" value="${ftpServer}" />
<property name="ftpRemoteDirectory"
value="${ftpRemoteDirectory}" />
</ant>
</target>
<target name="repeatBuild">
<ant antfile="cruise.xml" target="all"
dir="./checkout/wtp-${buildType}/org.eclipse.wtp.releng" inheritall="false">
<!-- PUBLISH TO eclipse.org -->
<property name="baseos" value="${baseos}" />
<property name="basews" value="${basews}" />
<property name="basearch" value="${basearch}" />
<property name="build.home" value="${build.home}" />
<property name="buildType" value="${buildType}" />
<property name="ftpUser" value="${ftpUser}" />
<property name="ftpPassword" value="${ftpPassword}" />
<property name="ftpServer" value="${ftpServer}" />
<property name="ftpRemoteDirectory"
value="${ftpRemoteDirectory}" />
</ant>
</target>
<target name="testBuild">
<ant antfile="cruise.xml" target="test"
dir="./checkout/wtp-${buildType}/org.eclipse.wtp.releng" inheritall="false">
<!-- PUBLISH TO eclipse.org -->
<property name="baseos" value="${baseos}" />
<property name="basews" value="${basews}" />
<property name="basearch" value="${basearch}" />
<property name="build.home" value="${build.home}" />
<property name="buildType" value="${buildType}" />
<property name="ftpUser" value="${ftpUser}" />
<property name="ftpPassword" value="${ftpPassword}" />
<property name="ftpServer" value="${ftpServer}" />
<property name="ftpRemoteDirectory"
value="${ftpRemoteDirectory}" />
</ant>
</target>
<target name="uploadBuild">
<ant antfile="cruise.xml" target="justPush"
dir="./checkout/wtp-${buildType}/org.eclipse.wtp.releng" inheritall="false">
<!-- PUBLISH TO eclipse.org -->
<property name="baseos" value="${baseos}" />
<property name="basews" value="${basews}" />
<property name="basearch" value="${basearch}" />
<property name="build.home" value="${build.home}" />
<property name="buildType" value="${buildType}" />
<property name="ftpUser" value="${ftpUser}" />
<property name="ftpPassword" value="${ftpPassword}" />
<property name="ftpServer" value="${ftpServer}" />
<property name="ftpRemoteDirectory"
value="${ftpRemoteDirectory}" />
</ant>
</target>
<target name="publishBuild">
<ant antfile="cruise.xml" target="justPublish"
dir="./checkout/wtp-${buildType}/org.eclipse.wtp.releng" inheritall="false">
<!-- PUBLISH TO eclipse.org -->
<property name="baseos" value="${baseos}" />
<property name="basews" value="${basews}" />
<property name="basearch" value="${basearch}" />
<property name="build.home" value="${build.home}" />
<property name="buildType" value="${buildType}" />
<property name="ftpUser" value="${ftpUser}" />
<property name="ftpPassword" value="${ftpPassword}" />
<property name="ftpServer" value="${ftpServer}" />
<property name="ftpRemoteDirectory"
value="${ftpRemoteDirectory}" />
</ant>
</target>
<target name="Driver">
<ant antfile="checkout.xml" target="all" dir="."
inheritall="false">
<property name="codir" value="checkout/wtp-driver" />
<property name="buildType" value="I" />
</ant>
<ant antfile="drivers.xml" target="all"
dir="./checkout/wtp-driver/org.eclipse.wtp.releng/cruiseScripts" inheritall="false">
</ant>
</target>
<target name="clean" unless="noClean">
<delete dir="${build.home}/build-current-${buildType}"
failonerror="false" />
<delete dir="${build.home}/test-current-${buildType}"
failonerror="false" />
<delete
dir="${build.home}/cruise/checkout/wtp-${buildType}/build/test-results"
failonerror="false" />
<delete dir="${build.home}/cruise/checkout/wtp-${buildType}/org.eclipse.wtp.releng/workspace" failonerror="fa
lse" />
</target>
</project>