blob: 8a57fbf6a3966d8c214f34d26f8bb8c1afcdc286 [file] [log] [blame]
ndai91f5c9b2006-03-12 13:56:45 +00001<?xml version="1.0"?>
2<!-- ======================================================================
3 Properties that must be passed to this script:
4 base.install.dir
david_williams403beae2007-12-09 02:10:40 +00005 dependencyTargets
6 local.cache.dir
7 dependency.properties
8
david_williams403beae2007-12-09 02:10:40 +00009 ====================================================================== -->
10<project
11 name="test"
12 default="get">
tle170c7902008-10-02 03:15:49 +000013 <property
14 environment="env" />
tleff165362009-07-27 17:11:33 +000015<!-- required to get proper value of dropinsFolder -->
david_williams0f2c5f52009-07-23 03:59:51 +000016 <property
17 name="keyCfgFile"
18 value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/>
tleff165362009-07-27 17:11:33 +000019 <echo
david_williams0f2c5f52009-07-23 03:59:51 +000020 level="info"
tleff165362009-07-27 17:11:33 +000021 message="keyCfgFile: ${keyCfgFile}"/>
22 <available
23 file="${keyCfgFile}"
24 property="keyCfgFile.exists"/>
25 <fail
26 message="${keyCfgFile} Not Found"
27 unless="keyCfgFile.exists"/>
28 <available
29 file="${dependency.properties}"
30 property="dependency.properties.exists"/>
31 <fail
32 message="${dependency.properties} Not Found"
33 unless="dependency.properties.exists"/>
david_williams0f2c5f52009-07-23 03:59:51 +000034 <property
35 file="${keyCfgFile}"/>
36 <target
37 name="get">
38 <antcall
39 target="getAndInstallDropins">
david_williams403beae2007-12-09 02:10:40 +000040 <param
41 name="groupId"
42 value="emf" />
david_williams0987a072007-02-20 18:27:24 +000043 </antcall>
david_williams0f2c5f52009-07-23 03:59:51 +000044 <antcall
45 target="getAndInstallDropins">
tle170c7902008-10-02 03:15:49 +000046 <param
47 name="groupId"
48 value="emfxsd" />
49 </antcall>
david_williams0f2c5f52009-07-23 03:59:51 +000050 <antcall
51 target="getAndInstallDropins">
david_williams403beae2007-12-09 02:10:40 +000052 <param
53 name="groupId"
54 value="gef" />
55 </antcall>
david_williams0f2c5f52009-07-23 03:59:51 +000056 <antcall
57 target="getAndInstallDropins">
david_williams403beae2007-12-09 02:10:40 +000058 <param
59 name="groupId"
60 value="dtp" />
61 </antcall>
david_williams0f2c5f52009-07-23 03:59:51 +000062 <antcall
63 target="getAndInstallBase">
david_williams403beae2007-12-09 02:10:40 +000064 <param
65 name="groupId"
66 value="eclipse" />
67 </antcall>
david_williams0f2c5f52009-07-23 03:59:51 +000068 <antcall
69 target="getAndInstallDropins">
david_williams403beae2007-12-09 02:10:40 +000070 <param
71 name="groupId"
72 value="eclipseTestFramework" />
73 </antcall>
david_williams0f2c5f52009-07-23 03:59:51 +000074 <antcall
75 target="getAndInstallDropins">
76 <param
77 name="groupId"
78 value="wst" />
79 </antcall>
80 <antcall
81 target="getAndInstallDropins">
david_williamseee17d22008-10-04 22:34:03 +000082 <param
83 name="groupId"
84 value="jst" />
85 </antcall>
tle170c7902008-10-02 03:15:49 +000086 <antcall
87 target="getAndInstallBase">
88 <param
89 name="groupId"
90 value="jpt-persistence.jar"/>
91 </antcall>
tleed349302009-03-31 18:55:33 +000092 <antcall
93 target="getAndInstallBase">
94 <param
95 name="groupId"
96 value="jpt-eclipselink.jar"/>
97 </antcall>
ndai91f5c9b2006-03-12 13:56:45 +000098
david_williams403beae2007-12-09 02:10:40 +000099 </target>
ndai91f5c9b2006-03-12 13:56:45 +0000100
ndai8ab09532006-03-29 08:48:53 +0000101
david_williams0f2c5f52009-07-23 03:59:51 +0000102 <target
103 name="getAndInstallBase">
david_williams403beae2007-12-09 02:10:40 +0000104 <ant
105 antfile="${dependencyTargets}"
106 target="checkDependency">
107 <property
108 name="groupId"
109 value="${groupId}" />
110 </ant>
111 <ant
112 antfile="${dependencyTargets}"
113 target="installDependency">
114 <property
115 name="groupId"
116 value="${groupId}" />
117 <property
118 name="install.destination"
119 value="${base.install.dir}" />
120 </ant>
david_williams403beae2007-12-09 02:10:40 +0000121 </target>
ndai91f5c9b2006-03-12 13:56:45 +0000122
david_williams0f2c5f52009-07-23 03:59:51 +0000123 <target
124 name="getAndInstallDropins">
tle170c7902008-10-02 03:15:49 +0000125 <ant
126 antfile="${dependencyTargets}"
127 target="checkDependency">
128 <property
129 name="groupId"
130 value="${groupId}" />
131 </ant>
132 <ant
133 antfile="${dependencyTargets}"
134 target="installDependency">
135 <property
136 name="groupId"
137 value="${groupId}" />
138 <property
139 name="install.destination"
140 value="${base.install.dir}${dropinsFolder}" />
141 </ant>
142 </target>
143
ndai91f5c9b2006-03-12 13:56:45 +0000144</project>
145