blob: 364e5bc2d2ae022b2636ec4caf4755b2fb186710 [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
16 -->
17 <property
18 file="${dependency.properties}"/>
19 <antcall
20 target="getAndInstall">
21 <param
22 name="groupId"
23 value="orbitthirdpartymap"/>
24 <param
25 name="base.install.dir"
26 value="${buildDirectory}/maps/${env.RELENG}/maps/"/>
27 </antcall>
28 <antcall
29 target="getAndInstall">
30 <param
31 name="groupId"
32 value="eclipse"/>
33 </antcall>
34 <antcall
35 target="getAndInstall">
36 <param
37 name="groupId"
david_williams07919a42009-01-13 04:38:21 +000038 value="dtp"/>
39 </antcall>
40 <antcall
41 target="getAndInstall">
42 <param
43 name="groupId"
david_williams58e658e2009-01-13 03:29:24 +000044 value="wtp"/>
david_williams88cbf012009-01-12 21:53:05 +000045 </antcall>
david_williams07919a42009-01-13 04:38:21 +000046
david_williams88cbf012009-01-12 21:53:05 +000047 </target>
48 <target
49 name="getAndInstall"
50 if="${groupId}.url">
51 <ant
52 antfile="${dependencyTargets}"
53 target="checkDependency">
54 <property
55 name="groupId"
56 value="${groupId}"/>
57 </ant>
58 <ant
59 antfile="${dependencyTargets}"
60 target="installDependency">
61 <property
62 name="groupId"
63 value="${groupId}"/>
64 <property
65 name="install.destination"
66 value="${base.install.dir}"/>
67 </ant>
68 </target>
69</project>