blob: a00c3d864606cbf73146d33d71593beb8d0db80e (
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
56
57
58
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Buckminster Headless - build
buckminster.home must be specified on the command line, e.g.,
ant -Dbuckminster.home=/home/bettini/buckminster -f build.ant
Properties:
WORKSPACE Eclipse workspace location, or hudson job workspace
build.root Where to build? WARNING: This folder will be cleaned up, so do not point to user.home or something important
Default: ${WORKSPACE}/buildroot
buckminster.home Buckminster headless to use. See http://www.eclipse.org/buckminster/downloads.html
projects.location Where to find projects to build?
Default: ${WORKSPACE}
eclipse.download The base URL for all the repositories in the RMAP
Default: http://download.eclipse.org
-->
<project name="Buckminster Headless" default="buckminster">
<!-- set these properties before importing common.ant to have precedence -->
<property name="WORKSPACE" location="${ant.file}/../../../" />
<property name="build.root" location="${WORKSPACE}/buildroot-RAP" />
<import file="${ant.file}/../../org.eclipse.emf.parsley.buckminster.common/common.ant" as="common" />
<target name="buckminster" depends="common.cleanup,install.buckminster.headless" description="description">
<fail unless="buckminster.home" message="buckminster.home must be specified." />
<property name="resolve.commands.file" location="${projects.location}/releng/org.eclipse.emf.parsley.rap.buckminster/headless-resolve-commands.txt" />
<property name="perform.commands.file" location="${projects.location}/releng/org.eclipse.emf.parsley.rap.buckminster/headless-perform-commands.txt" />
<property name="build.properties" location="${projects.location}/releng/org.eclipse.emf.parsley.rap.buckminster/build.properties" />
<echo message="IMPORTANT: Populating an empty target platform may took over 10 minutes." />
<echo message="eclipse.download: ${eclipse.download}" />
<echo message="build.properties: ${build.properties}" />
<run_buckminster commandsfile="${resolve.commands.file}" propertiesfile="${build.properties}" />
<run_buckminster commandsfile="${perform.commands.file}" propertiesfile="${build.properties}" />
<echo message=" " />
<echo message="Updatesite output in: ${build.root}/buckminster.output/org.eclipse.emf.parsley.rap.site_*-eclipse.feature/site.p2/" />
</target>
<target name="b3_aggregation" depends="install.b3.headless" description="description">
<property name="build.model" location="${projects.location}/releng/org.eclipse.emf.parsley.rap.buckminster/aggregator/kepler-cdo-rap-mirror.b3aggr" />
<echo message="IMPORTANT: Mirror sggregation may took over 10 minutes." />
<echo message="build.model: ${build.model}" />
<run_b3_aggregator buildmodel="${build.model}" />
<echo message=" " />
<echo message="Aggregated mirror in: ${user.home}/mirror/kepler-cdo-rap/final" />
</target>
</project>
|