"Kevin Jackson" <[EMAIL PROTECTED]> wrote on 11/14/2006 03:17:09 AM:
> Hi all, > > I'm trying to work on a webapp with tomcat and mvn. I want to be able > to edit a jsp, type mvn tomcat:redeploy and have just the changed jsp > be reloaded, without having to compile/package/deploy > > I'm fairly sure that this is possible using a combination of mvn + > tomcat-plugin, but I'm failing the correct incantation test > > so far I can do a mvn tomcat:deploy, but this > compiles/filters/packages and takes forever - not good for rapid > development of ui stuff > > mvn tomcat:redeploy seems to just redeploy the application that's > already deployed in the CATALINA_HOME/webapps directory, what I need > is some way to configure the plugin to deploy my development directory > as an exploded web application This gets discussed fairly regularly and there's multiple ways to handle it. If you're not aware, there's a great search engine for this list at http://www.nabble.com/Maven---Users-f178.html The way I've setup things I can see the changed jsp without calling any maven target. There's more details of my solution here http://www.nabble.com/Eclipse-war-builder-tf2371898s177.html#a6646490 Another fellow wrote a custom eclipse plugin to help him. If you actually want to call tomcat:redeploy before seeing the changed jsp, you may want to look at the tomcat:inplace goal or maybe war:exploded. Greg Vaughn [EMAIL PROTECTED] ====================================================================== Confidentiality Notice: The information contained in and transmitted with this communication is strictly confidential, is intended only for the use of the intended recipient, and is the property of Countrywide Financial Corporation or its affiliates and subsidiaries. If you are not the intended recipient, you are hereby notified that any use of the information contained in or transmitted with the communication or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please immediately return this communication to the sender and delete the original message and any copy of it in your possession. ======================================================================
