taylor 2004/04/21 11:59:13
Modified: plugin plugin.jelly
Log:
added deploy goal to jetspeed plugin
Revision Changes Path
1.5 +18 -1 jakarta-jetspeed/plugin/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/plugin/plugin.jelly,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- plugin.jelly 20 Apr 2004 01:39:12 -0000 1.4
+++ plugin.jelly 21 Apr 2004 18:59:13 -0000 1.5
@@ -164,7 +164,7 @@
</fileset>
</copy>
<copy todir="${maven.war.appserver.home}/webapps/${pom.artifactId}">
- <fileset dir="./webapp">
+ <fileset dir="./stage/webapp">
<exclude name="**/*.properties.merge"/>
</fileset>
</copy>
@@ -225,4 +225,21 @@
<echo> merge_torque required </echo>
<overwriteproperties
mergeBaseProperties="${maven.jetspeed.build.dir}/${pom.artifactId}/WEB-INF/conf/Torque.properties"
mergeProperties="${maven.jetspeed.merge.dir}/MergeTorque.properties"
includesDir="${maven.jetspeed.build.dir}/${pom.artifactId}/WEB-INF/conf/"/>
</goal>
+
+ <!-- ================================================================== -->
+ <!-- D E P L O Y W E B A P P -->
+ <!-- ================================================================== -->
+ <goal name="jetspeed:deploy" prereqs="" description="Simple deploy of entire
webapp to app 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] pom.artificactId = ${pom.artifactId}</echo>
+ </j:if>
+ <delete dir="${maven.war.appserver.home}/webapps/${pom.artifactId}"/>
+ <copy file="${maven.build.dir}/${pom.artifactId}.war"
todir="${maven.war.appserver.home}/webapps/">
+ </copy>
+ <unwar src="${maven.war.appserver.home}/webapps/${pom.artifactId}.war"
dest="${maven.war.appserver.home}/webapps/${pom.artifactId}"/>
+ </goal>
+
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]