From: Jan B. <ja...@mo...> - 2006-11-21 18:23:35
|
Valerio, Jetty will automatically pick up and use any changed static resources such as images, .html files, .jsp files, .js files etc. It does not cause a redeploy of the webapp. The webapp only redeploys if any of the descriptors, libs or classes change. cheers Jan Valerio Schiavoni wrote: > hello Jan, > unfortunaly it seems like once I modify jsp or javascript files, jetty > doesn't refresh the currently deployed webapp. > > this is how I configured the plugin: > > <plugin> > <groupId> org.mortbay.jetty</groupId> > <artifactId>maven-jetty-plugin</artifactId> > <version>6.0.1</version> > <configuration> > <scanIntervalSeconds>5</scanIntervalSeconds> > <webDefaultXml>${jetty.webdefaultxml}</webDefaultXml> > <!-- this scan targets should be added to the > default ones --> > <scanTargets> > <scanTarget>src/main/webapp</scanTarget> > </scanTargets> > </configuration> > </plugin> > > On 11/16/06, *Jan Bartel* <ja...@mo... <mailto:ja...@mo...>> > wrote: > > Valerio, > > Most certainly. All of the mvn jetty:x targets have > scanning capability. You just use the same <scanInterval> > setting as per the jetty:run target. > > Here's a list of what gets scanned for each target: > http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+Maven+Plugin > > cheers > Jan > > > Valerio Schiavoni wrote: > > is there any option to turn on scanning in run-exploded mode ? > > > > thanks, > > valerio > > > > -- > > http://valerioschiavoni.blogspot.com > <http://valerioschiavoni.blogspot.com> > > http://jroller.com/page/vschiavoni > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > > opinions on IT & business topics through brief surveys - and earn > cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > > Jetty-support mailing list > > Jet...@li... > <mailto:Jet...@li...> > > https://lists.sourceforge.net/lists/listinfo/jetty-support > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net 's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > Jetty-support mailing list > Jet...@li... > <mailto:Jet...@li...> > https://lists.sourceforge.net/lists/listinfo/jetty-support > > > > > -- > http://valerioschiavoni.blogspot.com > http://jroller.com/page/vschiavoni > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Jetty-support mailing list > Jet...@li... > https://lists.sourceforge.net/lists/listinfo/jetty-support |