[seam-commits] Seam SVN: r7860 - branches/Seam_2_0/examples.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Apr 8 05:54:39 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-04-08 05:54:39 -0400 (Tue, 08 Apr 2008)
New Revision: 7860
Modified:
branches/Seam_2_0/examples/build.xml
Log:
Another one for JBSEAM-2828 and JBSEAM-2829
Modified: branches/Seam_2_0/examples/build.xml
===================================================================
--- branches/Seam_2_0/examples/build.xml 2008-04-08 09:53:37 UTC (rev 7859)
+++ branches/Seam_2_0/examples/build.xml 2008-04-08 09:54:39 UTC (rev 7860)
@@ -802,6 +802,17 @@
<fileset dir="${exploded-archives.dir}/${example.name}.jar" />
</copy>
</target>
+
+ <target name="jbosswar.archive" depends="noejb.jar,noejb.war" description="Package the archives">
+ <copy todir="${exploded-archives.dir}/${example.name}-tmp.war">
+ <fileset dir="${exploded-archives.dir}/${example.name}.war" />
+ </copy>
+ <copy todir="${exploded-archives.dir}/${example.name}-tmp.war">
+ <fileset dir="${exploded-archives.dir}/${example.name}.jar" />
+ </copy>
+ <jar jarfile="${dist.dir}/${example.name}.war" basedir="${exploded-archives.dir}/${example.name}-tmp.war" />
+ <delete dir="${exploded-archives.dir}/${example.name}-tmp.war"/>
+ </target>
<target name="jbosswar.restart" depends="jbosswar.explode" description="Restart the exploded archive">
<touch file="${deploy.dir}/${example.name}.war/WEB-INF/web.xml" />
More information about the seam-commits
mailing list