[weld-commits] Weld SVN: r4826 - examples/trunk.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Sun Nov 8 22:55:28 EST 2009


Author: dan.j.allen
Date: 2009-11-08 22:55:27 -0500 (Sun, 08 Nov 2009)
New Revision: 4826

Modified:
   examples/trunk/build.xml
Log:
tomcat operations should depend on tomcat package


Modified: examples/trunk/build.xml
===================================================================
--- examples/trunk/build.xml	2009-11-09 03:53:45 UTC (rev 4825)
+++ examples/trunk/build.xml	2009-11-09 03:55:27 UTC (rev 4826)
@@ -43,6 +43,12 @@
       </maven>
    </target>
 
+    <target name="tomcat.package">
+        <maven target="install" basedir="${basedir}">
+           <arg line="-f ${pom.file} -Ptomcat" />
+        </maven>
+    </target>
+
 	<target name="explode" depends="package">
 		<mkdir dir="${jboss.home}/server/default/deploy/${example.name}.${type}" />
 		<copy todir="${jboss.home}/server/default/deploy/${example.name}.${type}">
@@ -50,7 +56,7 @@
 		</copy>
 	</target>
 
-	<target name="tomcat.explode" depends="package">
+	<target name="tomcat.explode" depends="tomcat.package">
 		<mkdir dir="${tomcat.home}/webapps/${example.name}" />
 		<copy todir="${tomcat.home}/webapps/${example.name}">
 			<fileset dir="${artifact.dir}" />
@@ -62,7 +68,7 @@
 		<echo message="The app can be accessed at ${final.url}" />
 	</target>
 
-	<target name="tomcat.deploy" depends="package">
+	<target name="tomcat.deploy" depends="tomcat.package">
 		<copy todir="${tomcat.home}/webapps/" file="${artifact.target.dir}/${example.name}.${type}" />
 		<echo message="The app can be accessed at ${final.url}" />
 	</target>



More information about the weld-commits mailing list