Skip to main content
summaryrefslogtreecommitdiffstats
blob: 606b145eb07928e088cb72a1614cec0a1a1e6d88 (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
28
29
30
<%!
/*  Copyright 2008 IBM Corp.  All rights reserved.  This source code is made available under the terms of the Eclipse Public License, v1.0. */
%>
<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