blob: bbf1521bac3251c5ee1103be406f59e902bb2a5d [file] [log] [blame]
ndaib8cedc82005-09-13 18:00:32 +00001<?xml version="1.0"?>
david_williams19bd2d52009-11-14 09:02:42 +00002 <!--
3 ======================================================================
4 Properties that must be passed to this script: base.install.dir
5 dependencyTargets local.cache.dir dependency.properties
6 ======================================================================
7 -->
david_williams403beae2007-12-09 02:10:40 +00008<project
9 name="test"
10 default="get">
david_williams19bd2d52009-11-14 09:02:42 +000011 <target
12 name="get">
13 <!--
14 read in this properties, just so we can make sure our
15 requested pre-reqs are defined via {groupId}.url
16 -->
17 <property
david_williams239a09c2009-10-02 06:38:12 +000018 file="${dependency.properties}"/>
david_williams19bd2d52009-11-14 09:02:42 +000019 <mkdir
20 dir="${buildDirectory}/maps/${env.RELENG}/maps"/>
21 <antcall
22 target="getAndInstall">
david_williams403beae2007-12-09 02:10:40 +000023 <param
24 name="groupId"
david_williams19bd2d52009-11-14 09:02:42 +000025 value="orbitthirdpartymap"/>
david_williams403beae2007-12-09 02:10:40 +000026 <param
27 name="base.install.dir"
david_williams19bd2d52009-11-14 09:02:42 +000028 value="${buildDirectory}/maps/${env.RELENG}/maps/"/>
david_williams403beae2007-12-09 02:10:40 +000029 </antcall>
david_williams239a09c2009-10-02 06:38:12 +000030 <property
31 name="pde.builder.path"
david_williams19bd2d52009-11-14 09:02:42 +000032 value="${env.BASE_BUILDERS}/${eclipse.builder.version}/${eclipse.builder}"/>
david_williams239a09c2009-10-02 06:38:12 +000033 <echo
34 level="debug"
david_williams19bd2d52009-11-14 09:02:42 +000035 message="pde.builder.path: ${pde.builder.path}"/>
david_williams239a09c2009-10-02 06:38:12 +000036 <echo
37 level="debug"
david_williams19bd2d52009-11-14 09:02:42 +000038 message="eclipse.builder.version: ${eclipse.builder.version}"/>
david_williams239a09c2009-10-02 06:38:12 +000039 <echo
40 level="debug"
david_williams19bd2d52009-11-14 09:02:42 +000041 message="eclipse.builder: ${eclipse.builder}"/>
42 <antcall
43 target="getAndInstall">
david_williams403beae2007-12-09 02:10:40 +000044 <param
45 name="groupId"
david_williams19bd2d52009-11-14 09:02:42 +000046 value="emf"/>
david_williams403beae2007-12-09 02:10:40 +000047 </antcall>
david_williams19bd2d52009-11-14 09:02:42 +000048 <antcall
49 target="getAndInstall">
david_williams403beae2007-12-09 02:10:40 +000050 <param
51 name="groupId"
david_williams19bd2d52009-11-14 09:02:42 +000052 value="emfxsd"/>
david_williams403beae2007-12-09 02:10:40 +000053 </antcall>
david_williams19bd2d52009-11-14 09:02:42 +000054 <antcall
55 target="getAndInstall">
david_williams403beae2007-12-09 02:10:40 +000056 <param
57 name="groupId"
david_williams19bd2d52009-11-14 09:02:42 +000058 value="emfvalidation"/>
david_williams403beae2007-12-09 02:10:40 +000059 </antcall>
david_williams19bd2d52009-11-14 09:02:42 +000060 <antcall
61 target="getAndInstall">
david_williams403beae2007-12-09 02:10:40 +000062 <param
63 name="groupId"
david_williams19bd2d52009-11-14 09:02:42 +000064 value="gef"/>
david_williams403beae2007-12-09 02:10:40 +000065 </antcall>
david_williams19bd2d52009-11-14 09:02:42 +000066 <antcall
67 target="getAndInstall">
david_williams403beae2007-12-09 02:10:40 +000068 <param
69 name="groupId"
david_williams19bd2d52009-11-14 09:02:42 +000070 value="dtp"/>
david_williams403beae2007-12-09 02:10:40 +000071 </antcall>
david_williams19bd2d52009-11-14 09:02:42 +000072 <antcall
73 target="getAndInstall">
74 <param
75 name="groupId"
76 value="eclipse"/>
77 </antcall>
78 <antcall
79 target="getAndInstall">
80 <param
81 name="groupId"
82 value="eclipseTestFramework"/>
83 </antcall>
david_williams403beae2007-12-09 02:10:40 +000084 </target>
david_williams19bd2d52009-11-14 09:02:42 +000085 <target
86 name="getAndInstall"
87 if="${groupId}.url">
david_williams403beae2007-12-09 02:10:40 +000088 <ant
89 antfile="${dependencyTargets}"
90 target="checkDependency">
91 <property
92 name="groupId"
david_williams19bd2d52009-11-14 09:02:42 +000093 value="${groupId}"/>
david_williams403beae2007-12-09 02:10:40 +000094 </ant>
95 <ant
96 antfile="${dependencyTargets}"
97 target="installDependency">
98 <property
99 name="groupId"
david_williams19bd2d52009-11-14 09:02:42 +0000100 value="${groupId}"/>
david_williams403beae2007-12-09 02:10:40 +0000101 <property
102 name="install.destination"
david_williams19bd2d52009-11-14 09:02:42 +0000103 value="${base.install.dir}"/>
david_williams403beae2007-12-09 02:10:40 +0000104 </ant>
105 </target>
david_williams19bd2d52009-11-14 09:02:42 +0000106</project>