blob: 2509606ee5262dc356152b1f82459d3ae09cf732 [file] [log] [blame]
david_williams6b5d0882008-07-05 08:03:22 +00001<?xml version="1.0"?>
david_williams8e4dc9c2008-07-06 08:08:58 +00002 <!--
3 ======================================================================
4 Properties that must be passed to this script: base.install.dir
5 dependencyTargets local.cache.dir dependency.properties
6 ======================================================================
7 -->
david_williams6b5d0882008-07-05 08:03:22 +00008<project
9 name="test"
10 default="get">
david_williams8e4dc9c2008-07-06 08:08:58 +000011 <property
12 environment="env"/>
david_williamscf6c1f62009-11-20 15:01:10 +000013 <!-- required to get proper value of dropinsFolder -->
david_williams8e4dc9c2008-07-06 08:08:58 +000014 <property
15 name="keyCfgFile"
16 value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/>
17 <echo
david_williams1543a9b2009-11-24 01:43:55 +000018 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +000019 message="keyCfgFile: ${keyCfgFile}"/>
david_williams722ec9d2009-11-20 05:24:42 +000020 <fail
21 message="Required property file does not exist: ${keyCfgFile}">
22 <condition>
23 <not>
24 <available
25 file="${keyCfgFile}"/>
26 </not>
27 </condition>
28 </fail>
david_williams8e4dc9c2008-07-06 08:08:58 +000029 <property
30 file="${keyCfgFile}"/>
31 <target
32 name="get">
david_williams722ec9d2009-11-20 05:24:42 +000033 <!--
34 read in this properties, just so we can make sure our
35 requested pre-reqs are defined, which we do later with
36 statements such if="${groupId}.url"
37 -->
38 <property
39 file="${dependency.properties}"/>
david_williams8e4dc9c2008-07-06 08:08:58 +000040 <antcall
41 target="getAndInstallDropins">
david_williams6b5d0882008-07-05 08:03:22 +000042 <param
43 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +000044 value="emf"/>
david_williams6b5d0882008-07-05 08:03:22 +000045 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +000046 <antcall
47 target="getAndInstallDropins">
david_williams6b5d0882008-07-05 08:03:22 +000048 <param
49 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +000050 value="emfxsd"/>
david_williams6b5d0882008-07-05 08:03:22 +000051 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +000052 <antcall
53 target="getAndInstallDropins">
david_williams6b5d0882008-07-05 08:03:22 +000054 <param
55 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +000056 value="gef"/>
david_williams1ca415e2008-07-06 06:23:10 +000057 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +000058 <antcall
59 target="getAndInstallDropins">
david_williams1ca415e2008-07-06 06:23:10 +000060 <param
61 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +000062 value="dtp"/>
david_williams6b5d0882008-07-05 08:03:22 +000063 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +000064 <antcall
65 target="getAndInstallBase">
david_williams6b5d0882008-07-05 08:03:22 +000066 <param
67 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +000068 value="eclipse"/>
david_williams6b5d0882008-07-05 08:03:22 +000069 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +000070 <antcall
71 target="getAndInstallDropins">
david_williams6b5d0882008-07-05 08:03:22 +000072 <param
73 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +000074 value="eclipseTestFramework"/>
david_williams6b5d0882008-07-05 08:03:22 +000075 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +000076 <antcall
77 target="getAndInstallBase">
david_williams6b5d0882008-07-05 08:03:22 +000078 <param
79 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +000080 value="tomcat.5"/>
david_williams6b5d0882008-07-05 08:03:22 +000081 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +000082 <antcall
83 target="getAndInstallBase">
david_williams6b5d0882008-07-05 08:03:22 +000084 <param
85 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +000086 value="jonas.4"/>
david_williams6b5d0882008-07-05 08:03:22 +000087 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +000088 <antcall
89 target="getAndInstallBase">
david_williams6b5d0882008-07-05 08:03:22 +000090 <param
91 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +000092 value="oagis.release"/>
david_williams6b5d0882008-07-05 08:03:22 +000093 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +000094 <antcall
95 target="getAndInstallBase">
david_williams6b5d0882008-07-05 08:03:22 +000096 <param
97 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +000098 value="oagis.wsdl"/>
david_williams6b5d0882008-07-05 08:03:22 +000099 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000100 <antcall
101 target="getAndInstallBase">
david_williams6b5d0882008-07-05 08:03:22 +0000102 <param
103 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +0000104 value="jsf.1_1"/>
david_williams6b5d0882008-07-05 08:03:22 +0000105 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000106 <antcall
107 target="getAndInstallDropins">
108 <param
109 name="groupId"
110 value="wtp"/>
111 </antcall>
112 <antcall
113 target="getAndInstallDropins">
114 <param
115 name="groupId"
116 value="wtp-test"/>
117 </antcall>
david_williams6b5d0882008-07-05 08:03:22 +0000118 </target>
david_williams8e4dc9c2008-07-06 08:08:58 +0000119 <target
david_williams722ec9d2009-11-20 05:24:42 +0000120 name="getAndInstallBase"
121 if="${groupId}.url">
david_williams6b5d0882008-07-05 08:03:22 +0000122 <ant
123 antfile="${dependencyTargets}"
124 target="checkDependency">
125 <property
126 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +0000127 value="${groupId}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000128 </ant>
129 <ant
130 antfile="${dependencyTargets}"
131 target="installDependency">
132 <property
133 name="groupId"
david_williams8e4dc9c2008-07-06 08:08:58 +0000134 value="${groupId}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000135 <property
136 name="install.destination"
david_williams8e4dc9c2008-07-06 08:08:58 +0000137 value="${base.install.dir}"/>
138 </ant>
david_williamscf6c1f62009-11-20 15:01:10 +0000139 </target>
david_williams8e4dc9c2008-07-06 08:08:58 +0000140 <target
david_williams722ec9d2009-11-20 05:24:42 +0000141 name="getAndInstallDropins"
142 if="${groupId}.url">
david_williams8e4dc9c2008-07-06 08:08:58 +0000143 <ant
144 antfile="${dependencyTargets}"
145 target="checkDependency">
146 <property
147 name="groupId"
148 value="${groupId}"/>
149 </ant>
150 <ant
151 antfile="${dependencyTargets}"
152 target="installDependency">
153 <property
154 name="groupId"
155 value="${groupId}"/>
156 <property
157 name="install.destination"
158 value="${base.install.dir}${dropinsFolder}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000159 </ant>
160 </target>
david_williams8e4dc9c2008-07-06 08:08:58 +0000161</project>