From: Jesse M. (JIRA) <ji...@co...> - 2007-12-21 19:29:59
|
[ http://jira.codehaus.org/browse/JETTY-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117609 ] Jesse McConnell commented on JETTY-282: --------------------------------------- maybe... <consoleForcedReload>true</consoleForcedReload> > Support manually-triggered reloading > ------------------------------------ > > Key: JETTY-282 > URL: http://jira.codehaus.org/browse/JETTY-282 > Project: Jetty > Issue Type: Improvement > Components: Maven2 > Reporter: Kohsuke Kawaguchi > Assignee: Jesse McConnell > Attachments: JETTY-282.patch > > > With modern JVMs supporting class hot-swapping, causing webapps to reload for every change is not necessary nor productive. That is, with a small change, you'd rather have your IDE reload the class without having Jetty reload the webapp, but with a larger change, hot-swapping won't work, so you'd rather have jetty reload the webapp. > Currently, jetty maven plugin cannot be fine-tuned for this kind of set up. > It would be nice if I can manually reload the web app, by perhaps hitting ENTER on the console. Maven has an abstraction for doing user interaction (see the release plugin for example), so this should be doable. > I guess the workaround would be to nominate one file and have Jetty monitor it, and run the touch command to trigger a reload. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |