Or this: http://wiki.codehaus.org/maven/TomcatPlugin
Unlike the webserver plugin, this deals with indivdual servlet contexts using tomcat's management api.
A build cycle with an exploded webapp looks like: // build and install maven tomcat:install // rebuild, reload maven war:webapp tomcat:reload // just reload no rebuild maven tomcat:reload
And for a war file: // build and install maven tomcat:install-war // rebuild, reload maven war:war tomcat:remove tomcat:install-war // just reload no rebuild maven tomcat:reload
I know in the past people have talked about having this stuff done in a generic way, but it never seemed to happen, so its useful having this thing about.
-Baz
[EMAIL PROTECTED] wrote:
Maybe that is what you are looking for : http://maven.apache.org/reference/plugins/webserver/index.html
Nicolas
[EMAIL PROTECTED] 08/08/2003 02:58 PM Please respond to "Maven Users List"
To: "Maven Users List" <[EMAIL PROTECTED]>
cc: Subject: Controlling Tomcat to realod application
Hi all,
I would like to know how can I control Tomcat in order to reload a newly generated WAR application?
I guess this one has already been posted... But don't find any clues with google....
Regards, D.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
