blob: d2d696c1c82a0554457e8d71bd9003729ee3e9cf [file] [log] [blame]
<project default="run" basedir=".">
<property file="${basedir}/buildAll.properties"/>
<property file="${basedir}/maps/build.cfg"/>
<property name="localDownloads" value="${build.home}/${build.drivers}"/>
<target name="extractAllBinary" unless="sdk">
<antcall target="extractAll">
<param name="version" value="_1.0.0"/>
</antcall>
</target>
<target name="extractAllSDK" if="sdk">
<antcall target="extractAll">
<param name="version" value=""/>
</antcall>
</target>
<target name="extractAll">
<!--
<unzip src="${localDownloads}/Xerces-J-bin.2.6.2.zip" dest="${localDownloads}">
<patternset>
<include name="xerces-2_6_2/xercesImpl.jar"/>
<include name="xerces-2_6_2/xmlParserAPIs.jar"/>
</patternset>
</unzip>
-->
<unzip src="${localDownloads}/axis-1_1.zip" dest="${localDownloads}">
<patternset>
<include name="axis-1_1/lib/*.jar"/>
</patternset>
</unzip>
<unzip src="${localDownloads}/jakarta-tomcat-4.1.31.zip" dest="${localDownloads}">
<patternset>
<include name="jakarta-tomcat-4.1.31/common/lib/servlet.jar"/>
</patternset>
</unzip>
<unzip src="${localDownloads}/jaf-1_0_2-upd.zip" dest="${localDownloads}">
<patternset>
<include name="jaf-1.0.2/activation.jar"/>
</patternset>
</unzip>
<unzip src="${localDownloads}/javamail-1_3_2.zip" dest="${localDownloads}">
<patternset>
<include name="javamail-1.3.2/mail.jar"/>
</patternset>
</unzip>
<unzip src="${localDownloads}/soap-bin-2.3.1.zip" dest="${localDownloads}">
<patternset>
<include name="soap-2_3_1/lib/soap.jar"/>
</patternset>
</unzip>
<unzip src="${localDownloads}/uddi4j-bin-2_0_2.zip" dest="${localDownloads}">
<patternset>
<include name="uddi4j/lib/uddi4j.jar"/>
</patternset>
</unzip>
<unzip src="${localDownloads}/wsdl4j-bin-1.4.zip" dest="${localDownloads}">
<patternset>
<include name="wsdl4j-1_4/lib/*.jar"/>
</patternset>
</unzip>
<move todir="${localDownloads}/org.eclipse.wst.ws.apache.axis${version}" flatten="yes">
<fileset dir="${localDownloads}/axis-1_1">
<include name="**/*.jar"/>
</fileset>
</move>
<move todir="${localDownloads}/org.eclipse.wst.ws.apache.axis${version}" flatten="yes">
<fileset dir="${localDownloads}/jakarta-tomcat-4.1.31">
<include name="**/*.jar"/>
</fileset>
</move>
<move todir="${localDownloads}/org.eclipse.wst.ws.apache.soap${version}" flatten="yes">
<fileset dir="${localDownloads}/jaf-1.0.2">
<include name="**/*.jar"/>
</fileset>
</move>
<move todir="${localDownloads}/org.eclipse.wst.ws.apache.soap${version}" flatten="yes">
<fileset dir="${localDownloads}/javamail-1.3.2">
<include name="**/*.jar"/>
</fileset>
</move>
<move todir="${localDownloads}/org.eclipse.wst.ws.apache.soap${version}" flatten="yes">
<fileset dir="${localDownloads}/soap-2_3_1">
<include name="**/*.jar"/>
</fileset>
</move>
<copy todir="${localDownloads}/org.eclipse.wst.ws.apache.wsil${version}" flatten="yes">
<fileset dir="${localDownloads}">
<include name="wsil4j.jar"/>
</fileset>
</copy>
<move todir="${localDownloads}/org.eclipse.wst.ws.uddi4j${version}" flatten="yes">
<fileset dir="${localDownloads}/uddi4j">
<include name="**/*.jar"/>
</fileset>
</move>
<!--
<copy todir="${buildDirectory}/org.eclipse.wst.xml.validation${version}/jars">
<fileset dir="${localDownloads}/xerces-2_6_2">
<include name="*.jar"/>
</fileset>
</copy>
-->
<antcall target="grabjarsxml">
<param name="target" value="copyJars"/>
</antcall>
<copy todir="${buildDirectory}/org.eclipse.wst.wsdl${version}/lib">
<fileset dir="${localDownloads}/wsdl4j-1_4/lib">
<include name="*.jar"/>
</fileset>
</copy>
<copy todir="${buildDirectory}/org.eclipse.wst.wsdl.validation${version}/lib">
<fileset dir="${localDownloads}/wsdl4j-1_4/lib">
<include name="*.jar"/>
</fileset>
</copy>
</target>
<target name="grabjarsxml">
<ant antfile="${buildDirectory}/org.eclipse.wst.ws.apache.axis${version}/grabjars.xml" target="${target}">
<property name="downloadPath" value="${localDownloads}"/>
<property name="pluginsPath" value="${buildDirectory}"/>
<property name="version" value="${version}"/>
</ant>
<ant antfile="${buildDirectory}/org.eclipse.wst.ws.apache.soap${version}/grabjars.xml" target="${target}">
<property name="downloadPath" value="${localDownloads}"/>
<property name="pluginsPath" value="${buildDirectory}"/>
<property name="version" value="${version}"/>
</ant>
<ant antfile="${buildDirectory}/org.eclipse.wst.ws.apache.wsil${version}/grabjars.xml" target="${target}">
<property name="downloadPath" value="${localDownloads}"/>
<property name="pluginsPath" value="${buildDirectory}"/>
<property name="version" value="${version}"/>
</ant>
<ant antfile="${buildDirectory}/org.eclipse.wst.ws.uddi4j${version}/grabjars.xml" target="${target}">
<property name="downloadPath" value="${localDownloads}"/>
<property name="pluginsPath" value="${buildDirectory}"/>
<property name="version" value="${version}"/>
</ant>
</target>
<target name="removeAllBinary" unless="sdk">
<antcall target="removeAll">
<param name="version" value="_1.0.0"/>
</antcall>
</target>
<target name="removeAllSDK" if="sdk">
<antcall target="removeAll">
<param name="version" value=""/>
</antcall>
</target>
<target name="removeAll">
<delete>
<!--
<fileset dir="${buildDirectory}/org.eclipse.wst.xml.validation${version}/jars" includes="**/*.jar"/>
-->
<fileset dir="${buildDirectory}/org.eclipse.wst.wsdl${version}" includes="lib/*.jar"/>
<fileset dir="${buildDirectory}/org.eclipse.wst.wsdl.validation${version}" includes="lib/*.jar"/>
</delete>
<antcall target="grabjarsxml">
<param name="target" value="cleanupJars"/>
</antcall>
</target>
<target name="run">
<antcall target="extractAllBinary"/>
<antcall target="extractAllSDK"/>
</target>
<target name="cleanup">
<antcall target="removeAllBinary"/>
<antcall target="removeAllSDK"/>
</target>
</project>