Author: heiko.braun(a)jboss.com
Date: 2007-11-06 10:40:19 -0500 (Tue, 06 Nov 2007)
New Revision: 4997
Modified:
stack/native/branches/jbossws-native-2.0.2/ant-import/build-deploy.xml
stack/native/branches/jbossws-native-2.0.2/ant-import/macros-deploy-native.xml
Log:
Include jboss423 targets
Modified: stack/native/branches/jbossws-native-2.0.2/ant-import/build-deploy.xml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/ant-import/build-deploy.xml 2007-11-06
13:59:50 UTC (rev 4996)
+++ stack/native/branches/jbossws-native-2.0.2/ant-import/build-deploy.xml 2007-11-06
15:40:19 UTC (rev 4997)
@@ -67,30 +67,46 @@
<!-- Deploy jbossws to jboss422 -->
<target name="deploy-jboss422"
depends="jars-jboss42,undeploy-jboss422,deploy-jboss422-endorsed"
description="Deploy jbossws to jboss422">
- <macro-deploy-native422
- stacklibs="${core.dir}/output/lib"
- thirdpartylibs="${core.dir}/thirdparty"/>
- <macro-deploy-framework
- thirdpartylibs="${core.dir}/thirdparty"
- jbosshome="${jboss422.home}"/>
+ <fail message="Not available: ${jboss422.available.file}"
unless="jboss422.available"/>
+ <macro-deploy-native422 jbosshome="${jboss422.home}"
stacklibs="${core.dir}/output/lib"
thirdpartylibs="${core.dir}/thirdparty"/>
+ <macro-deploy-framework thirdpartylibs="${core.dir}/thirdparty"
jbosshome="${jboss422.home}"/>
</target>
<target name="deploy-jboss422-endorsed" depends="prepare"
if="HAVE_JDK_1.6">
- <macro-deploy-endorsed
- jbosshome="${jboss422.home}"
- stacklibs="${core.dir}/output/lib"
- thirdpartylibs="${core.dir}/thirdparty"/>
+ <macro-deploy-endorsed jbosshome="${jboss422.home}"
stacklibs="${core.dir}/output/lib"
thirdpartylibs="${core.dir}/thirdparty"/>
</target>
<!-- Remove jbossws from jboss422 -->
<target name="undeploy-jboss422"
depends="prepare,undeploy-jboss422-endorsed" description="Remove jbossws
from jboss422">
- <macro-undeploy-native422/>
+ <fail message="Not available: ${jboss422.available.file}"
unless="jboss422.available"/>
+ <macro-undeploy-native422 jbosshome="${jboss422.home}"/>
<macro-undeploy-framework jbosshome="${jboss422.home}"/>
</target>
<target name="undeploy-jboss422-endorsed"
depends="prepare">
<macro-undeploy-endorsed jbosshome="${jboss422.home}"/>
</target>
+ <!-- Deploy jbossws to jboss423 -->
+ <target name="deploy-jboss423"
depends="jars-jboss42,undeploy-jboss423,deploy-jboss423-endorsed"
description="Deploy jbossws to jboss423">
+ <!--fail message="Not available: ${jboss422.available.file}"
unless="jboss422.available"/-->
+ <macro-deploy-native422 jbosshome="${jboss423.home}"
stacklibs="${core.dir}/output/lib"
thirdpartylibs="${core.dir}/thirdparty"/>
+ <macro-deploy-framework thirdpartylibs="${core.dir}/thirdparty"
jbosshome="${jboss423.home}"/>
+ </target>
+
+ <target name="deploy-jboss423-endorsed" depends="prepare"
if="HAVE_JDK_1.6">
+ <macro-deploy-endorsed jbosshome="${jboss423.home}"
stacklibs="${core.dir}/output/lib"
thirdpartylibs="${core.dir}/thirdparty"/>
+ </target>
+
+ <!-- Remove jbossws from jboss423 -->
+ <target name="undeploy-jboss423"
depends="prepare,undeploy-jboss423-endorsed" description="Remove jbossws
from jboss423">
+ <!--fail message="Not available: ${jboss422.available.file}"
unless="jboss422.available"/-->
+ <macro-undeploy-native422 jbosshome="${jboss423.home}"/>
+ <macro-undeploy-framework jbosshome="${jboss423.home}"/>
+ </target>
+ <target name="undeploy-jboss423-endorsed" depends="prepare">
+ <macro-undeploy-endorsed jbosshome="${jboss423.home}"/>
+ </target>
+
<!-- Deploy jbossws to jboss500 -->
<target name="deploy-jboss500"
depends="jars-jboss50,undeploy-jboss500,deploy-jboss500-endorsed"
description="Deploy jbossws to jboss500">
<macro-deploy-native500
Modified: stack/native/branches/jbossws-native-2.0.2/ant-import/macros-deploy-native.xml
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/ant-import/macros-deploy-native.xml 2007-11-06
13:59:50 UTC (rev 4996)
+++
stack/native/branches/jbossws-native-2.0.2/ant-import/macros-deploy-native.xml 2007-11-06
15:40:19 UTC (rev 4997)
@@ -309,15 +309,16 @@
<macrodef name="macro-deploy-native422">
<attribute name="stacklibs"/>
<attribute name="thirdpartylibs"/>
+ <attribute name="jbosshome"/>
<sequential>
- <fail message="Not available: ${jboss422.available.file}"
unless="jboss422.available"/>
+
<!-- BIN SCRIPTS -->
- <unzip dest="${jboss422.home}/bin"
src="(a){stacklibs}/jbossws-core-scripts.zip"/>
- <chmod dir="${jboss422.home}/bin" perm="+x"
includes="*.sh"/>
+ <unzip dest="@{jbosshome}/bin"
src="(a){stacklibs}/jbossws-core-scripts.zip"/>
+ <chmod dir="@{jbosshome}/bin" perm="+x"
includes="*.sh"/>
<!-- CLIENT JARS -->
- <copy todir="${jboss422.home}/client" overwrite="true">
+ <copy todir="@{jbosshome}/client" overwrite="true">
<fileset dir="@{stacklibs}">
<include name="jboss-jaxrpc.jar"/>
<include name="jboss-jaxws.jar"/>
@@ -339,20 +340,20 @@
</copy>
<!-- SERVER JARS -->
- <mkdir
dir="${jboss422.home}/server/${jboss.server.instance}/deploy/jbossws.sar"/>
- <unjar
dest="${jboss422.home}/server/${jboss.server.instance}/deploy/jbossws.sar"
src="(a){stacklibs}/jbossws-native42.sar"/>
- <mkdir
dir="${jboss422.home}/server/${jboss.server.instance}/deploy/juddi-service.sar"/>
- <unzip
dest="${jboss422.home}/server/${jboss.server.instance}/deploy/juddi-service.sar"
src="(a){thirdpartylibs}/juddi-service.sar"/>
+ <mkdir
dir="(a){jbosshome}/server/${jboss.server.instance}/deploy/jbossws.sar"/>
+ <unjar
dest="(a){jbosshome}/server/${jboss.server.instance}/deploy/jbossws.sar"
src="(a){stacklibs}/jbossws-native42.sar"/>
+ <mkdir
dir="(a){jbosshome}/server/${jboss.server.instance}/deploy/juddi-service.sar"/>
+ <unzip
dest="(a){jbosshome}/server/${jboss.server.instance}/deploy/juddi-service.sar"
src="(a){thirdpartylibs}/juddi-service.sar"/>
</sequential>
</macrodef>
<macrodef name="macro-undeploy-native422">
+ <attribute name="jbosshome"/>
<sequential>
- <fail message="Not available: ${jboss422.available.file}"
unless="jboss422.available"/>
<delete>
<!-- BIN SCRIPTS -->
- <fileset dir="${jboss422.home}/bin">
+ <fileset dir="@{jbosshome}/bin">
<include name="wsconsume.*"/>
<include name="wsprovide.*"/>
<include name="wsrunclient.*"/>
@@ -360,7 +361,7 @@
</fileset>
<!-- CLIENT JARS -->
- <fileset dir="${jboss422.home}/client">
+ <fileset dir="@{jbosshome}/client">
<include name="jaxb-api.jar"/>
<include name="jaxb-impl.jar"/>
<include name="jaxb-xjc.jar"/>
@@ -380,14 +381,14 @@
</fileset>
<!-- SERVER JARS -->
- <fileset dir="${jboss422.home}/lib/endorsed">
+ <fileset dir="@{jbosshome}/lib/endorsed">
<include name="jaxb-api.jar"/>
</fileset>
- <fileset dir="${jboss422.home}/lib">
+ <fileset dir="@{jbosshome}/lib">
<!-- Remove only, do not deploy -->
<include name="jbossws-integration.jar"/>
</fileset>
- <fileset
dir="${jboss422.home}/server/${jboss.server.instance}/lib">
+ <fileset dir="(a){jbosshome}/server/${jboss.server.instance}/lib">
<include name="jboss-jaxrpc.jar"/>
<include name="jboss-jaxws.jar"/>
<include name="jboss-jaxws-ext.jar"/>
@@ -396,8 +397,8 @@
<include name="jbossws-integration.jar"/>
</fileset>
</delete>
- <delete
dir="${jboss422.home}/server/${jboss.server.instance}/deploy/jbossws.sar"/>
- <delete
dir="${jboss422.home}/server/${jboss.server.instance}/deploy/juddi-service.sar"/>
+ <delete
dir="(a){jbosshome}/server/${jboss.server.instance}/deploy/jbossws.sar"/>
+ <delete
dir="(a){jbosshome}/server/${jboss.server.instance}/deploy/juddi-service.sar"/>
</sequential>
</macrodef>
@@ -509,4 +510,4 @@
</sequential>
</macrodef>
-</project>
\ No newline at end of file
+</project>
Show replies by date