blob: 350dbac0b4cc4b818526c4e62da7c7f8b28a1836 [file] [log] [blame]
david_williams97bee852009-06-08 04:44:09 +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 <!--
45 <antcall target="getAndInstall"> <param name="groupId"
46 value="dtp"/> </antcall>
47 -->
48 <antcall
49 target="getAndInstall">
50 <param
51 name="groupId"
52 value=""/>
53 </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>