blob: d2d696c1c82a0554457e8d71bd9003729ee3e9cf [file] [log] [blame]
csalter259d85c2004-12-21 00:11:39 +00001<project default="run" basedir=".">
2
3 <property file="${basedir}/buildAll.properties"/>
4 <property file="${basedir}/maps/build.cfg"/>
kchongfbe31d62005-03-30 19:45:36 +00005 <property name="localDownloads" value="${build.home}/${build.drivers}"/>
ndai56c6f142005-03-26 21:48:46 +00006
cbrealeyad0dc772005-02-07 17:10:22 +00007 <target name="extractAllBinary" unless="sdk">
8 <antcall target="extractAll">
9 <param name="version" value="_1.0.0"/>
10 </antcall>
11 </target>
12
13 <target name="extractAllSDK" if="sdk">
14 <antcall target="extractAll">
15 <param name="version" value=""/>
16 </antcall>
csalter259d85c2004-12-21 00:11:39 +000017 </target>
18
19 <target name="extractAll">
csaltere379e942005-02-24 22:26:04 +000020 <!--
csalter259d85c2004-12-21 00:11:39 +000021 <unzip src="${localDownloads}/Xerces-J-bin.2.6.2.zip" dest="${localDownloads}">
22 <patternset>
23 <include name="xerces-2_6_2/xercesImpl.jar"/>
24 <include name="xerces-2_6_2/xmlParserAPIs.jar"/>
25 </patternset>
26 </unzip>
csaltere379e942005-02-24 22:26:04 +000027 -->
kchongfbe31d62005-03-30 19:45:36 +000028 <unzip src="${localDownloads}/axis-1_1.zip" dest="${localDownloads}">
cbrealeyad0dc772005-02-07 17:10:22 +000029 <patternset>
30 <include name="axis-1_1/lib/*.jar"/>
31 </patternset>
32 </unzip>
kchongfbe31d62005-03-30 19:45:36 +000033 <unzip src="${localDownloads}/jakarta-tomcat-4.1.31.zip" dest="${localDownloads}">
cbrealeyad0dc772005-02-07 17:10:22 +000034 <patternset>
35 <include name="jakarta-tomcat-4.1.31/common/lib/servlet.jar"/>
36 </patternset>
37 </unzip>
kchongfbe31d62005-03-30 19:45:36 +000038 <unzip src="${localDownloads}/jaf-1_0_2-upd.zip" dest="${localDownloads}">
cbrealeyad0dc772005-02-07 17:10:22 +000039 <patternset>
40 <include name="jaf-1.0.2/activation.jar"/>
41 </patternset>
42 </unzip>
kchongfbe31d62005-03-30 19:45:36 +000043 <unzip src="${localDownloads}/javamail-1_3_2.zip" dest="${localDownloads}">
cbrealeyad0dc772005-02-07 17:10:22 +000044 <patternset>
45 <include name="javamail-1.3.2/mail.jar"/>
46 </patternset>
47 </unzip>
kchongfbe31d62005-03-30 19:45:36 +000048 <unzip src="${localDownloads}/soap-bin-2.3.1.zip" dest="${localDownloads}">
cbrealeyad0dc772005-02-07 17:10:22 +000049 <patternset>
50 <include name="soap-2_3_1/lib/soap.jar"/>
51 </patternset>
52 </unzip>
kchongfbe31d62005-03-30 19:45:36 +000053 <unzip src="${localDownloads}/uddi4j-bin-2_0_2.zip" dest="${localDownloads}">
cbrealeyad0dc772005-02-07 17:10:22 +000054 <patternset>
55 <include name="uddi4j/lib/uddi4j.jar"/>
56 </patternset>
57 </unzip>
kchongfbe31d62005-03-30 19:45:36 +000058 <unzip src="${localDownloads}/wsdl4j-bin-1.4.zip" dest="${localDownloads}">
cbrealeyad0dc772005-02-07 17:10:22 +000059 <patternset>
ndaic19475d2005-02-10 05:28:24 +000060 <include name="wsdl4j-1_4/lib/*.jar"/>
cbrealeyad0dc772005-02-07 17:10:22 +000061 </patternset>
62 </unzip>
63
kchongfbe31d62005-03-30 19:45:36 +000064 <move todir="${localDownloads}/org.eclipse.wst.ws.apache.axis${version}" flatten="yes">
65 <fileset dir="${localDownloads}/axis-1_1">
cbrealeyad0dc772005-02-07 17:10:22 +000066 <include name="**/*.jar"/>
67 </fileset>
68 </move>
kchongfbe31d62005-03-30 19:45:36 +000069 <move todir="${localDownloads}/org.eclipse.wst.ws.apache.axis${version}" flatten="yes">
70 <fileset dir="${localDownloads}/jakarta-tomcat-4.1.31">
cbrealeyad0dc772005-02-07 17:10:22 +000071 <include name="**/*.jar"/>
72 </fileset>
73 </move>
kchongfbe31d62005-03-30 19:45:36 +000074 <move todir="${localDownloads}/org.eclipse.wst.ws.apache.soap${version}" flatten="yes">
75 <fileset dir="${localDownloads}/jaf-1.0.2">
cbrealeyad0dc772005-02-07 17:10:22 +000076 <include name="**/*.jar"/>
77 </fileset>
78 </move>
kchongfbe31d62005-03-30 19:45:36 +000079 <move todir="${localDownloads}/org.eclipse.wst.ws.apache.soap${version}" flatten="yes">
80 <fileset dir="${localDownloads}/javamail-1.3.2">
cbrealeyad0dc772005-02-07 17:10:22 +000081 <include name="**/*.jar"/>
82 </fileset>
83 </move>
kchongfbe31d62005-03-30 19:45:36 +000084 <move todir="${localDownloads}/org.eclipse.wst.ws.apache.soap${version}" flatten="yes">
85 <fileset dir="${localDownloads}/soap-2_3_1">
cbrealeyad0dc772005-02-07 17:10:22 +000086 <include name="**/*.jar"/>
87 </fileset>
88 </move>
kchongfbe31d62005-03-30 19:45:36 +000089 <copy todir="${localDownloads}/org.eclipse.wst.ws.apache.wsil${version}" flatten="yes">
90 <fileset dir="${localDownloads}">
cbrealeyad0dc772005-02-07 17:10:22 +000091 <include name="wsil4j.jar"/>
92 </fileset>
93 </copy>
kchongfbe31d62005-03-30 19:45:36 +000094 <move todir="${localDownloads}/org.eclipse.wst.ws.uddi4j${version}" flatten="yes">
95 <fileset dir="${localDownloads}/uddi4j">
cbrealeyad0dc772005-02-07 17:10:22 +000096 <include name="**/*.jar"/>
97 </fileset>
98 </move>
99
csaltere379e942005-02-24 22:26:04 +0000100 <!--
cbrealey42141532005-02-08 18:38:34 +0000101 <copy todir="${buildDirectory}/org.eclipse.wst.xml.validation${version}/jars">
kchongfbe31d62005-03-30 19:45:36 +0000102 <fileset dir="${localDownloads}/xerces-2_6_2">
csalter259d85c2004-12-21 00:11:39 +0000103 <include name="*.jar"/>
104 </fileset>
105 </copy>
csaltere379e942005-02-24 22:26:04 +0000106 -->
cbrealeyad0dc772005-02-07 17:10:22 +0000107 <antcall target="grabjarsxml">
108 <param name="target" value="copyJars"/>
109 </antcall>
cbrealey42141532005-02-08 18:38:34 +0000110 <copy todir="${buildDirectory}/org.eclipse.wst.wsdl${version}/lib">
kchongfbe31d62005-03-30 19:45:36 +0000111 <fileset dir="${localDownloads}/wsdl4j-1_4/lib">
cbrealeyad0dc772005-02-07 17:10:22 +0000112 <include name="*.jar"/>
113 </fileset>
114 </copy>
lmandel67f6a2c2005-03-28 20:08:47 +0000115 <copy todir="${buildDirectory}/org.eclipse.wst.wsdl.validation${version}/lib">
kchongfbe31d62005-03-30 19:45:36 +0000116 <fileset dir="${localDownloads}/wsdl4j-1_4/lib">
lmandel67f6a2c2005-03-28 20:08:47 +0000117 <include name="*.jar"/>
118 </fileset>
119 </copy>
csalter259d85c2004-12-21 00:11:39 +0000120 </target>
cbrealeyad0dc772005-02-07 17:10:22 +0000121
122 <target name="grabjarsxml">
cbrealey42141532005-02-08 18:38:34 +0000123 <ant antfile="${buildDirectory}/org.eclipse.wst.ws.apache.axis${version}/grabjars.xml" target="${target}">
kchongfbe31d62005-03-30 19:45:36 +0000124 <property name="downloadPath" value="${localDownloads}"/>
cbrealey42141532005-02-08 18:38:34 +0000125 <property name="pluginsPath" value="${buildDirectory}"/>
cbrealeyad0dc772005-02-07 17:10:22 +0000126 <property name="version" value="${version}"/>
127 </ant>
cbrealey42141532005-02-08 18:38:34 +0000128 <ant antfile="${buildDirectory}/org.eclipse.wst.ws.apache.soap${version}/grabjars.xml" target="${target}">
kchongfbe31d62005-03-30 19:45:36 +0000129 <property name="downloadPath" value="${localDownloads}"/>
cbrealey42141532005-02-08 18:38:34 +0000130 <property name="pluginsPath" value="${buildDirectory}"/>
cbrealeyad0dc772005-02-07 17:10:22 +0000131 <property name="version" value="${version}"/>
132 </ant>
cbrealey42141532005-02-08 18:38:34 +0000133 <ant antfile="${buildDirectory}/org.eclipse.wst.ws.apache.wsil${version}/grabjars.xml" target="${target}">
kchongfbe31d62005-03-30 19:45:36 +0000134 <property name="downloadPath" value="${localDownloads}"/>
cbrealey42141532005-02-08 18:38:34 +0000135 <property name="pluginsPath" value="${buildDirectory}"/>
cbrealeyad0dc772005-02-07 17:10:22 +0000136 <property name="version" value="${version}"/>
137 </ant>
cbrealey42141532005-02-08 18:38:34 +0000138 <ant antfile="${buildDirectory}/org.eclipse.wst.ws.uddi4j${version}/grabjars.xml" target="${target}">
kchongfbe31d62005-03-30 19:45:36 +0000139 <property name="downloadPath" value="${localDownloads}"/>
cbrealey42141532005-02-08 18:38:34 +0000140 <property name="pluginsPath" value="${buildDirectory}"/>
cbrealeyad0dc772005-02-07 17:10:22 +0000141 <property name="version" value="${version}"/>
142 </ant>
143 </target>
144
145 <target name="removeAllBinary" unless="sdk">
146 <antcall target="removeAll">
147 <param name="version" value="_1.0.0"/>
148 </antcall>
149 </target>
150
151 <target name="removeAllSDK" if="sdk">
152 <antcall target="removeAll">
153 <param name="version" value=""/>
154 </antcall>
155 </target>
156
csalter259d85c2004-12-21 00:11:39 +0000157 <target name="removeAll">
158 <delete>
csaltere379e942005-02-24 22:26:04 +0000159 <!--
cbrealey42141532005-02-08 18:38:34 +0000160 <fileset dir="${buildDirectory}/org.eclipse.wst.xml.validation${version}/jars" includes="**/*.jar"/>
csaltere379e942005-02-24 22:26:04 +0000161 -->
cbrealey42141532005-02-08 18:38:34 +0000162 <fileset dir="${buildDirectory}/org.eclipse.wst.wsdl${version}" includes="lib/*.jar"/>
lmandel67f6a2c2005-03-28 20:08:47 +0000163 <fileset dir="${buildDirectory}/org.eclipse.wst.wsdl.validation${version}" includes="lib/*.jar"/>
csalter259d85c2004-12-21 00:11:39 +0000164 </delete>
cbrealeyad0dc772005-02-07 17:10:22 +0000165 <antcall target="grabjarsxml">
166 <param name="target" value="cleanupJars"/>
167 </antcall>
csalter259d85c2004-12-21 00:11:39 +0000168 </target>
169
170 <target name="run">
cbrealeyad0dc772005-02-07 17:10:22 +0000171 <antcall target="extractAllBinary"/>
172 <antcall target="extractAllSDK"/>
173 </target>
174
175 <target name="cleanup">
176 <antcall target="removeAllBinary"/>
177 <antcall target="removeAllSDK"/>
csalter259d85c2004-12-21 00:11:39 +0000178 </target>
179
180</project>