Newer
Older
<!--
======================================================================
Properties that must be passed to this script: base.install.dir
dependencyTargets local.cache.dir dependency.properties
======================================================================
-->
<property
environment="env"/>
<!-- required to get proper value of dropinsFolder -->
<property
name="keyCfgFile"
value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/>
<echo
<fail
message="Required property file does not exist: ${keyCfgFile}">
<condition>
<not>
<available
file="${keyCfgFile}"/>
</not>
</condition>
</fail>
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<condition
property="getprereq.eclipse">
<istrue
value="true"/>
</condition>
<condition
property="getprereq.eclipseplatform">
<istrue
value="false"/>
</condition>
<condition
property="getprereq.emf">
<istrue
value="true"/>
</condition>
<condition
property="getprereq.emfxsd">
<istrue
value="true"/>
</condition>
<condition
property="getprereq.emfvalidation">
<istrue
value="false"/>
</condition>
<condition
property="getprereq.gef">
<istrue
value="true"/>
</condition>
<condition
property="getprereq.dtp">
<istrue
value="false"/>
</condition>
<condition
property="getprereq.wst">
<istrue
value="true"/>
</condition>
<condition
property="getprereq.jst">
<istrue
value="false"/>
</condition>
<condition
property="getprereq.wtp">
<istrue
value="false"/>
</condition>
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!--
read in this properties, just so we can make sure our
requested pre-reqs are defined, which we do later with
statements such if="${groupId}.url"
-->
<property
file="${dependency.properties}"/>
<antcall
target="prereq.emf"/>
<antcall
target="prereq.emfxsd"/>
<antcall
target="prereq.emfvalidation"/>
<antcall
target="prereq.gef"/>
<antcall
target="prereq.dtp"/>
<antcall
target="prereq.wst"/>
<antcall
target="prereq.jst"/>
<antcall
target="prereq.wtp"/>
<antcall
target="getAndInstallBase">
<param
name="groupId"
value="eclipse"/>
</antcall>
<antcall
target="getAndInstallDropins">
<param
name="groupId"
value="eclipseTestFramework"/>
</antcall>
</target>
<target
name="prereq.eclipse"
if="getprereq.eclipse">
<antcall
target="getAndInstallBase">
<param
name="groupId"
value="eclipse"/>
</antcall>
</target>
<target
name="prereq.eclipseplatform"
if="getprereq.eclipseplatform">
<antcall
target="getAndInstallBase">
<param
name="groupId"
value="eclipseplatform"/>
</antcall>
</target>
<target
name="prereq.emf"
if="getprereq.emf">
<antcall
target="getAndInstallDropins">
</target>
<target
name="prereq.emfxsd"
if="getprereq.emfxsd">
<antcall
target="getAndInstallDropins">
</target>
<target
name="prereq.emfvalidation"
if="getprereq.emfvalidation">
<antcall
target="getAndInstallDropins">
value="emfvalidation"/>
</target>
<target
name="prereq.gef"
if="getprereq.gef">
target="getAndInstallDropins">
value="gef"/>
</target>
<target
name="prereq.dtp"
if="getprereq.dtp">
<antcall
target="getAndInstallDropins">
value="dtp"/>
</target>
<target
name="prereq.wst"
if="getprereq.wst">
target="getAndInstallDropins">
<param
name="groupId"
value="wst"/>
name="prereq.jst"
if="getprereq.jst">
<antcall
target="getAndInstallDropins">
<param
name="groupId"
value="jst"/>
</antcall>
</target>
<target
name="prereq.wtp"
if="getprereq.wtp">
<antcall
target="getAndInstallDropins">
<param
name="groupId"
value="wtp"/>
</antcall>
</target>
<target
name="getAndInstallBase"
if="${groupId}.url">
<ant
antfile="${dependencyTargets}"
target="checkDependency">
<property
name="groupId"
</ant>
<ant
antfile="${dependencyTargets}"
target="installDependency">
<property
name="groupId"
name="getAndInstallDropins"
if="${groupId}.url">
<ant
antfile="${dependencyTargets}"
target="checkDependency">
<property
name="groupId"
</ant>
<ant
antfile="${dependencyTargets}"
target="installDependency">
<property
name="groupId"
value="${base.install.dir}${dropinsFolder}"/>