morciuch 2004/04/19 18:39:12
Modified: plugin plugin.jelly
Log:
Added jetspeed:hotdeploy goal
Revision Changes Path
1.4 +25 -0 jakarta-jetspeed/plugin/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/plugin/plugin.jelly,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- plugin.jelly 20 Apr 2004 00:08:02 -0000 1.3
+++ plugin.jelly 20 Apr 2004 01:39:12 -0000 1.4
@@ -144,6 +144,31 @@
<fileset dir="${props.dir}" includes="**/local-*.xreg.copy"/>
</delete>
</goal>
+ <!-- ================================================================== -->
+ <!--H O T D E P L O Y W E B A P P -->
+ <!-- ================================================================== -->
+ <goal name="jetspeed:hotdeploy" prereqs="java:compile" description="Hot
deploys webapp classes on a local server">
+ <j:if test="${maven.jetspeed.debug == 'true'}">
+ <echo>[DEBUG] maven.src.dir = ${maven.src.dir}</echo>
+ <echo>[DEBUG] maven.war.src = ${maven.war.src}</echo>
+ <echo>[DEBUG] maven.build.dir = ${maven.build.dir}</echo>
+ <echo>[DEBUG] maven.war.build.dir =
${maven.war.build.dir}</echo>
+ </j:if>
+ <copy
todir="${maven.war.appserver.home}/webapps/${pom.artifactId}/WEB-INF/classes">
+ <fileset dir="${maven.build.dir}/classes">
+ <!-- Do not include test files in the runtime jar -->
+ <exclude name="**/Test*.*"/>
+ <exclude name="**/test*.*"/>
+ <!-- Also exclude the test cactus.properties file -->
+ <exclude name="cactus.properties"/>
+ </fileset>
+ </copy>
+ <copy todir="${maven.war.appserver.home}/webapps/${pom.artifactId}">
+ <fileset dir="./webapp">
+ <exclude name="**/*.properties.merge"/>
+ </fileset>
+ </copy>
+ </goal>
<!--
========================================================================
Create the Jetspeed WAR
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]