Thanks Maarten,

This worked for me (and I'm still using jetty:run)....

I'll look into JavaRebel for the class reloading bit....

Jason



Maarten Bosteels wrote:
> 
> Hello,
> 
> I am also using IDEA 8.1 but instead of the jetty:run I start the wicket
> app
> with the Start [1] class that is part of the quickstart archetype.
> 
> Not sure it's necessary but in my Application class, I added these lines
> for
> automatic picking up changes to the html:
> 
> getResourceSettings().setResourcePollFrequency(Duration.milliseconds(500));
> getResourceSettings().addResourceFolder("src/main/java");
> 
> And for automatically picking up compiled classes, I am using JavaRebel,
> haven't tried their latest version though.
> 
> [1]
> http://svn.apache.org/repos/asf/wicket/trunk/wicket-quickstart/src/main/java/org/apache/wicket/quickstart/Start.java
> [2] http://www.zeroturnaround.com/javarebel/
> 
> Maarten
> 
> On Mon, Mar 9, 2009 at 6:45 AM, Jason Rosenberg
> <jbrosenb...@gmail.com>wrote:
> 
>>
>> Hello,
>>
>> I'm new to Wicket (using 1.4-rc2, using IDEA IntelliJ 8.1 and maven2 with
>> jetty:run plugin)....
>>
>> In development mode, I expected to be able to edit html pages in the IDE,
>> and see changes reflected immediately in the browser upon browser
>> refresh,
>> without having to restart wicket.  Also, not sure if it should be
>> possible
>> to recompile java classes and see the changes from those reflected as
>> well,
>> on the fly....
>>
>> Anyway, so far I've been unable to get things working that way (I have to
>> stop wicket and restart it, after updating)....
>>
>> I generated my project initially using the quickstart maven archetype....
>>
>> Essentially, I'm wanting to replicate the JSP model where you edit jsp
>> files
>> and then the server recompiles changes and presents them without a
>> restart...
>>
>> Thanks for any advice...
>>
>> Jason
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-configure-development-mode-so-can-see-changes-on-the-fly-without-restart-tp22407484p22407484.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-configure-development-mode-so-can-see-changes-on-the-fly-without-restart-tp22407484p22413711.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to