I wrote a post some time back on how to stop and start tomcat container using ANT.
Well, while trying to find something about Maven, I found this CARGO thing which can help you achieving the same, in fact better results.
Interestingly, it has support to do similar task from Maven as well from JUnit as well.
Here is a link to a sample example for Ant task
http://cargo.codehaus.org/Ant+support#Antsupport-examples
A similar example for doing it via Maven :
http://cargo.codehaus.org/Maven2+plugin
Well, while trying to find something about Maven, I found this CARGO thing which can help you achieving the same, in fact better results.
Interestingly, it has support to do similar task from Maven as well from JUnit as well.
Here is a link to a sample example for Ant task
http://cargo.codehaus.org/Ant+support#Antsupport-examples
A similar example for doing it via Maven :
http://cargo.codehaus.org/Maven2+plugin
No comments:
Post a Comment