Author: thomas.diesler(a)jboss.com
Date: 2007-01-04 11:14:42 -0500 (Thu, 04 Jan 2007)
New Revision: 1795
Modified:
trunk/integration-jboss40/build.xml
Log:
Add jbossretro
Modified: trunk/integration-jboss40/build.xml
===================================================================
--- trunk/integration-jboss40/build.xml 2007-01-04 16:14:37 UTC (rev 1794)
+++ trunk/integration-jboss40/build.xml 2007-01-04 16:14:42 UTC (rev 1795)
@@ -15,6 +15,7 @@
<import file="${basedir}/../build/ant-import/build-setup.xml"/>
<import file="${basedir}/../build/ant-import/build-thirdparty.xml"/>
+ <import file="${basedir}/../integration-jboss42/build.xml"/>
<import file="${basedir}/../jbossws-core/build.xml"/>
<property name="jboss40.src.dir"
value="${integration.jboss40.dir}/src/main"/>
@@ -67,6 +68,39 @@
</target>
<!-- ================================================================== -->
+ <!-- Retrotranslation -->
+ <!-- ================================================================== -->
+
+ <target name="jboss40-retro"
depends="jboss40-compile,core-compile">
+
+ <!-- Weave the build.classes to build.classes14 -->
+ <taskdef name="retro"
classname="org.jboss.ant.tasks.retro.Retro">
+ <classpath>
+ <pathelement location="${thirdparty.dir}/javassist.jar"/>
+ <pathelement location="${thirdparty.dir}/jbossretro.jar"/>
+ </classpath>
+ </taskdef>
+
+ <mkdir dir="${jboss40.output.classes14.dir}"/>
+ <retro destdir="${jboss40.output.classes14.dir}">
+ <classpath>
+ <pathelement
location="${core.dir}/output/lib/jboss-jaxrpc.jar"/>
+ <pathelement location="${core.dir}/output/lib/jboss-saaj.jar"/>
+ <pathelement location="${thirdparty.dir}/javassist.jar"/>
+ <pathelement location="${thirdparty.dir}/jbossretro.jar"/>
+ <pathelement
location="${thirdparty.dir}/jboss-backport-concurrent.jar"/>
+ <pathelement location="${thirdparty.dir}/ant.jar"/>
+ <pathelement path="${jboss42.output.classes.dir}"/>
+ <pathelement path="${core.dir}/output/classes"/>
+ </classpath>
+ <classpath refid="core.classpath"/>
+ <classpath refid="jboss42.integration.classpath"/>
+ <src path="${jboss42.output.classes.dir}"/>
+ <src path="${core.dir}/output/classes"/>
+ </retro>
+ </target>
+
+ <!-- ================================================================== -->
<!-- Archives -->
<!-- ================================================================== -->
@@ -134,8 +168,136 @@
</metainf>
</jar>
+ <!-- Build jbossws40-no-ejb3.sar -->
+ <jar jarfile="${jboss40.output.lib.dir}/jbossws40-no-ejb3.sar"
manifest="${output.etc.dir}/default.mf">
+ <fileset dir="${jboss40.output.lib.dir}">
+ <include name="jbossws-jboss40-integration.jar"/>
+ <include name="jbossws-context.war"/>
+ </fileset>
+ <fileset dir="${core.output.lib.dir}">
+ <include name="jbossws-core.jar"/>
+ <include name="jboss-jaxws.jar"/>
+ </fileset>
+ <fileset dir="${thirdparty.dir}">
+ <include name="jaxb-api.jar"/>
+ <include name="jaxb-impl.jar"/>
+ <include name="policy-1.0.jar"/>
+ <include name="sjsxp.jar"/>
+ <include name="stax-api-1.0.jar"/>
+ <include name="wstx-lgpl-2.9.3.jar"/>
+ <include name="xmlsec.jar"/>
+ </fileset>
+ <fileset dir="${jboss42.resources.dir}">
+ <include name="jbossws.beans/META-INF/jboss-beans.xml"/>
+ </fileset>
+ <metainf dir="${core.resources.dir}/jbossws.sar/META-INF">
+ <include name="standard-jaxrpc-client-config.xml"/>
+ <include name="standard-jaxrpc-endpoint-config.xml"/>
+ <include name="standard-jaxws-client-config.xml"/>
+ <include name="standard-jaxws-endpoint-config.xml"/>
+ </metainf>
+ <metainf
dir="${jboss42.resources.dir}/jbossws.sar/META-INF-no-ejb3">
+ <include name="jboss-service.xml"/>
+ </metainf>
+ </jar>
+
</target>
+ <!--
+ | Build retrotranslated jar files.
+ -->
+ <target name="jboss40-module-jars14"
depends="jboss40-jars,jboss40-retro">
+
+ <!-- Build jboss-jaxws14.jar -->
+ <mkdir dir="${jboss40.output.lib.dir}"/>
+ <jar jarfile="${jboss40.output.lib.dir}/jboss-jaxws14.jar"
manifest="${output.etc.dir}/default.mf">
+ <fileset dir="${jboss40.output.classes14.dir}">
+ <include name="javax/jws/**"/>
+ <include name="javax/xml/ws/**"/>
+ </fileset>
+ </jar>
+
+ <!-- Build jbossws14-core.jar -->
+ <mkdir dir="${jboss40.output.lib.dir}"/>
+ <jar jarfile="${jboss40.output.lib.dir}/jbossws14-core.jar"
manifest="${output.etc.dir}/default.mf">
+ <fileset dir="${jboss40.output.classes14.dir}">
+ <include name="org/jboss/ws/**"/>
+ <exclude name="org/jboss/ws/integration/**"/>
+ </fileset>
+ <fileset dir="${core.dir}/src/main/resources">
+ <include name="schema/**"/>
+ <include name="dtd/**"/>
+ </fileset>
+ </jar>
+
+ <!-- Build jbossws14-jboss40-integration.jar -->
+ <jar
jarfile="${jboss40.output.lib.dir}/jbossws14-jboss40-integration.jar"
manifest="${output.etc.dir}/default.mf">
+ <fileset dir="${jboss40.output.classes14.dir}">
+ <include name="org/jboss/ws/integration/jboss42/**"/>
+ </fileset>
+ <metainf
dir="${jboss42.resources.dir}/jbossws-jboss42-integration.jar/META-INF"/>
+ </jar>
+
+ <!-- Build jbossws14-client.jar -->
+ <jar jarfile="${jboss40.output.lib.dir}/jbossws14-client.jar"
manifest="${output.etc.dir}/default.mf">
+ <fileset dir="${core.output.classes14.dir}">
+ <include name="javax/xml/rpc/**"/>
+ <include name="javax/xml/soap/**"/>
+ </fileset>
+ <fileset dir="${jboss40.output.classes14.dir}">
+ <include name="javax/xml/ws/**"/>
+ <include name="javax/jws/**"/>
+ <include name="org/jboss/ws/**"/>
+ </fileset>
+ <fileset dir="${core.resources.dir}/jbossws.sar">
+ <include name="META-INF/standard-jaxrpc-client-config.xml"/>
+ <include name="META-INF/standard-jaxws-client-config.xml"/>
+ </fileset>
+ <fileset dir="${core.resources.dir}">
+ <include name="schema/**"/>
+ <include name="dtd/**"/>
+ </fileset>
+ <fileset dir="${output.etc.dir}">
+ <include name="wstools.sh"/>
+ <include name="wstools.bat"/>
+ <include name="wstools-log4j.xml"/>
+ </fileset>
+ <metainf dir="${core.resources.dir}/jboss-saaj.jar/META-INF"/>
+ </jar>
+
+ <!-- Build jbossws14.sar -->
+ <jar jarfile="${jboss40.output.lib.dir}/jbossws14.sar"
manifest="${output.etc.dir}/default.mf">
+ <fileset dir="${jboss40.output.lib.dir}">
+ <include name="jbossws14-jboss40-integration.jar"/>
+ <include name="jbossws-context.war"/>
+ <include name="jbossws14-core.jar"/>
+ <include name="jboss-jaxws14.jar"/>
+ </fileset>
+ <fileset dir="${thirdparty.dir}">
+ <include name="jaxb-api.jar"/>
+ <include name="jaxb-impl.jar"/>
+ <include name="policy-1.0.jar"/>
+ <include name="sjsxp.jar"/>
+ <include name="stax-api-1.0.jar"/>
+ <include name="wstx-lgpl-2.9.3.jar"/>
+ <include name="xmlsec.jar"/>
+ </fileset>
+ <fileset dir="${jboss42.resources.dir}">
+ <include name="jbossws.beans/META-INF/jboss-beans.xml"/>
+ </fileset>
+ <metainf dir="${core.resources.dir}/jbossws.sar/META-INF">
+ <include name="standard-jaxrpc-client-config.xml"/>
+ <include name="standard-jaxrpc-endpoint-config.xml"/>
+ <include name="standard-jaxws-client-config.xml"/>
+ <include name="standard-jaxws-endpoint-config.xml"/>
+ </metainf>
+ <metainf
dir="${jboss42.resources.dir}/jbossws.sar/META-INF-no-ejb3">
+ <include name="jboss-service.xml"/>
+ </metainf>
+ </jar>
+
+ </target>
+
<!-- ================================================================== -->
<!-- Deployment -->
<!-- ================================================================== -->
@@ -144,6 +306,7 @@
<target name="deploy-jboss40" depends="jboss40-jars"
description="Deploy jbossws">
<copy todir="${jboss40.home}/client"
file="${thirdparty.dir}/jboss-xml-binding.jar" overwrite="true"/>
<copy todir="${jboss40.home}/lib"
file="${thirdparty.dir}/jboss-xml-binding.jar" overwrite="true"/>
+ <delete file="${jboss40.home}/client/jbossws14-client.jar"/>
<copy todir="${jboss40.home}/client" overwrite="true">
<fileset dir="${core.output.lib.dir}">
<include name="jboss-jaxrpc.jar"/>
@@ -166,6 +329,36 @@
<unjar
dest="${jboss40.home}/server/${jboss.server.instance}/deploy/jbossws.sar"
src="${jboss40.output.lib.dir}/jbossws40.sar"/>
</target>
+ <!-- Deploy jbossws to the jboss40 jdk1.4 -->
+ <target name="deploy-jboss4014" depends="jboss40-module-jars14"
description="Deploy jbossws">
+ <copy todir="${jboss40.home}/client"
file="${thirdparty.dir}/jboss-xml-binding.jar" overwrite="true"/>
+ <copy todir="${jboss40.home}/lib"
file="${thirdparty.dir}/jboss-xml-binding.jar" overwrite="true"/>
+ <delete file="${jboss40.home}/client/jbossws-client.jar"/>
+ <copy todir="${jboss40.home}/client" overwrite="true">
+ <fileset dir="${core.output.lib.dir}">
+ <include name="jboss-jaxrpc.jar"/>
+ <include name="jboss-saaj.jar"/>
+ </fileset>
+ <fileset dir="${jboss40.output.lib.dir}">
+ <include name="jbossws14-client.jar"/>
+ </fileset>
+ <fileset dir="${thirdparty.dir}">
+ <include name="jaxb-api.jar"/>
+ <include name="jaxb-impl.jar"/>
+ </fileset>
+ </copy>
+ <copy todir="${jboss40.home}/server/${jboss.server.instance}/lib"
overwrite="true">
+ <fileset dir="${core.output.lib.dir}">
+ <include name="jboss-jaxrpc.jar"/>
+ <include name="jboss-saaj.jar"/>
+ </fileset>
+ </copy>
+ <delete
dir="${jboss40.home}/server/${jboss.server.instance}/deploy/jbossws.sar"/>
+ <delete
dir="${jboss40.home}/server/${jboss.server.instance}/deploy/jbossws14.sar"/>
+ <mkdir
dir="${jboss40.home}/server/${jboss.server.instance}/deploy/jbossws14.sar"/>
+ <unjar
dest="${jboss40.home}/server/${jboss.server.instance}/deploy/jbossws14.sar"
src="${jboss40.output.lib.dir}/jbossws14.sar"/>
+ </target>
+
<!-- ================================================================== -->
<!-- Miscellaneous -->
<!-- ================================================================== -->
Show replies by date