blob: d97b1b06d1e05e272d52fc90774d77704163ad81 [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>
david_williams0902bf82009-01-14 05:14:11 +000044 <!--
45 <antcall target="getAndInstall"> <param name="groupId"
46 value="dtp"/> </antcall>
47 -->
david_williams88cbf012009-01-12 21:53:05 +000048 <antcall
49 target="getAndInstall">
50 <param
51 name="groupId"
david_williams69aa4242009-01-14 06:56:57 +000052 value="wtp"/>
david_williams88cbf012009-01-12 21:53:05 +000053 </antcall>
54 </target>
55 <target
56 name="getAndInstall"
57 if="${groupId}.url">
58 <ant
59 antfile="${dependencyTargets}"
60 target="checkDependency">
61 <property
62 name="groupId"
63 value="${groupId}"/>
64 </ant>
65 <ant
66 antfile="${dependencyTargets}"
67 target="installDependency">
68 <property
69 name="groupId"
70 value="${groupId}"/>
71 <property
72 name="install.destination"
73 value="${base.install.dir}"/>
74 </ant>
75 </target>
76</project>