Re: automate localhost deploy

2007-11-15 Thread Henry Isidro
Cargo would be your best bet...http://cargo.codehaus.org/

Cheers,
Henry

On 11/16/07, mitch [EMAIL PROTECTED] wrote:

 Hello, I'm using maven2 (and the m2eclipse integration plugin) and am able
 to use the deploy goal successfully to deploy to a remote repository.  But
 I
 wonder what the easiest way is to automate my manual steps of deploying to
 my localhost tomcat (including stopping and starting the container).  Any
 idea how I could automate these steps?  The steps would be:

 - stop tomcat
 - delete old war and app in my tomcat/webapps
 - rename the new war in my eclipse project /target dir
 - deploy the new war from my eclipse project /target dir to my localhost
 tomcat/webapps dir
 - start tomcat

 Thx for any help!



automate localhost deploy

2007-11-15 Thread mitch
Hello, I'm using maven2 (and the m2eclipse integration plugin) and am able
to use the deploy goal successfully to deploy to a remote repository.  But I
wonder what the easiest way is to automate my manual steps of deploying to
my localhost tomcat (including stopping and starting the container).  Any
idea how I could automate these steps?  The steps would be:

- stop tomcat
- delete old war and app in my tomcat/webapps
- rename the new war in my eclipse project /target dir
- deploy the new war from my eclipse project /target dir to my localhost
tomcat/webapps dir
- start tomcat

Thx for any help!