Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: c1cf906db6acf201f592c6853e6b5c99506225b2 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!--
     Copyright (c) 2009, 2010 Red Hat and others.
     All rights reserved. This program and the accompanying materials
     are made available under the terms of the Eclipse Public License v1.0
     which accompanies this distribution, and is available at
     http://www.eclipse.org/legal/epl-v10.html
    
     Contributors:
         Anna Dushistova (Mentor Graphics) - cloned from gef.releng
 -->

<!-- A sample build file for use with Hudson. Note that forceContextQualifier 
	 is being set, which overrides tag/branch values found in *.map files 
-->
<project default="run">
	<target name="run">
		<!-- 0. Set a valid path to JAVA_HOME, if Eclipse's ${java.home}/../bin/javac cannot be found
		-->
		<property name="JAVA_HOME" value="${java.home}/.." />

		<tstamp>
			<format property="buildTimestamp" pattern="yyyyMMddHHmm" />
		</tstamp>
		<property name="forceContextQualifier" value="v${buildTimestamp}" />

		<!-- 1. Import these projects using File > Import > Team Project Set > ./psfs/athena.psf.
			 2. Close the org.eclipse.releng.basebuilder project - it does not need to compile to be of use.
			 3. You can also define absolute paths for these directories, if relative paths do not work.
		-->
		<condition property="relengCommonBuilderDir"
		           value="${basedir}/../../../org.eclipse.dash.common.releng"
		           else="${basedir}/../org.eclipse.dash.common.releng"
		>
			<available file="${basedir}/../../../org.eclipse.dash.common.releng" type="dir" />
		</condition>
		<condition property="relengBaseBuilderDir"
		           value="${basedir}/../../../org.eclipse.releng.basebuilder"
		           else="${basedir}/../org.eclipse.releng.basebuilder"
		>
			<available file="${basedir}/../../../org.eclipse.releng.basebuilder" type="dir" />
		</condition>

		<!-- 4. To build from CVS sources using information in the ./maps/*.map files, comment these next two properties
			 5. Or, to build from sources in the workspace, use these properties. You can also use absolute paths if needed.
		-->
		
		<!--
		<property name="localSourceCheckoutDir" value="/tmp/build/tm-tree" />
		<property name="relengBuilderDir" value="${basedir}" />
		-->
		
		<property file="build.properties" />
		<ant antfile="${relengCommonBuilderDir}/build.xml" />
	</target>
</project>

Back to the top