You need to set the 'scanIntervalSeconds' parameter for the Jetty Maven plugin 
in the pom.xml.  The QuickStart archetype generated pom.xml does not have this 
paremeter set so it is off by default.

Look in http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin to learn all 
about Jetty-Mavin configuration

        <plugins>
            <plugin>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>maven-jetty-plugin</artifactId>
                <configuration>
                    <scanIntervalSeconds>15</scanIntervalSeconds>
                </configuration>
            </plugin>
        </plugins>

I wish the QuickStart archetype generated pom includes this parameter in place. 
 I can never remember the syntax.

> Date: Mon, 25 Feb 2008 22:39:39 -0500
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: newbie Quick Start question
> 
> What's the most automatic way to get Jetty to pick up changes to the 
> application in development mode, using IntelliJ IDEA?
> 
> I'm following the quick start instructions on 
> http://wicket.apache.org/quickstart.html (which, btw, is in conflict 
> with the more easily googlable 
> http://wicket.sourceforge.net/wicket-quickstart/index.html).  Currently 
> I have to restart the application to see changes.
> 
> I'm a rank newbie when it comes to Java IDE's, btw. My web Java 
> experience consists of developing a couple of web apps using JSP and 
> Tomcat. Emacs + gmake was my IDE, so you can see where I'm starting from ;-)
> 
> Thanks,
> Kevin
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_________________________________________________________________
Need to know the score, the latest news, or you need your HotmailĀ®-get your 
"fix".
http://www.msnmobilefix.com/Default.aspx

Reply via email to