Re: Jetty Restarts every time i save

2011-11-16 Thread Dragan Sahpaski
Hi, If you are using 5.3. than live class realoading is turned off in production mode [1]. Please check if SymbolConstants.PRODUCTION_MODE is false in your contributeApplicationDefaults method in your IOC Module (AppModule by default). something like public static void contributeApplicationDefau

Re: Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
Trsvax, I when i turned off scanning or set interval to a very high number, tapestry live classloading didnt work. Josh. On Wed, Nov 16, 2011 at 11:10 PM, trsvax wrote: > The latest version of runJettyrun has an option to scan the project for > changes and restart. I think the default is 5 sec

Re: Jetty Restarts every time i save

2011-11-16 Thread trsvax
The latest version of runJettyrun has an option to scan the project for changes and restart. I think the default is 5 seconds. For Tapestry you want to turn it off. I think it's on the Jetty table after you pick run configurations. -- View this message in context: http://tapestry.1045711.n5.nabb

Re: Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
Thanks guys. I ended up using mvn jetty:run and making neccesary changes to eclipse. Everything is working fine. Josh. On Wed, Nov 16, 2011 at 9:32 PM, Juan Alba wrote: > If you are using maven you can try something like this in the application > pom: > > > > > org.mortbay.jetty > jetty-mave

Re: Jetty Restarts every time i save

2011-11-16 Thread Juan Alba
If you are using maven you can try something like this in the application pom: org.mortbay.jetty jetty-maven-plugin manual On Wed, Nov 16, 2011 at 3:29 PM, Josh Kamau wrote: > May be its because am using eclipse 3.7(Indigo). I can al

Re: Jetty Restarts every time i save

2011-11-16 Thread Thiago H. de Paula Figueiredo
On Wed, 16 Nov 2011 16:08:40 -0200, derkoe wrote: I think live reloading doesn't work when starting with "mvn jetty:run" It does, but you need to change the project configuration in Eclipse to not exclude /src/main/resources/** from being copied to the classpath when a file is changed.

Re: Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
May be its because am using eclipse 3.7(Indigo). I can also remember making it work months ago. On Wed, Nov 16, 2011 at 9:26 PM, Michael Gentry wrote: > On Wed, Nov 16, 2011 at 1:08 PM, derkoe > wrote: > > I think live reloading doesn't work when starting with "mvn jetty:run" > > That's almost a

Re: Jetty Restarts every time i save

2011-11-16 Thread Michael Gentry
On Wed, Nov 16, 2011 at 1:08 PM, derkoe wrote: > I think live reloading doesn't work when starting with "mvn jetty:run" That's almost always how I start Jetty (with T5) and it works fine, including live class-reloading. mrg - T

Re: Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
I start it from 'Run Configurations' screen. On Wed, Nov 16, 2011 at 9:08 PM, derkoe < tapestry.christian.koeb...@gmail.com> wrote: > > Josh Kamau wrote: > > > > Hi there, > > > > I am learning tapestry using eclipse/jetty/maven. I have followed the > > instructions on the tapestry page. However,

Re: Jetty Restarts every time i save

2011-11-16 Thread derkoe
Josh Kamau wrote: > > Hi there, > > I am learning tapestry using eclipse/jetty/maven. I have followed the > instructions on the tapestry page. However, every time i save on eclipse, > jetty automatically restarts. Is this the ways it is supposed to be? when > i > disable 'scanning' in jetty run