[jboss-cvs] JBossAS SVN: r72598 - trunk/testsuite/imports/sections.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Apr 22 22:49:51 EDT 2008


Author: anil.saldhana at jboss.com
Date: 2008-04-22 22:49:51 -0400 (Tue, 22 Apr 2008)
New Revision: 72598

Modified:
   trunk/testsuite/imports/sections/web.xml
Log:
package resources in a jar to be placed in ear/lib allowed by JavaEE 5

Modified: trunk/testsuite/imports/sections/web.xml
===================================================================
--- trunk/testsuite/imports/sections/web.xml	2008-04-23 02:33:09 UTC (rev 72597)
+++ trunk/testsuite/imports/sections/web.xml	2008-04-23 02:49:51 UTC (rev 72598)
@@ -285,12 +285,21 @@
             <include name="**/*.jsp"/>
          </fileset>
       </war>
+       <!-- Package the dependencies as a jar -->
+       <jar destfile="${build.lib}/form-auth-resources.jar">
+         <fileset dir="${build.resources}/web/form-auth">
+            <include name="form-auth-users.properties"/>
+            <include name="form-auth-roles.properties"/>
+            <include name="security-config.xml"/>
+         </fileset>
+       </jar>
       <zip destfile="${build.lib}/form-auth.ear">
          <zipfileset dir="${build.resources}/web/form-auth" prefix="META-INF">
             <include name="application.xml"/>
             <include name="jboss-app.xml"/>
          </zipfileset>
          <zipfileset dir="${build.lib}" includes="form-auth.war"/>
+         <zipfileset dir="${build.lib}" includes="form-auth-resources.jar" prefix="lib"/>
          <zipfileset dir="${build.resources}/web/form-auth" includes="jboss-service.xml"/>
       </zip>
 	   




More information about the jboss-cvs-commits mailing list