Author: richard.opalka(a)jboss.com
Date: 2009-12-08 08:18:13 -0500 (Tue, 08 Dec 2009)
New Revision: 11203
Modified:
stack/metro/trunk/modules/resources/src/main/resources/resources/all-deploy.conf
stack/metro/trunk/modules/resources/src/main/resources/resources/default-deploy.conf
stack/metro/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml
stack/metro/trunk/modules/resources/src/main/resources/resources/standard-deploy.conf
stack/metro/trunk/src/main/distro/build-deploy.xml
Log:
[JBWS-2821] fixing Metro
Modified:
stack/metro/trunk/modules/resources/src/main/resources/resources/all-deploy.conf
===================================================================
---
stack/metro/trunk/modules/resources/src/main/resources/resources/all-deploy.conf 2009-12-08
12:34:02 UTC (rev 11202)
+++
stack/metro/trunk/modules/resources/src/main/resources/resources/all-deploy.conf 2009-12-08
13:18:13 UTC (rev 11203)
@@ -1 +1 @@
-bin/wsconsume.bat bin/wsconsume.sh bin/wsprovide.bat bin/wsprovide.sh bin/wsrunclient.bat
bin/wsrunclient.sh bin/wstools.bat bin/wstools.sh client/jettison.jar client/jaxb-api.jar
client/jaxb-impl.jar client/jaxb-xjc.jar client/jaxws-rt.jar client/jaxws-tools.jar
client/jboss-jaxrpc.jar client/jboss-jaxws-ext.jar client/jboss-jaxws.jar
client/jboss-saaj.jar client/jbossws-native-jaxrpc.jar client/jbossws-native-jaxws-ext.jar
client/jbossws-native-jaxws.jar client/jaxws-api.jar client/jsr181-api.jar
client/jbossws-native-saaj.jar client/jbossws-client.jar client/jbossws-native-client.jar
client/jbossws-native-core.jar client/jbossws-common.jar client/jbossws-framework.jar
client/jbossws-spi.jar client/netty.jar client/policy.jar client/stax-ex.jar
client/streambuffer.jar client/wsdl4j.jar lib/jaxb-api.jar lib/jaxb-impl.jar
common/lib/jboss-jaxrpc.jar common/lib/jboss-jaxws-ext.jar common/lib/jboss-jaxws.jar
common/lib/jboss-saaj.jar common/lib/jbossws-native-jaxrpc.jar commo!
n/lib/jbossws-native-jaxws-ext.jar common/lib/jbossws-native-jaxws.jar
common/lib/jaxws-api.jar common/lib/jsr181-api.jar common/lib/jbossws-native-saaj.jar
common/lib/jbossws-common.jar common/lib/jbossws-framework.jar common/lib/jbossws-spi.jar
lib/endorsed/jbossws-native-* lib/endorsed/jaxb-api.jar server/all/deploy/jbossws.sar
server/all/deploy/juddi-service.sar server/all/deploy/jbossws-container-jboss-beans.xml
server/all/deployers/jbossws.deployer/FastInfoset.jar
server/all/deployers/jbossws.deployer/jboss-jaxb-intros.jar
server/all/deployers/jbossws.deployer/jbossws-native-core.jar
server/all/deployers/jbossws.deployer/jettison.jar
server/all/deployers/jbossws.deployer/netty.jar
server/all/deployers/jbossws.deployer/policy.jar
server/all/deployers/jbossws.deployer/wsdl4j.jar
server/all/deployers/jbossws.deployer/xmlsec.jar
server/all/deployers/jbossws.deployer/META-INF/jboss-beans.xml
server/all/deployers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml se!
rver/all/deployers/jbossws.deployer/META-INF/jbossws-container!
-jboss-b
eans.xml server/all/deployers/jbossws.deployer/META-INF/standard-*-config.xml
server/all/deploy/jbossws.sar server/all/deploy/juddi-service.sar
server/all/deploy/jbossws-container-jboss-beans.xml
server/all/deployers/jbossws.deployer/FastInfoset.jar
server/all/deployers/jbossws.deployer/jboss-jaxb-intros.jar
server/all/deployers/jbossws.deployer/jbossws-native-core.jar
server/all/deployers/jbossws.deployer/jettison.jar
server/all/deployers/jbossws.deployer/netty.jar
server/all/deployers/jbossws.deployer/policy.jar
server/all/deployers/jbossws.deployer/wsdl4j.jar
server/all/deployers/jbossws.deployer/xmlsec.jar
server/all/deployers/jbossws.deployer/META-INF/jboss-beans.xml
server/all/deployers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml
server/all/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml
server/all/deployers/jbossws.deployer/META-INF/standard-*-config.xml
+bin/wsconsume.bat bin/wsconsume.sh bin/wsprovide.bat bin/wsprovide.sh bin/wsrunclient.bat
bin/wsrunclient.sh bin/wstools.bat bin/wstools.sh client/jettison.jar client/jaxb-api.jar
client/jaxb-impl.jar client/jaxb-xjc.jar client/jaxws-rt.jar client/jaxws-tools.jar
client/jboss-jaxrpc.jar client/jboss-jaxws-ext.jar client/jboss-jaxws.jar
client/jboss-saaj.jar client/jbossws-native-jaxrpc.jar client/jbossws-native-jaxws-ext.jar
client/jbossws-native-jaxws.jar client/jaxws-api.jar client/jsr181-api.jar
client/jbossws-native-saaj.jar client/jbossws-client.jar client/jbossws-native-client.jar
client/jbossws-native-core.jar client/jbossws-common.jar client/jbossws-framework.jar
client/jbossws-spi.jar client/netty.jar client/policy.jar client/stax-ex.jar
client/streambuffer.jar client/wsdl4j.jar lib/jaxb-api.jar lib/jaxb-impl.jar
common/lib/jboss-jaxrpc.jar common/lib/jboss-jaxws-ext.jar common/lib/jboss-jaxws.jar
common/lib/jboss-saaj.jar common/lib/jbossws-native-jaxrpc.jar commo!
n/lib/jbossws-native-jaxws-ext.jar common/lib/jbossws-native-jaxws.jar
common/lib/jaxws-api.jar common/lib/jsr181-api.jar common/lib/jbossws-native-saaj.jar
common/lib/jbossws-common.jar common/lib/jbossws-framework.jar common/lib/jbossws-spi.jar
lib/endorsed/jbossws-native-* lib/endorsed/jaxb-api.jar server/all/deploy/jbossws.sar
server/all/deploy/juddi-service.sar server/all/deploy/jbossws-container-jboss-beans.xml
server/all/deployers/jbossws.deployer/FastInfoset.jar
server/all/deployers/jbossws.deployer/jboss-jaxb-intros.jar
server/all/deployers/jbossws.deployer/jbossws-native-core.jar
server/all/deployers/jbossws.deployer/jettison.jar
server/all/deployers/jbossws.deployer/netty.jar
server/all/deployers/jbossws.deployer/policy.jar
server/all/deployers/jbossws.deployer/wsdl4j.jar
server/all/deployers/jbossws.deployer/xmlsec.jar
server/all/deployers/jbossws.deployer/META-INF/jboss-beans.xml
server/all/deployers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml se!
rver/all/deployers/jbossws.deployer/META-INF/jbossws-container!
-jboss-b
eans.xml server/all/deployers/jbossws.deployer/META-INF/standard-*-config.xml
server/all/deploy/jbossws-console.war server/all/deploy/jbossws-container-jboss-beans.xml
server/all/deployers/jbossws.deployer/FastInfoset.jar
server/all/deployers/jbossws.deployer/jboss-jaxb-intros.jar
server/all/deployers/jbossws.deployer/jbossws-native-core.jar
server/all/deployers/jbossws.deployer/jettison.jar
server/all/deployers/jbossws.deployer/netty.jar
server/all/deployers/jbossws.deployer/policy.jar
server/all/deployers/jbossws.deployer/wsdl4j.jar
server/all/deployers/jbossws.deployer/xmlsec.jar
server/all/deployers/jbossws.deployer/META-INF/jboss-beans.xml
server/all/deployers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml
server/all/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml
server/all/deployers/jbossws.deployer/META-INF/standard-*-config.xml
Modified:
stack/metro/trunk/modules/resources/src/main/resources/resources/default-deploy.conf
===================================================================
---
stack/metro/trunk/modules/resources/src/main/resources/resources/default-deploy.conf 2009-12-08
12:34:02 UTC (rev 11202)
+++
stack/metro/trunk/modules/resources/src/main/resources/resources/default-deploy.conf 2009-12-08
13:18:13 UTC (rev 11203)
@@ -1 +1 @@
-bin/wsconsume.bat bin/wsconsume.sh bin/wsprovide.bat bin/wsprovide.sh bin/wsrunclient.bat
bin/wsrunclient.sh bin/wstools.bat bin/wstools.sh client/jettison.jar client/jaxb-api.jar
client/jaxb-impl.jar client/jaxb-xjc.jar client/jaxws-rt.jar client/jaxws-tools.jar
client/jboss-jaxrpc.jar client/jboss-jaxws-ext.jar client/jboss-jaxws.jar
client/jboss-saaj.jar client/jbossws-native-jaxrpc.jar client/jbossws-native-jaxws-ext.jar
client/jbossws-native-jaxws.jar client/jaxws-api.jar client/jsr181-api.jar
client/jbossws-native-saaj.jar client/jbossws-client.jar client/jbossws-native-client.jar
client/jbossws-native-core.jar client/jbossws-common.jar client/jbossws-framework.jar
client/jbossws-spi.jar client/netty.jar client/policy.jar client/stax-ex.jar
client/streambuffer.jar client/wsdl4j.jar lib/jaxb-api.jar lib/jaxb-impl.jar
common/lib/jboss-jaxrpc.jar common/lib/jboss-jaxws-ext.jar common/lib/jboss-jaxws.jar
common/lib/jboss-saaj.jar common/lib/jbossws-native-jaxrpc.jar commo!
n/lib/jbossws-native-jaxws-ext.jar common/lib/jbossws-native-jaxws.jar
common/lib/jaxws-api.jar common/lib/jsr181-api.jar common/lib/jbossws-native-saaj.jar
common/lib/jbossws-common.jar common/lib/jbossws-framework.jar common/lib/jbossws-spi.jar
lib/endorsed/jbossws-native-* lib/endorsed/jaxb-api.jar server/default/deploy/jbossws.sar
server/default/deploy/juddi-service.sar
server/default/deploy/jbossws-container-jboss-beans.xml
server/default/deployers/jbossws.deployer/FastInfoset.jar
server/default/deployers/jbossws.deployer/jboss-jaxb-intros.jar
server/default/deployers/jbossws.deployer/jbossws-native-core.jar
server/default/deployers/jbossws.deployer/jettison.jar
server/default/deployers/jbossws.deployer/netty.jar
server/default/deployers/jbossws.deployer/policy.jar
server/default/deployers/jbossws.deployer/wsdl4j.jar
server/default/deployers/jbossws.deployer/xmlsec.jar
server/default/deployers/jbossws.deployer/META-INF/jboss-beans.xml
server/default/deployers/jbossws.d!
eployer/META-INF/jbossws-deployer-jboss-beans.xml server/defau!
lt/deplo
yers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml
server/default/deployers/jbossws.deployer/META-INF/standard-*-config.xml
server/default/deploy/jbossws.sar server/default/deploy/juddi-service.sar
server/default/deploy/jbossws-container-jboss-beans.xml
server/default/deployers/jbossws.deployer/FastInfoset.jar
server/default/deployers/jbossws.deployer/jboss-jaxb-intros.jar
server/default/deployers/jbossws.deployer/jbossws-native-core.jar
server/default/deployers/jbossws.deployer/jettison.jar
server/default/deployers/jbossws.deployer/netty.jar
server/default/deployers/jbossws.deployer/policy.jar
server/default/deployers/jbossws.deployer/wsdl4j.jar
server/default/deployers/jbossws.deployer/xmlsec.jar
server/default/deployers/jbossws.deployer/META-INF/jboss-beans.xml
server/default/deployers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml
server/default/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml
server/default/deployers/jbossw!
s.deployer/META-INF/standard-*-config.xml
+bin/wsconsume.bat bin/wsconsume.sh bin/wsprovide.bat bin/wsprovide.sh bin/wsrunclient.bat
bin/wsrunclient.sh bin/wstools.bat bin/wstools.sh client/jettison.jar client/jaxb-api.jar
client/jaxb-impl.jar client/jaxb-xjc.jar client/jaxws-rt.jar client/jaxws-tools.jar
client/jboss-jaxrpc.jar client/jboss-jaxws-ext.jar client/jboss-jaxws.jar
client/jboss-saaj.jar client/jbossws-native-jaxrpc.jar client/jbossws-native-jaxws-ext.jar
client/jbossws-native-jaxws.jar client/jaxws-api.jar client/jsr181-api.jar
client/jbossws-native-saaj.jar client/jbossws-client.jar client/jbossws-native-client.jar
client/jbossws-native-core.jar client/jbossws-common.jar client/jbossws-framework.jar
client/jbossws-spi.jar client/netty.jar client/policy.jar client/stax-ex.jar
client/streambuffer.jar client/wsdl4j.jar lib/jaxb-api.jar lib/jaxb-impl.jar
common/lib/jboss-jaxrpc.jar common/lib/jboss-jaxws-ext.jar common/lib/jboss-jaxws.jar
common/lib/jboss-saaj.jar common/lib/jbossws-native-jaxrpc.jar commo!
n/lib/jbossws-native-jaxws-ext.jar common/lib/jbossws-native-jaxws.jar
common/lib/jaxws-api.jar common/lib/jsr181-api.jar common/lib/jbossws-native-saaj.jar
common/lib/jbossws-common.jar common/lib/jbossws-framework.jar common/lib/jbossws-spi.jar
lib/endorsed/jbossws-native-* lib/endorsed/jaxb-api.jar server/default/deploy/jbossws.sar
server/default/deploy/juddi-service.sar
server/default/deploy/jbossws-container-jboss-beans.xml
server/default/deployers/jbossws.deployer/FastInfoset.jar
server/default/deployers/jbossws.deployer/jboss-jaxb-intros.jar
server/default/deployers/jbossws.deployer/jbossws-native-core.jar
server/default/deployers/jbossws.deployer/jettison.jar
server/default/deployers/jbossws.deployer/netty.jar
server/default/deployers/jbossws.deployer/policy.jar
server/default/deployers/jbossws.deployer/wsdl4j.jar
server/default/deployers/jbossws.deployer/xmlsec.jar
server/default/deployers/jbossws.deployer/META-INF/jboss-beans.xml
server/default/deployers/jbossws.d!
eployer/META-INF/jbossws-deployer-jboss-beans.xml server/defau!
lt/deplo
yers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml
server/default/deployers/jbossws.deployer/META-INF/standard-*-config.xml
server/default/deploy/jbossws-console.war
server/default/deploy/jbossws-container-jboss-beans.xml
server/default/deployers/jbossws.deployer/FastInfoset.jar
server/default/deployers/jbossws.deployer/jboss-jaxb-intros.jar
server/default/deployers/jbossws.deployer/jbossws-native-core.jar
server/default/deployers/jbossws.deployer/jettison.jar
server/default/deployers/jbossws.deployer/netty.jar
server/default/deployers/jbossws.deployer/policy.jar
server/default/deployers/jbossws.deployer/wsdl4j.jar
server/default/deployers/jbossws.deployer/xmlsec.jar
server/default/deployers/jbossws.deployer/META-INF/jboss-beans.xml
server/default/deployers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml
server/default/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml
server/default/deployers/jbossws.deployer/META-INF/standard-*-c!
onfig.xml
Modified:
stack/metro/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml
===================================================================
---
stack/metro/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml 2009-12-08
12:34:02 UTC (rev 11202)
+++
stack/metro/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml 2009-12-08
13:18:13 UTC (rev 11203)
@@ -10,11 +10,9 @@
<!-- ====================================================================== -->
<project>
-
- <!--
+
+ <!--
These patterns should be common for all supported containers.
- All jars must also be declared in component-info.xml to ensure
- that the AS build uses the same version.
-->
<patternset id="jbossws.bin.patternset">
<include name="**/wsconsume.bat"/>
@@ -24,7 +22,7 @@
<include name="**/wsrunclient.bat"/>
<include name="**/wsrunclient.sh"/>
</patternset>
-
+
<patternset id="jbossws.client.patternset">
<include name="**/jaxb-api.jar"/>
<include name="**/jaxb-impl.jar"/>
@@ -51,15 +49,16 @@
<include name="**/wstx.jar"/>
<include name="**/xws-security.jar"/>
</patternset>
-
+
<patternset id="jbossws.lib.patternset">
- <include name="**/nothing-to-deploy"/>
+ <include name="**/jaxb-impl.jar"/>
+ <include name="**/wstx.jar"/>
</patternset>
-
+
<patternset id="jbossws.lib.endorsed.patternset">
<include name="**/jaxb-api.jar"/>
</patternset>
-
+
<patternset id="jbossws.server.lib.patternset">
<include name="**/jbossws-common.jar"/>
<include name="**/jbossws-framework.jar"/>
@@ -69,7 +68,7 @@
<include name="**/saaj-api.jar"/>
<include name="**/stax-api.jar"/>
</patternset>
-
+
<patternset id="jbossws.service.lib.patternset">
<include name="**/FastInfoset.jar"/>
<include name="**/http.jar"/>
@@ -100,15 +99,15 @@
<include name="**/xmlsec.jar"/>
<include name="**/xws-security.jar"/>
</patternset>
-
+
<!-- ================================================================== -->
<!-- Deploy Bin -->
<!-- ================================================================== -->
-
+
<macrodef name="macro-deploy-jbossws-bin">
<attribute name="artifactsdir"/>
<attribute name="targetdir"/>
- <sequential>
+ <sequential>
<mkdir dir="@{targetdir}"/>
<copy todir="@{targetdir}" flatten="true"
overwrite="true">
<fileset dir="@{artifactsdir}/bin">
@@ -117,42 +116,12 @@
</copy>
</sequential>
</macrodef>
-
+
<!-- ================================================================== -->
<!-- Deploy Lib -->
<!-- ================================================================== -->
-
- <macrodef name="macro-deploy-jbossws-lib50">
- <attribute name="thirdpartydir"/>
- <attribute name="targetdir"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.lib.patternset"/>
- <include name="**/jaxb-impl.jar"/>
- <include name="**/wstx.jar"/>
- </fileset>
- </copy>
- </sequential>
- </macrodef>
-
- <macrodef name="macro-deploy-jbossws-lib51">
- <attribute name="thirdpartydir"/>
- <attribute name="targetdir"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.lib.patternset"/>
- <include name="**/jaxb-impl.jar"/>
- <include name="**/wstx.jar"/>
- </fileset>
- </copy>
- </sequential>
- </macrodef>
- <macrodef name="macro-deploy-jbossws-lib52">
+ <macrodef name="macro-deploy-jbossws-lib">
<attribute name="thirdpartydir"/>
<attribute name="targetdir"/>
<sequential>
@@ -160,32 +129,15 @@
<copy todir="@{targetdir}" flatten="true"
overwrite="true">
<fileset dir="@{thirdpartydir}">
<patternset refid="jbossws.lib.patternset"/>
- <include name="**/jaxb-impl.jar"/>
- <include name="**/wstx.jar"/>
</fileset>
</copy>
</sequential>
</macrodef>
- <macrodef name="macro-deploy-jbossws-lib60">
- <attribute name="thirdpartydir"/>
- <attribute name="targetdir"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.lib.patternset"/>
- <include name="**/jaxb-impl.jar"/>
- <include name="**/wstx.jar"/>
- </fileset>
- </copy>
- </sequential>
- </macrodef>
-
<!-- ================================================================== -->
<!-- Deploy Lib Endorsed -->
<!-- ================================================================== -->
-
+
<macrodef name="macro-deploy-jbossws-endorsed">
<attribute name="thirdpartydir"/>
<attribute name="targetdir"/>
@@ -198,42 +150,12 @@
</copy>
</sequential>
</macrodef>
-
+
<!-- ================================================================== -->
<!-- Deploy Client -->
<!-- ================================================================== -->
-
- <macrodef name="macro-deploy-jbossws-client50">
- <attribute name="thirdpartydir"/>
- <attribute name="targetdir"/>
- <attribute name="jbossid"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.client.patternset"/>
- <include name="**/jbossws-(a){jbossid}.jar"/>
- </fileset>
- </copy>
- </sequential>
- </macrodef>
-
- <macrodef name="macro-deploy-jbossws-client51">
- <attribute name="thirdpartydir"/>
- <attribute name="targetdir"/>
- <attribute name="jbossid"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.client.patternset"/>
- <include name="**/jbossws-(a){jbossid}.jar"/>
- </fileset>
- </copy>
- </sequential>
- </macrodef>
- <macrodef name="macro-deploy-jbossws-client52">
+ <macrodef name="macro-deploy-jbossws-client">
<attribute name="thirdpartydir"/>
<attribute name="targetdir"/>
<attribute name="jbossid"/>
@@ -242,70 +164,16 @@
<copy todir="@{targetdir}" flatten="true"
overwrite="true">
<fileset dir="@{thirdpartydir}">
<patternset refid="jbossws.client.patternset"/>
- <!-- JBWS-2505 -->
- <!-- START -->
- <!--
- <include name="**/jbossws-(a){jbossid}.jar"/>
- -->
- <!-- END -->
</fileset>
</copy>
</sequential>
</macrodef>
- <macrodef name="macro-deploy-jbossws-client60">
- <attribute name="thirdpartydir"/>
- <attribute name="targetdir"/>
- <attribute name="jbossid"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.client.patternset"/>
- <!-- JBWS-2505 -->
- <!-- START -->
- <!--
- <include name="**/jbossws-(a){jbossid}.jar"/>
- -->
- <!-- END -->
- </fileset>
- </copy>
- </sequential>
- </macrodef>
-
<!-- ================================================================== -->
<!-- Deploy Server Lib -->
<!-- ================================================================== -->
-
- <macrodef name="macro-deploy-jbossws-server-lib50">
- <attribute name="thirdpartydir"/>
- <attribute name="targetdir"/>
- <attribute name="jbossid"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.server.lib.patternset"/>
- </fileset>
- </copy>
- </sequential>
- </macrodef>
-
- <macrodef name="macro-deploy-jbossws-server-lib51">
- <attribute name="thirdpartydir"/>
- <attribute name="targetdir"/>
- <attribute name="jbossid"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.server.lib.patternset"/>
- </fileset>
- </copy>
- </sequential>
- </macrodef>
- <macrodef name="macro-deploy-jbossws-server-lib52">
+ <macrodef name="macro-deploy-jbossws-server-lib">
<attribute name="thirdpartydir"/>
<attribute name="targetdir"/>
<attribute name="jbossid"/>
@@ -319,24 +187,10 @@
</sequential>
</macrodef>
- <macrodef name="macro-deploy-jbossws-server-lib60">
- <attribute name="thirdpartydir"/>
- <attribute name="targetdir"/>
- <attribute name="jbossid"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.server.lib.patternset"/>
- </fileset>
- </copy>
- </sequential>
- </macrodef>
-
<!-- ================================================================== -->
<!-- Deploy JUDDI Service -->
<!-- ================================================================== -->
-
+
<macrodef name="macro-deploy-juddi-sar">
<attribute name="thirdpartydir"/>
<attribute name="targetdir"/>
@@ -355,433 +209,148 @@
</copy>
</sequential>
</macrodef>
-
+
<!-- ================================================================== -->
- <!-- Deploy JBossWS Service -->
+ <!-- Deploy JBossWS Console -->
<!-- ================================================================== -->
-
- <macrodef name="macro-deploy-jbossws-sar50">
+
+ <macrodef name="macro-deploy-jbossws-deployment">
<attribute name="thirdpartydir"/>
- <attribute name="artifactsdir"/>
<attribute name="targetdir"/>
- <attribute name="jbossid"/>
<sequential>
<mkdir dir="@{targetdir}"/>
- <unzip dest="(a){targetdir}/jbossws-management.war">
+ <unzip dest="@{targetdir}">
<fileset dir="@{thirdpartydir}">
<include name="**/jbossws-metro-management.war"/>
</fileset>
</unzip>
</sequential>
</macrodef>
-
- <macrodef name="macro-deploy-jbossws-sar51">
+
+ <!-- ================================================================== -->
+ <!-- Deploy Deployers -->
+ <!-- ================================================================== -->
+
+ <macrodef name="macro-deploy-jbossws-deployers">
<attribute name="thirdpartydir"/>
<attribute name="artifactsdir"/>
<attribute name="targetdir"/>
<attribute name="jbossid"/>
<sequential>
<mkdir dir="@{targetdir}"/>
- <unzip dest="(a){targetdir}/jbossws-management.war">
+ <copy todir="@{targetdir}" flatten="true"
overwrite="true">
<fileset dir="@{thirdpartydir}">
- <include name="**/jbossws-metro-management.war"/>
+ <patternset refid="jbossws.service.lib.patternset"/>
</fileset>
- </unzip>
- </sequential>
- </macrodef>
-
- <macrodef name="macro-deploy-jbossws-sar52">
- <attribute name="thirdpartydir"/>
- <attribute name="artifactsdir"/>
- <attribute name="targetdir"/>
- <attribute name="jbossid"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <unzip dest="(a){targetdir}/jbossws-management.war">
+ </copy>
+ <copy todir="@{targetdir}">
+ <fileset
dir="@{artifactsdir}/resources/jbossws-(a){jbossid}/jbossws.beans">
+ <include name="META-INF/**"/>
+ </fileset>
+ </copy>
+ <copy todir="@{targetdir}" flatten="true"
overwrite="true">
<fileset dir="@{thirdpartydir}">
- <include name="**/jbossws-metro-management.war"/>
+ <include name="**/jbossws-common.jar"/>
+ <include name="**/jbossws-framework.jar"/>
</fileset>
- </unzip>
+ </copy>
+ <antcall target="modify-jboss-integration">
+ <param name="targetdir" value="@{targetdir}"/>
+ </antcall>
</sequential>
</macrodef>
- <macrodef name="macro-deploy-jbossws-sar60">
- <attribute name="thirdpartydir"/>
- <attribute name="artifactsdir"/>
- <attribute name="targetdir"/>
- <attribute name="jbossid"/>
+ <target name="modify-jboss-integration"
depends="process-jboss-integration" if="fixintegration">
<sequential>
- <mkdir dir="@{targetdir}"/>
- <unzip dest="(a){targetdir}/jbossws-management.war">
- <fileset dir="@{thirdpartydir}">
- <include name="**/jbossws-metro-management.war"/>
+ <copy todir="${targetdir}" flatten="true"
overwrite="true">
+ <fileset dir="${thirdpartydir}">
+ <include name="**/jbossws-${jbossid}.jar"/>
</fileset>
- </unzip>
+ </copy>
+ <copy todir="${targetdir}/META-INF" flatten="true"
overwrite="true">
+ <fileset dir="${artifactsdir}/resources/jbossws-${jbossid}">
+ <include name="**/stack-agnostic-jboss-beans.xml"/>
+ </fileset>
+ </copy>
</sequential>
- </macrodef>
-
- <!-- ================================================================== -->
- <!-- Deploy Deployers -->
- <!-- ================================================================== -->
+ </target>
- <macrodef name="macro-deploy-jbossws-deployers50">
- <attribute name="thirdpartydir"/>
- <attribute name="artifactsdir"/>
- <attribute name="targetdir"/>
- <attribute name="jbossid"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.service.lib.patternset"/>
- </fileset>
- </copy>
- <copy todir="@{targetdir}">
- <fileset
dir="@{artifactsdir}/resources/jbossws-(a){jbossid}/jbossws.beans">
- <include name="META-INF/**"/>
- </fileset>
- </copy>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <include name="**/jbossws-common.jar"/>
- <include name="**/jbossws-framework.jar"/>
- <include name="**/jbossws-(a){jbossid}.jar"/>
- </fileset>
- </copy>
- <copy todir="@{targetdir}/META-INF" flatten="true"
overwrite="true">
- <fileset dir="@{artifactsdir}/resources/jbossws-@{jbossid}">
- <include name="**/stack-agnostic-jboss-beans.xml"/>
- </fileset>
- </copy>
- </sequential>
- </macrodef>
-
- <macrodef name="macro-deploy-jbossws-deployers51">
- <attribute name="thirdpartydir"/>
- <attribute name="artifactsdir"/>
- <attribute name="targetdir"/>
- <attribute name="jbossid"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.service.lib.patternset"/>
- </fileset>
- </copy>
- <copy todir="@{targetdir}">
- <fileset
dir="@{artifactsdir}/resources/jbossws-(a){jbossid}/jbossws.beans">
- <include name="META-INF/**"/>
- </fileset>
- </copy>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <include name="**/jbossws-common.jar"/>
- <include name="**/jbossws-framework.jar"/>
- <include name="**/jbossws-(a){jbossid}.jar"/>
- </fileset>
- </copy>
- <copy todir="@{targetdir}/META-INF" flatten="true"
overwrite="true">
- <fileset dir="@{artifactsdir}/resources/jbossws-@{jbossid}">
- <include name="**/stack-agnostic-jboss-beans.xml"/>
- </fileset>
- </copy>
- </sequential>
- </macrodef>
-
- <macrodef name="macro-deploy-jbossws-deployers52">
- <attribute name="thirdpartydir"/>
- <attribute name="artifactsdir"/>
- <attribute name="targetdir"/>
- <attribute name="jbossid"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.service.lib.patternset"/>
- </fileset>
- </copy>
- <copy todir="@{targetdir}">
- <fileset
dir="@{artifactsdir}/resources/jbossws-(a){jbossid}/jbossws.beans">
- <include name="META-INF/**"/>
- </fileset>
- </copy>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <include name="**/jbossws-common.jar"/>
- <include name="**/jbossws-framework.jar"/>
- <!-- JBWS-2505 -->
- <!-- START -->
- <!--
- <include name="**/jbossws-(a){jbossid}.jar"/>
- -->
- <!-- END -->
- </fileset>
- </copy>
- <!-- JBWS-2505 -->
- <!-- START -->
- <!--
- <copy todir="@{targetdir}/META-INF" flatten="true"
overwrite="true">
- <fileset dir="@{artifactsdir}/resources/jbossws-@{jbossid}">
- <include name="**/stack-agnostic-jboss-beans.xml"/>
- </fileset>
- </copy>
- -->
- <!-- END -->
- </sequential>
- </macrodef>
-
- <macrodef name="macro-deploy-jbossws-deployers60">
- <attribute name="thirdpartydir"/>
- <attribute name="artifactsdir"/>
- <attribute name="targetdir"/>
- <attribute name="jbossid"/>
- <sequential>
- <mkdir dir="@{targetdir}"/>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <patternset refid="jbossws.service.lib.patternset"/>
- </fileset>
- </copy>
- <copy todir="@{targetdir}">
- <fileset
dir="@{artifactsdir}/resources/jbossws-(a){jbossid}/jbossws.beans">
- <include name="META-INF/**"/>
- </fileset>
- </copy>
- <copy todir="@{targetdir}" flatten="true"
overwrite="true">
- <fileset dir="@{thirdpartydir}">
- <include name="**/jbossws-common.jar"/>
- <include name="**/jbossws-framework.jar"/>
- <!-- JBWS-2505 -->
- <!-- START -->
- <!--
- <include name="**/jbossws-(a){jbossid}.jar"/>
- -->
- <!-- END -->
- </fileset>
- </copy>
- <!-- JBWS-2505 -->
- <!-- START -->
- <!--
- <copy todir="@{targetdir}/META-INF" flatten="true"
overwrite="true">
- <fileset dir="@{artifactsdir}/resources/jbossws-@{jbossid}">
- <include name="**/stack-agnostic-jboss-beans.xml"/>
- </fileset>
- </copy>
- -->
- <!-- END -->
- </sequential>
- </macrodef>
-
<!-- ================================================================== -->
<!-- Deploy JBossWS -->
<!-- ================================================================== -->
-
- <target name="deploy-jbossws-metro50"
depends="check-parameters">
- <macro-deploy-jbossws-bin targetdir="${installserver}/../../bin"
artifactsdir="${artifactsdir}"/>
- <macro-deploy-jbossws-client50 targetdir="${installserver}/../../client"
thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
- <macro-deploy-jbossws-lib50 targetdir="${installserver}/../../lib"
thirdpartydir="${thirdpartydir}"/>
- <macro-deploy-jbossws-endorsed
targetdir="${installserver}/../../lib/endorsed"
thirdpartydir="${thirdpartydir}"/>
- <macro-deploy-jbossws-server-lib50
targetdir="${installserver}/../../common/lib"
thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/> <!--
Please note the "../../common" to use common server lib! -->
- <macro-deploy-jbossws-sar50
targetdir="${installserver}/deploy/jbossws.sar"
artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}"
jbossid="${jbossid}"/>
- <macro-deploy-jbossws-deployers50
targetdir="${installserver}/deployers/jbossws.deployer/"
artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}"
jbossid="${jbossid}"/>
- <macro-deploy-juddi-sar
targetdir="${installserver}/deploy/juddi-service.sar"
thirdpartydir="${thirdpartydir}"/>
- </target>
-
- <target name="deploy-jbossws-metro51"
depends="check-parameters">
- <macro-deploy-jbossws-bin targetdir="${installserver}/../../bin"
artifactsdir="${artifactsdir}"/>
- <macro-deploy-jbossws-client51 targetdir="${installserver}/../../client"
thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
- <macro-deploy-jbossws-lib51 targetdir="${installserver}/../../lib"
thirdpartydir="${thirdpartydir}"/>
- <macro-deploy-jbossws-endorsed
targetdir="${installserver}/../../lib/endorsed"
thirdpartydir="${thirdpartydir}"/>
- <macro-deploy-jbossws-server-lib51
targetdir="${installserver}/../../common/lib"
thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/> <!--
Please note the "../../common" to use common server lib! -->
- <macro-deploy-jbossws-sar51
targetdir="${installserver}/deploy/jbossws.sar"
artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}"
jbossid="${jbossid}"/>
- <macro-deploy-jbossws-deployers51
targetdir="${installserver}/deployers/jbossws.deployer/"
artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}"
jbossid="${jbossid}"/>
- <macro-deploy-juddi-sar
targetdir="${installserver}/deploy/juddi-service.sar"
thirdpartydir="${thirdpartydir}"/>
- </target>
- <target name="deploy-jbossws-metro52"
depends="check-parameters">
- <macro-deploy-jbossws-bin targetdir="${installserver}/../../bin"
artifactsdir="${artifactsdir}"/>
- <macro-deploy-jbossws-client52 targetdir="${installserver}/../../client"
thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
- <macro-deploy-jbossws-lib52 targetdir="${installserver}/../../lib"
thirdpartydir="${thirdpartydir}"/>
- <macro-deploy-jbossws-endorsed
targetdir="${installserver}/../../lib/endorsed"
thirdpartydir="${thirdpartydir}"/>
- <macro-deploy-jbossws-server-lib52
targetdir="${installserver}/../../common/lib"
thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/> <!--
Please note the "../../common" to use common server lib! -->
- <macro-deploy-jbossws-sar52
targetdir="${installserver}/deploy/jbossws.sar"
artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}"
jbossid="${jbossid}"/>
- <macro-deploy-jbossws-deployers52
targetdir="${installserver}/deployers/jbossws.deployer/"
artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}"
jbossid="${jbossid}"/>
- <macro-deploy-juddi-sar
targetdir="${installserver}/deploy/juddi-service.sar"
thirdpartydir="${thirdpartydir}"/>
+ <target name="check-parameters">
+ <fail message="installserver must be specified"
unless="installserver"/>
+ <fail message="artifactsdir must be specified"
unless="artifactsdir"/>
+ <fail message="thirdpartydir must be specified"
unless="thirdpartydir"/>
+ <fail message="modifyjbossintegration must be specified"
unless="modifyjbossintegration"/>
</target>
- <target name="deploy-jbossws-metro60"
depends="check-parameters">
+ <target name="deploy-jbossws-metro"
depends="check-parameters">
<macro-deploy-jbossws-bin targetdir="${installserver}/../../bin"
artifactsdir="${artifactsdir}"/>
- <macro-deploy-jbossws-client60 targetdir="${installserver}/../../client"
thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
- <macro-deploy-jbossws-lib60 targetdir="${installserver}/../../lib"
thirdpartydir="${thirdpartydir}"/>
+ <macro-deploy-jbossws-client targetdir="${installserver}/../../client"
thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
+ <macro-deploy-jbossws-lib targetdir="${installserver}/../../lib"
thirdpartydir="${thirdpartydir}"/>
<macro-deploy-jbossws-endorsed
targetdir="${installserver}/../../lib/endorsed"
thirdpartydir="${thirdpartydir}"/>
- <macro-deploy-jbossws-server-lib60
targetdir="${installserver}/../../common/lib"
thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/> <!--
Please note the "../../common" to use common server lib! -->
- <macro-deploy-jbossws-sar60
targetdir="${installserver}/deploy/jbossws.sar"
artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}"
jbossid="${jbossid}"/>
- <macro-deploy-jbossws-deployers60
targetdir="${installserver}/deployers/jbossws.deployer/"
artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}"
jbossid="${jbossid}"/>
+ <macro-deploy-jbossws-server-lib
targetdir="${installserver}/../../common/lib"
thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
+ <macro-deploy-jbossws-deployment
targetdir="${installserver}/deploy/jbossws-console.war"
thirdpartydir="${thirdpartydir}"/>
+ <macro-deploy-jbossws-deployers
targetdir="${installserver}/deployers/jbossws.deployer/"
artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}"
jbossid="${jbossid}"/>
<macro-deploy-juddi-sar
targetdir="${installserver}/deploy/juddi-service.sar"
thirdpartydir="${thirdpartydir}"/>
</target>
-
- <target name="check-parameters">
- <fail message="installserver must be specified"
unless="installserver"/>
- <fail message="artifactsdir must be specified"
unless="artifactsdir"/>
- <fail message="thirdpartydir must be specified"
unless="thirdpartydir"/>
- </target>
-
+
+
<!-- ================================================================== -->
<!-- Undeploy JBossWS -->
<!-- ================================================================== -->
-
- <macrodef name="macro-undeploy-jbossws50">
- <attribute name="defaultconf"/>
- <attribute name="targetdir"/>
- <sequential>
- <loadfile property="jbossws.deploy.conf"
srcfile="(a){targetdir}/jbossws-deploy.conf" failonerror="false"/>
- <loadfile property="jbossws.deploy.conf"
srcfile="@{defaultconf}" failonerror="false"/>
- <property name="jboss.server.home"
value="@{targetdir}/../.."/>
- <property name="jboss.home"
value="${jboss.server.home}/../.."/>
- <available property="jboss.undeploy.client"
file="${jboss.home}/client"/>
- <fail message="Cannot find ${jboss.home}/client"
unless="jboss.undeploy.client"/>
-
- <!-- delete stale container integration jars -->
- <delete>
- <fileset dir="${jboss.server.home}">
- <include name="**/jbossws-jboss*.jar"/>
- </fileset>
- <fileset dir="${jboss.home}/client">
- <include name="jbossws-jboss*.jar"/>
- </fileset>
- </delete>
-
- <!-- delete content of last deployment -->
- <delete>
- <fileset dir="${jboss.home}"
includes="${jbossws.deploy.conf}"/>
- </delete>
-
- <!-- delete jbossws.sar -->
- <delete dir="@{targetdir}"/>
-
- <!-- delete juddi-service.sar -->
- <delete dir="@{targetdir}/../juddi-service.sar"/>
-
- </sequential>
- </macrodef>
-
- <macrodef name="macro-undeploy-jbossws51">
+ <macrodef name="macro-undeploy-jbossws">
<attribute name="defaultconf"/>
<attribute name="targetdir"/>
+ <attribute name="modifyjbossintegration"/>
<sequential>
- <loadfile property="jbossws.deploy.conf"
srcfile="(a){targetdir}/jbossws-deploy.conf" failonerror="false"/>
+ <loadfile property="jbossws.deploy.conf"
srcfile="(a){targetdir}/deploy/jbossws.sar/jbossws-deploy.conf"
failonerror="false"/>
+ <loadfile property="jbossws.deploy.conf"
srcfile="(a){targetdir}/deployers/jbossws.deployer/jbossws-deploy.conf"
failonerror="false"/>
<loadfile property="jbossws.deploy.conf"
srcfile="@{defaultconf}" failonerror="false"/>
- <property name="jboss.server.home"
value="@{targetdir}/../.."/>
+ <property name="jboss.server.home"
value="@{targetdir}"/>
<property name="jboss.home"
value="${jboss.server.home}/../.."/>
<available property="jboss.undeploy.client"
file="${jboss.home}/client"/>
<fail message="Cannot find ${jboss.home}/client"
unless="jboss.undeploy.client"/>
- <!-- delete stale container integration jars -->
- <delete>
+ <delete includeemptydirs="true">
<fileset dir="${jboss.server.home}">
- <include name="**/jbossws-jboss*.jar"/>
+ <include name="**/jbossws.sar/**"/>
+ <include name="**/juddi-service.sar/**"/>
+ <include name="**/jbossws-console.war/**"/>
</fileset>
- <fileset dir="${jboss.home}/client">
- <include name="jbossws-jboss*.jar"/>
- </fileset>
</delete>
+ <antcall target="remove-jboss-integration">
+ <param name="modifyjbossintegration"
value="@{modifyjbossintegration}"/>
+ </antcall>
<!-- delete content of last deployment -->
<delete>
<fileset dir="${jboss.home}"
includes="${jbossws.deploy.conf}"/>
</delete>
-
- <!-- delete jbossws.sar -->
- <delete dir="@{targetdir}"/>
-
- <!-- delete juddi-service.sar -->
- <delete dir="@{targetdir}/../juddi-service.sar"/>
-
</sequential>
</macrodef>
- <macrodef name="macro-undeploy-jbossws52">
- <attribute name="defaultconf"/>
- <attribute name="targetdir"/>
- <sequential>
- <loadfile property="jbossws.deploy.conf"
srcfile="(a){targetdir}/jbossws-deploy.conf" failonerror="false"/>
- <loadfile property="jbossws.deploy.conf"
srcfile="@{defaultconf}" failonerror="false"/>
+ <target name="remove-jboss-integration"
depends="process-jboss-integration" if="fixintegration">
+ <delete>
+ <fileset dir="${jboss.server.home}">
+ <include name="**/jbossws-jboss*.jar"/>
+ </fileset>
+ <fileset dir="${jboss.home}/client">
+ <include name="**/jbossws-jboss*.jar"/>
+ </fileset>
+ </delete>
+ </target>
- <property name="jboss.server.home"
value="@{targetdir}/../.."/>
- <property name="jboss.home"
value="${jboss.server.home}/../.."/>
- <available property="jboss.undeploy.client"
file="${jboss.home}/client"/>
- <fail message="Cannot find ${jboss.home}/client"
unless="jboss.undeploy.client"/>
+ <target name="process-jboss-integration">
+ <condition property="fixintegration">
+ <and>
+ <istrue value="${modifyjbossintegration}"/>
+ </and>
+ </condition>
+ </target>
- <!-- JBWS-2505 -->
- <!-- START -->
- <!-- delete stale container integration jars -->
- <!--
- <delete>
- <fileset dir="${jboss.server.home}">
- <include name="**/jbossws-jboss*.jar"/>
- </fileset>
- <fileset dir="${jboss.home}/client">
- <include name="jbossws-jboss*.jar"/>
- </fileset>
- </delete>
- -->
- <!-- END -->
-
- <!-- delete content of last deployment -->
- <delete>
- <fileset dir="${jboss.home}"
includes="${jbossws.deploy.conf}"/>
- </delete>
-
- <!-- delete jbossws.sar -->
- <delete dir="@{targetdir}"/>
-
- <!-- delete juddi-service.sar -->
- <delete dir="@{targetdir}/../juddi-service.sar"/>
-
- </sequential>
- </macrodef>
-
- <macrodef name="macro-undeploy-jbossws60">
- <attribute name="defaultconf"/>
- <attribute name="targetdir"/>
- <sequential>
- <loadfile property="jbossws.deploy.conf"
srcfile="(a){targetdir}/jbossws-deploy.conf" failonerror="false"/>
- <loadfile property="jbossws.deploy.conf"
srcfile="@{defaultconf}" failonerror="false"/>
-
- <property name="jboss.server.home"
value="@{targetdir}/../.."/>
- <property name="jboss.home"
value="${jboss.server.home}/../.."/>
- <available property="jboss.undeploy.client"
file="${jboss.home}/client"/>
- <fail message="Cannot find ${jboss.home}/client"
unless="jboss.undeploy.client"/>
-
- <!-- JBWS-2505 -->
- <!-- START -->
- <!-- delete stale container integration jars -->
- <!--
- <delete>
- <fileset dir="${jboss.server.home}">
- <include name="**/jbossws-jboss*.jar"/>
- </fileset>
- <fileset dir="${jboss.home}/client">
- <include name="jbossws-jboss*.jar"/>
- </fileset>
- </delete>
- -->
- <!-- END -->
-
- <!-- delete content of last deployment -->
- <delete>
- <fileset dir="${jboss.home}"
includes="${jbossws.deploy.conf}"/>
- </delete>
-
- <!-- delete jbossws.sar -->
- <delete dir="@{targetdir}"/>
-
- <!-- delete juddi-service.sar -->
- <delete dir="@{targetdir}/../juddi-service.sar"/>
-
- </sequential>
- </macrodef>
-
</project>
Modified:
stack/metro/trunk/modules/resources/src/main/resources/resources/standard-deploy.conf
===================================================================
---
stack/metro/trunk/modules/resources/src/main/resources/resources/standard-deploy.conf 2009-12-08
12:34:02 UTC (rev 11202)
+++
stack/metro/trunk/modules/resources/src/main/resources/resources/standard-deploy.conf 2009-12-08
13:18:13 UTC (rev 11203)
@@ -1 +1 @@
-bin/wsconsume.bat bin/wsconsume.sh bin/wsprovide.bat bin/wsprovide.sh bin/wsrunclient.bat
bin/wsrunclient.sh bin/wstools.bat bin/wstools.sh client/jettison.jar client/jaxb-api.jar
client/jaxb-impl.jar client/jaxb-xjc.jar client/jaxws-rt.jar client/jaxws-tools.jar
client/jboss-jaxrpc.jar client/jboss-jaxws-ext.jar client/jboss-jaxws.jar
client/jboss-saaj.jar client/jbossws-native-jaxrpc.jar client/jbossws-native-jaxws-ext.jar
client/jbossws-native-jaxws.jar client/jaxws-api.jar client/jsr181-api.jar
client/jbossws-native-saaj.jar client/jbossws-client.jar client/jbossws-native-client.jar
client/jbossws-native-core.jar client/jbossws-common.jar client/jbossws-framework.jar
client/jbossws-spi.jar client/netty.jar client/policy.jar client/stax-ex.jar
client/streambuffer.jar client/wsdl4j.jar lib/jaxb-api.jar lib/jaxb-impl.jar
common/lib/jboss-jaxrpc.jar common/lib/jboss-jaxws-ext.jar common/lib/jboss-jaxws.jar
common/lib/jboss-saaj.jar common/lib/jbossws-native-jaxrpc.jar commo!
n/lib/jbossws-native-jaxws-ext.jar common/lib/jbossws-native-jaxws.jar
common/lib/jaxws-api.jar common/lib/jsr181-api.jar common/lib/jbossws-native-saaj.jar
common/lib/jbossws-common.jar common/lib/jbossws-framework.jar common/lib/jbossws-spi.jar
lib/endorsed/jbossws-native-* lib/endorsed/jaxb-api.jar server/standard/deploy/jbossws.sar
server/standard/deploy/juddi-service.sar
server/standard/deploy/jbossws-container-jboss-beans.xml
server/standard/deployers/jbossws.deployer/FastInfoset.jar
server/standard/deployers/jbossws.deployer/jboss-jaxb-intros.jar
server/standard/deployers/jbossws.deployer/jbossws-native-core.jar
server/standard/deployers/jbossws.deployer/jettison.jar
server/standard/deployers/jbossws.deployer/netty.jar
server/standard/deployers/jbossws.deployer/policy.jar
server/standard/deployers/jbossws.deployer/wsdl4j.jar
server/standard/deployers/jbossws.deployer/xmlsec.jar
server/standard/deployers/jbossws.deployer/META-INF/jboss-beans.xml
server/standard/deploy!
ers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml!
server/
standard/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml
server/standard/deployers/jbossws.deployer/META-INF/standard-*-config.xml
server/standard/deploy/jbossws.sar server/standard/deploy/juddi-service.sar
server/standard/deploy/jbossws-container-jboss-beans.xml
server/standard/deployers/jbossws.deployer/FastInfoset.jar
server/standard/deployers/jbossws.deployer/jboss-jaxb-intros.jar
server/standard/deployers/jbossws.deployer/jbossws-native-core.jar
server/standard/deployers/jbossws.deployer/jettison.jar
server/standard/deployers/jbossws.deployer/netty.jar
server/standard/deployers/jbossws.deployer/policy.jar
server/standard/deployers/jbossws.deployer/wsdl4j.jar
server/standard/deployers/jbossws.deployer/xmlsec.jar
server/standard/deployers/jbossws.deployer/META-INF/jboss-beans.xml
server/standard/deployers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml
server/standard/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml se!
rver/standard/deployers/jbossws.deployer/META-INF/standard-*-config.xml
+bin/wsconsume.bat bin/wsconsume.sh bin/wsprovide.bat bin/wsprovide.sh bin/wsrunclient.bat
bin/wsrunclient.sh bin/wstools.bat bin/wstools.sh client/jettison.jar client/jaxb-api.jar
client/jaxb-impl.jar client/jaxb-xjc.jar client/jaxws-rt.jar client/jaxws-tools.jar
client/jboss-jaxrpc.jar client/jboss-jaxws-ext.jar client/jboss-jaxws.jar
client/jboss-saaj.jar client/jbossws-native-jaxrpc.jar client/jbossws-native-jaxws-ext.jar
client/jbossws-native-jaxws.jar client/jaxws-api.jar client/jsr181-api.jar
client/jbossws-native-saaj.jar client/jbossws-client.jar client/jbossws-native-client.jar
client/jbossws-native-core.jar client/jbossws-common.jar client/jbossws-framework.jar
client/jbossws-spi.jar client/netty.jar client/policy.jar client/stax-ex.jar
client/streambuffer.jar client/wsdl4j.jar lib/jaxb-api.jar lib/jaxb-impl.jar
common/lib/jboss-jaxrpc.jar common/lib/jboss-jaxws-ext.jar common/lib/jboss-jaxws.jar
common/lib/jboss-saaj.jar common/lib/jbossws-native-jaxrpc.jar commo!
n/lib/jbossws-native-jaxws-ext.jar common/lib/jbossws-native-jaxws.jar
common/lib/jaxws-api.jar common/lib/jsr181-api.jar common/lib/jbossws-native-saaj.jar
common/lib/jbossws-common.jar common/lib/jbossws-framework.jar common/lib/jbossws-spi.jar
lib/endorsed/jbossws-native-* lib/endorsed/jaxb-api.jar server/standard/deploy/jbossws.sar
server/standard/deploy/juddi-service.sar
server/standard/deploy/jbossws-container-jboss-beans.xml
server/standard/deployers/jbossws.deployer/FastInfoset.jar
server/standard/deployers/jbossws.deployer/jboss-jaxb-intros.jar
server/standard/deployers/jbossws.deployer/jbossws-native-core.jar
server/standard/deployers/jbossws.deployer/jettison.jar
server/standard/deployers/jbossws.deployer/netty.jar
server/standard/deployers/jbossws.deployer/policy.jar
server/standard/deployers/jbossws.deployer/wsdl4j.jar
server/standard/deployers/jbossws.deployer/xmlsec.jar
server/standard/deployers/jbossws.deployer/META-INF/jboss-beans.xml
server/standard/deploy!
ers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml!
server/
standard/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml
server/standard/deployers/jbossws.deployer/META-INF/standard-*-config.xml
server/standard/deploy/jbossws-console.war
server/standard/deploy/jbossws-container-jboss-beans.xml
server/standard/deployers/jbossws.deployer/FastInfoset.jar
server/standard/deployers/jbossws.deployer/jboss-jaxb-intros.jar
server/standard/deployers/jbossws.deployer/jbossws-native-core.jar
server/standard/deployers/jbossws.deployer/jettison.jar
server/standard/deployers/jbossws.deployer/netty.jar
server/standard/deployers/jbossws.deployer/policy.jar
server/standard/deployers/jbossws.deployer/wsdl4j.jar
server/standard/deployers/jbossws.deployer/xmlsec.jar
server/standard/deployers/jbossws.deployer/META-INF/jboss-beans.xml
server/standard/deployers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml
server/standard/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml
server/standard/deployers/jbossws.d!
eployer/META-INF/standard-*-config.xml
Modified: stack/metro/trunk/src/main/distro/build-deploy.xml
===================================================================
--- stack/metro/trunk/src/main/distro/build-deploy.xml 2009-12-08 12:34:02 UTC (rev
11202)
+++ stack/metro/trunk/src/main/distro/build-deploy.xml 2009-12-08 13:18:13 UTC (rev
11203)
@@ -17,11 +17,12 @@
<target name="deploy-structure-jboss50"
depends="prepare-deploy">
<delete dir="${deploy.structure}"/>
- <antcall target="deploy-jbossws-metro50"
inheritall="false">
+ <antcall target="deploy-jbossws-metro" inheritall="false">
<param name="installserver"
value="${deploy.structure}/server/${jboss.server.instance}"/>
<param name="jbossid"
value="${jbossws.integration.target}"/>
<param name="artifactsdir"
value="${deploy.artifacts.dir}"/>
<param name="thirdpartydir"
value="${deploy.artifacts.dir}"/>
+ <param name="modifyjbossintegration" value="true"/>
</antcall>
<macro-create-deploy-conf deploystructure="${deploy.structure}"/>
</target>
@@ -47,7 +48,7 @@
<target name="undeploy-jboss500" depends="target-jboss500,init"
description="Remove jbossws from jboss500">
<fail message="Not available: ${jboss500.available.file}"
unless="jboss500.available"/>
- <macro-undeploy-jbossws50
targetdir="${jboss500.server.deploy}/jbossws.sar"
defaultconf="${jbossws.default.deploy.conf}"/>
+ <macro-undeploy-jbossws targetdir="${jboss500.server}"
defaultconf="${jbossws.default.deploy.conf}"
modifyjbossintegration="true"/>
</target>
<!-- ================================================================== -->
@@ -71,7 +72,7 @@
<target name="undeploy-jboss501" depends="target-jboss501,init"
description="Remove jbossws from jboss501">
<fail message="Not available: ${jboss501.available.file}"
unless="jboss501.available"/>
- <macro-undeploy-jbossws50
targetdir="${jboss501.server.deploy}/jbossws.sar"
defaultconf="${jbossws.default.deploy.conf}"/>
+ <macro-undeploy-jbossws targetdir="${jboss501.server}"
defaultconf="${jbossws.default.deploy.conf}"
modifyjbossintegration="true"/>
</target>
<!-- ================================================================== -->
@@ -80,11 +81,12 @@
<target name="deploy-structure-jboss51"
depends="prepare-deploy">
<delete dir="${deploy.structure}"/>
- <antcall target="deploy-jbossws-metro51"
inheritall="false">
+ <antcall target="deploy-jbossws-metro" inheritall="false">
<param name="installserver"
value="${deploy.structure}/server/${jboss.server.instance}"/>
<param name="jbossid"
value="${jbossws.integration.target}"/>
<param name="artifactsdir"
value="${deploy.artifacts.dir}"/>
<param name="thirdpartydir"
value="${deploy.artifacts.dir}"/>
+ <param name="modifyjbossintegration" value="true"/>
</antcall>
<macro-create-deploy-conf deploystructure="${deploy.structure}"/>
</target>
@@ -110,7 +112,7 @@
<target name="undeploy-jboss510" depends="target-jboss510,init"
description="Remove jbossws from jboss510">
<fail message="Not available: ${jboss510.available.file}"
unless="jboss510.available"/>
- <macro-undeploy-jbossws51
targetdir="${jboss510.server.deploy}/jbossws.sar"
defaultconf="${jbossws.default.deploy.conf}"/>
+ <macro-undeploy-jbossws targetdir="${jboss510.server}"
defaultconf="${jbossws.default.deploy.conf}"
modifyjbossintegration="true"/>
</target>
<!-- ================================================================== -->
@@ -119,11 +121,12 @@
<target name="deploy-structure-jboss52"
depends="prepare-deploy">
<delete dir="${deploy.structure}"/>
- <antcall target="deploy-jbossws-metro52"
inheritall="false">
+ <antcall target="deploy-jbossws-metro" inheritall="false">
<param name="installserver"
value="${deploy.structure}/server/${jboss.server.instance}"/>
<param name="jbossid"
value="${jbossws.integration.target}"/>
<param name="artifactsdir"
value="${deploy.artifacts.dir}"/>
<param name="thirdpartydir"
value="${deploy.artifacts.dir}"/>
+ <param name="modifyjbossintegration"
value="false"/><!-- [JBWS-2505] -->
</antcall>
<macro-create-deploy-conf deploystructure="${deploy.structure}"/>
</target>
@@ -149,7 +152,7 @@
<target name="undeploy-jboss520" depends="target-jboss520,init"
description="Remove jbossws from jboss520">
<fail message="Not available: ${jboss520.available.file}"
unless="jboss520.available"/>
- <macro-undeploy-jbossws52
targetdir="${jboss520.server.deploy}/jbossws.sar"
defaultconf="${jbossws.default.deploy.conf}"/>
+ <macro-undeploy-jbossws targetdir="${jboss520.server}"
defaultconf="${jbossws.default.deploy.conf}"
modifyjbossintegration="false"/><!-- [JBWS-2505] -->
</target>
<!-- ================================================================== -->
@@ -158,11 +161,12 @@
<target name="deploy-structure-jboss60"
depends="prepare-deploy">
<delete dir="${deploy.structure}"/>
- <antcall target="deploy-jbossws-metro60"
inheritall="false">
+ <antcall target="deploy-jbossws-metro" inheritall="false">
<param name="installserver"
value="${deploy.structure}/server/${jboss.server.instance}"/>
<param name="jbossid"
value="${jbossws.integration.target}"/>
<param name="artifactsdir"
value="${deploy.artifacts.dir}"/>
<param name="thirdpartydir"
value="${deploy.artifacts.dir}"/>
+ <param name="modifyjbossintegration"
value="false"/><!-- [JBWS-2505] -->
</antcall>
<macro-create-deploy-conf deploystructure="${deploy.structure}"/>
</target>
@@ -188,7 +192,7 @@
<target name="undeploy-jboss600" depends="target-jboss600,init"
description="Remove jbossws from jboss600">
<fail message="Not available: ${jboss600.available.file}"
unless="jboss600.available"/>
- <macro-undeploy-jbossws60
targetdir="${jboss600.server.deploy}/jbossws.sar"
defaultconf="${jbossws.default.deploy.conf}"/>
+ <macro-undeploy-jbossws targetdir="${jboss600.server}"
defaultconf="${jbossws.default.deploy.conf}"
modifyjbossintegration="false"/><!-- [JBWS-2505] -->
</target>
<!-- ================================================================== -->
@@ -198,11 +202,11 @@
<macrodef name="macro-create-deploy-conf">
<attribute name="deploystructure"/>
<sequential>
- <fileset id="jbossws.deploy.fileset"
dir="@{deploystructure}"
excludes="**/jbossws.sar/**,**/juddi-service.sar/**"/>
+ <fileset id="jbossws.deploy.fileset"
dir="@{deploystructure}" excludes="**/juddi-service.sar/**"/>
<property name="jbossws.deploy.fileset"
refid="jbossws.deploy.fileset"/>
- <property name="jbossws.sar.dir"
value="(a){deploystructure}/server/${jboss.server.instance}/deploy/jbossws.sar"/>
- <echo file="${jbossws.sar.dir}/jbossws-deploy.conf"
message="${jbossws.deploy.fileset}"/>
- <replace file="${jbossws.sar.dir}/jbossws-deploy.conf"
token=";" value=" "/>
+ <property name="jbossws.deployers.dir"
value="(a){deploystructure}/server/${jboss.server.instance}/deployers/jbossws.deployer"/>
+ <echo file="${jbossws.deployers.dir}/jbossws-deploy.conf"
message="${jbossws.deploy.fileset}"/>
+ <replace file="${jbossws.deployers.dir}/jbossws-deploy.conf"
token=";" value=" "/>
</sequential>
</macrodef>