[jboss-svn-commits] JBL Code SVN: r38444 - in labs/jbosstm/branches/JBOSSTS_4_6_1_GA_CP/XTS: WS-T and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Feb 28 05:16:11 EST 2014


Author: gytis
Date: 2014-02-28 05:16:11 -0500 (Fri, 28 Feb 2014)
New Revision: 38444

Modified:
   labs/jbosstm/branches/JBOSSTS_4_6_1_GA_CP/XTS/WS-C/build.xml
   labs/jbosstm/branches/JBOSSTS_4_6_1_GA_CP/XTS/WS-T/build.xml
Log:
JBTM-2104. Pack .class files from WEB-INF/classes directory to a jar file

Modified: labs/jbosstm/branches/JBOSSTS_4_6_1_GA_CP/XTS/WS-C/build.xml
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_6_1_GA_CP/XTS/WS-C/build.xml	2014-02-26 10:14:01 UTC (rev 38443)
+++ labs/jbosstm/branches/JBOSSTS_4_6_1_GA_CP/XTS/WS-C/build.xml	2014-02-28 10:16:11 UTC (rev 38444)
@@ -247,17 +247,25 @@
             </fileset>
         </jar>
     </target>
+	
+    <target name="sei-jar" depends="dev-compile, dev-resourcebundle">
+        <copy file="${dev.dd.dir}/ws-c_handlers.xml" tofile="${build.dev.classes11.dir}/handlers.xml"/>
+        <jar jarfile="${build.dev.webapps.dir}/ws-c11-sei.jar">
+            <fileset dir="${build.dev.classes11.dir}" includes="com/arjuna/webservices11/wscoor/sei/*, handlers.xml"/>
+        </jar>
+    </target>
 
-    <target name="dev-webapps" depends="dev-jars" >
+    <target name="dev-webapps" depends="dev-jars, sei-jar" >
         <copy file="${dev.dd.dir}/ws-c_web-app.xml" tofile="${build.dev.dd.dir}/web-app.xml">
         </copy>
         <copy file="${dev.dd.dir}/ws-c11_web-app.xml" tofile="${build.dev.dd.dir}/web-app11.xml">
         </copy>
-        <copy file="${dev.dd.dir}/ws-c_handlers.xml" tofile="${build.dev.classes11.dir}/handlers.xml"/>
         <war warfile="${build.dev.webapps.dir}/ws-c10.war" webxml="${build.dev.dd.dir}/web-app.xml"/>
         <war warfile="${build.dev.webapps.dir}/ws-c11.war" webxml="${build.dev.dd.dir}/web-app11.xml">
-            <webinf dir="${build.dir}/dev/classes11" includes="classes/com/arjuna/webservices11/wscoor/sei/* classes/handlers.xml"/>
             <webinf dir="${build.dev.dd.dir}" includes="wsdl/**"/>
+            <lib dir="${build.dev.webapps.dir}">
+                <include name="ws-c11-sei.jar"/>
+            </lib>
         </war>
     </target>
 

Modified: labs/jbosstm/branches/JBOSSTS_4_6_1_GA_CP/XTS/WS-T/build.xml
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_6_1_GA_CP/XTS/WS-T/build.xml	2014-02-26 10:14:01 UTC (rev 38443)
+++ labs/jbosstm/branches/JBOSSTS_4_6_1_GA_CP/XTS/WS-T/build.xml	2014-02-28 10:16:11 UTC (rev 38444)
@@ -339,16 +339,24 @@
         </jar>
     </target>
 
-    <target name="dev-webapps" depends="dev-jars">
+    <target name="sei-jar" depends="dev-compile, dev-resourcebundle">
+        <copy file="${dev.dd.dir}/ws-t_handlers.xml" tofile="${build.dev.classes11.dir}/handlers.xml"/>
+        <jar jarfile="${build.dev.webapps.dir}/ws-t11-sei.jar">
+            <fileset dir="${build.dev.classes11.dir}" includes="com/arjuna/webservices11/wsat/sei/*, com/arjuna/webservices11/wsba/sei/*, com/arjuna/webservices11/wsarjtx/sei/*, handlers.xml"/>
+        </jar>
+    </target>
+	
+    <target name="dev-webapps" depends="dev-jars, sei-jar">
         <copy file="${dev.dd.dir}/ws-t_web-app.xml" tofile="${build.dev.dd.dir}/web-app.xml">
         </copy>
         <copy file="${dev.dd.dir}/ws-t11_web-app.xml" tofile="${build.dev.dd.dir}/web-app11.xml">
         </copy>
-        <copy file="${dev.dd.dir}/ws-t_handlers.xml" tofile="${build.dev.classes11.dir}/handlers.xml"/>
         <war warfile="${build.dev.webapps.dir}/ws-t10.war" webxml="${build.dev.dd.dir}/web-app.xml"/>
         <war warfile="${build.dev.webapps.dir}/ws-t11.war" webxml="${build.dev.dd.dir}/web-app11.xml">
-            <webinf dir="${build.dir}/dev/classes11" includes="classes/com/arjuna/webservices11/wsat/sei/* classes/com/arjuna/webservices11/wsba/sei/* classes/com/arjuna/webservices11/wsarjtx/sei/* classes/handlers.xml"/>
             <webinf dir="${build.dev.dd.dir}" includes="wsdl/**"/>
+            <lib dir="${build.dev.webapps.dir}">
+                <include name="ws-t11-sei.jar"/>
+            </lib>
         </war>
     </target>
 



More information about the jboss-svn-commits mailing list