blob: 8710ae7e7610b451f5c9238a92ae9cb14c4c9d99 [file] [log] [blame]
david_williams88cbf012009-01-12 21:53:05 +00001<?xml version="1.0"?>
2 <!--
3 ======================================================================
4 Properties that must be passed to this script: base.install.dir
5 dependencyTargets local.cache.dir dependency.properties
6 ======================================================================
7 -->
8<project
9 name="test"
10 default="get">
11 <target
12 name="get">
13 <!--
14 read in this properties, just so we can make sure our
15 requested pre-reqs are defined, which we do later with
16 statements such if="${groupId}.url"
17 -->
18 <property
19 file="${dependency.properties}"/>
20 <antcall
21 target="getAndInstall">
22 <param
23 name="groupId"
24 value="emf"/>
25 </antcall>
26 <antcall
27 target="getAndInstall">
28 <param
29 name="groupId"
30 value="emfxsd"/>
31 </antcall>
32 <antcall
33 target="getAndInstall">
34 <param
35 name="groupId"
36 value="gef"/>
37 </antcall>
38 <antcall
39 target="getAndInstall">
40 <param
41 name="groupId"
42 value="eclipse"/>
43 </antcall>
44 <antcall
45 target="getAndInstall">
46 <param
47 name="groupId"
david_williams07919a42009-01-13 04:38:21 +000048 value="dtp"/>
49 </antcall>
50 <antcall
51 target="getAndInstall">
52 <param
53 name="groupId"
david_williams58e658e2009-01-13 03:29:24 +000054 value="wtp"/>
david_williams88cbf012009-01-12 21:53:05 +000055 </antcall>
56 </target>
57 <target
58 name="getAndInstall"
59 if="${groupId}.url">
60 <ant
61 antfile="${dependencyTargets}"
62 target="checkDependency">
63 <property
64 name="groupId"
65 value="${groupId}"/>
66 </ant>
67 <ant
68 antfile="${dependencyTargets}"
69 target="installDependency">
70 <property
71 name="groupId"
72 value="${groupId}"/>
73 <property
74 name="install.destination"
75 value="${base.install.dir}"/>
76 </ant>
77 </target>
78</project>