[jboss-cvs] JBossAS SVN: r111402 - trunk/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu May 19 04:02:54 EDT 2011


Author: beve
Date: 2011-05-19 04:02:54 -0400 (Thu, 19 May 2011)
New Revision: 111402

Modified:
   trunk/build/build.xml
Log:
JBAS-9356 "Move the ejb3-async-deployer-jboss-beans.xml out of the jar so that it can be configured by users"


Modified: trunk/build/build.xml
===================================================================
--- trunk/build/build.xml	2011-05-19 03:19:45 UTC (rev 111401)
+++ trunk/build/build.xml	2011-05-19 08:02:54 UTC (rev 111402)
@@ -728,6 +728,29 @@
 	  <mapper refid="remove-versions" />      
     </copy>
 
+
+    <!-- Work for JBAS-9356 "Move the ejb3-async-deployer-jboss-beans.xml out of jboss-esb3-async-deployer.jar" -->
+    <property name="deployers.dir" value="${install.server}/all/deployers"/>
+    <property name="ejb3.async.deployer.jar" value="${deployers.dir}/jboss-ejb3-async-deployer.jar"/>
+    <property name="ejb3.async.deployer.jar.work" value="${deployers.dir}/jboss-ejb3-async-deployer-work.jar"/>
+    <property name="ejb3.async.deployer.beans.xml" value="META-INF/ejb3-async-deployer-jboss-beans.xml"/>
+    <unzip src="${ejb3.async.deployer.jar}" dest="${deployers.dir}">
+        <patternset>
+            <include name="${ejb3.async.deployer.beans.xml}"/>
+            <include name="META-INF/MANIFEST.MF"/>
+        </patternset>
+        <mapper type="flatten"/>
+    </unzip>
+    <copy file="${ejb3.async.deployer.jar}" tofile="${ejb.async.deployer.jar.work}"/>
+    <delete file="${ejb3.async.deployer.jar}"/>
+    <jar destfile="${ejb3.async.deployer.jar}" manifest="${deployers.dir}/MANIFEST.MF">
+       <zipfileset src="${ejb.async.deployer.jar.work}">
+            <exclude name="${ejb3.async.deployer.beans.xml}"/>
+       </zipfileset>
+    </jar>
+    <delete file="${ejb.async.deployer.jar.work}"/>
+    <delete file="${deployers.dir}/MANIFEST.MF"/>
+
   </target>
 
   <target name="module-ejb3-all" depends="module-ejb3">



More information about the jboss-cvs-commits mailing list