From: dion g. <dio...@us...> - 2004-07-18 13:35:11
|
diongillard 04/07/18 06:35:04 Modified: was40 plugin.jelly Log: Rename deploy-ear to app-install Rename undeploy-ear to app-remove Add app-reinstall goal Revision Changes Path 1.13 +28 -1 maven-plugins/was40/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was40/plugin.jelly,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- plugin.jelly 13 Jul 2004 06:40:42 -0000 1.12 +++ plugin.jelly 18 Jul 2004 13:35:04 -0000 1.13 @@ -89,7 +89,14 @@ </goal> <goal name="was40:deploy-ear" description="Deploy an enterprise application"> - <echo>Deploying enterprise application: '${maven.was40.enterprise.app.name}'</echo> + <echo>DEPRECATED: Please use was40:app-install</echo> + <attainGoal name="was40:app-deploy"/> + </goal> + + <goal name="was40:app-install" description="Deploy an enterprise application"> + <echo>Deploying enterprise application: '${maven.was40.enterprise.app.name}' from file: '${maven.was40.enterprise.app.name}' +on application server: '${maven.was40.appserver}' +</echo> <was40wscp:exec command="${maven.was40.deployApp}" /> </goal> @@ -99,6 +106,11 @@ </goal> <goal name="was40:undeploy-ear" description="Remove an enterprise application"> + <echo>DEPRECATED: Please use was40:app-remove</echo> + <attainGoal name="was40:app-remove"/> + </goal> + + <goal name="was40:app-remove" description="Remove an enterprise application"> <echo>Removing enterprise application: '${maven.was40.enterprise.app.name}'</echo> <was40wscp:exec command="${maven.was40.removeApp}" /> </goal> @@ -210,4 +222,19 @@ <copy file="${maven.was40.ejb.out.file}" tofile="${maven.was40.ejb.file}"/> </j:if> </postGoal> + + <!-- reinstall an enterprise app --> + <goal name="was40:app-reinstall"> + <attainGoal name="was40:app-stop"/> + <sleep seconds="${maven.was40.sleep.stop}"/> + <attainGoal name="was40:stop-appserver"/> + <sleep seconds="${maven.was40.sleep.stop}"/> + <attainGoal name="was40:undeploy-ear"/> + <sleep seconds="${maven.was40.sleep.stop}"/> + <attainGoal name="was40:deploy-ear"/> + <attainGoal name="was40:start-appserver"/> + <sleep seconds="${maven.was40.sleep.start}"/> + <attainGoal name="was40:app-start"/> + <sleep seconds="${maven.was40.sleep.start}"/> + </goal> </project> \ No newline at end of file |