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!

Reply via email to