You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by pkc <pk...@gmail.com> on 2012/12/20 06:35:51 UTC

Does automatic resource reloading in development mode still work in 6.x?

Ever since migrating from 1.5 to 6.x, I have had to manually recompile java
classes to get the corresponding html changes to be reloaded.  I tried lots
of path variations but after looking into the wicket source code, it doesn't
appear the resource watcher is even being started so not sure how changes
are even detected.





--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-automatic-resource-reloading-in-development-mode-still-work-in-6-x-tp4654955.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Does automatic resource reloading in development mode still work in 6.x?

Posted by pkc <pk...@gmail.com>.
Thanks Sven.  This looks like an issue with Intellij.  I tested again with
Eclipse and it works fine.



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-automatic-resource-reloading-in-development-mode-still-work-in-6-x-tp4654955p4654989.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Does automatic resource reloading in development mode still work in 6.x?

Posted by Sven Meier <sv...@meiers.net>.
Resource reloading works fine with wicket-examples when you start it 
with StartExamples.java, since it sets the system property:

         System.setProperty("wicket.configuration", "development");

If you run wicket-examples with jetty:run or deploy it to Tomcat, it 
will run in "deployment" config (see the web.xml).

Do you have a dependeny to gae-initializer? It sets the system property 
to "deployment", so your application is always running in "deployment" 
config.

Sven

On 12/20/2012 10:07 PM, pkc wrote:
> Can you send the code you use?  This is on windows with a classpath set up
> with maven and a standalone jetty 8.
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-automatic-resource-reloading-in-development-mode-still-work-in-6-x-tp4654955p4654983.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Does automatic resource reloading in development mode still work in 6.x?

Posted by pkc <pk...@gmail.com>.
Can you send the code you use?  This is on windows with a classpath set up
with maven and a standalone jetty 8.



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-automatic-resource-reloading-in-development-mode-still-work-in-6-x-tp4654955p4654983.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Does automatic resource reloading in development mode still work in 6.x?

Posted by Sven Meier <sv...@meiers.net>.
Works fine here. Do you happen to use wicketstuff-gae-initializer?

Sven

On 12/20/2012 06:35 AM, pkc wrote:
> Ever since migrating from 1.5 to 6.x, I have had to manually recompile java
> classes to get the corresponding html changes to be reloaded.  I tried lots
> of path variations but after looking into the wicket source code, it doesn't
> appear the resource watcher is even being started so not sure how changes
> are even detected.
>
>
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-automatic-resource-reloading-in-development-mode-still-work-in-6-x-tp4654955.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org