Skip to main content
summaryrefslogtreecommitdiffstats
blob: 1d4767e056694cd065561722fd0138960aae6ce7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<project default="main">
	<property name="pde.build.scripts" value="../org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build/scripts" />

	<target name="init">
		<tstamp/>
		<touch file="${user.home}/.cvspass" />
		<property name="timestamp" value="${DSTAMP}${TSTAMP}" />
		<property name="buildDirectory" value="${basedir}/src/eclipse" />

		<property name="buildType" value="I" />
		<property name="buildId" value="${buildType}${timestamp}" />
		
		<!-- Verify buildDirectory ends in eclipse. -->
		<property name="fullBuild" location="${buildDirectory}"/>
		<basename file="${fullBuild}" property="lastSeg"/>
		<condition property="endsInEclipse">
			<equals arg1="${lastSeg}" arg2="eclipse"/>
		</condition>
		<fail message="buildDirectory's last segment is not eclipse." unless="endsInEclipse"/>
	</target>

	<target name="main" depends="init">
		<ant antfile="build.xml" dir="${pde.build.scripts}">
			<property name="builder" value="${basedir}/${component}" />
		</ant>
	</target>
</project>

Back to the top