Can I update the HTML files using Wicket and Eclipse without recompiling the classes?

You're sort of correct, you're supposed to use setResourcePollFrequency(Duration. ONE_SECOND) or similar This link has more detailed information However what I've found is that due to Wicket's caching internal cache containers like to get really messed up after any hotswapping so you may just have to learn the hotkey for restarting Tomcat or start doing Wicket development with the integrated Jetty and WicketTester.

You're sort of correct, you're supposed to use setResourcePollFrequency(Duration. ONE_SECOND); or similar. This link has more detailed information.

However what I've found is that due to Wicket's caching internal cache containers like to get really messed up after any hotswapping so you may just have to learn the hotkey for restarting Tomcat or start doing Wicket development with the integrated Jetty and WicketTester.

You may want to consider increasing the permgen space when you run eclipse. There is a command line argument: eclipse normal arguments -vmargs -XX:PermSize=64M -XX:MaxPermSize=128M (copied from:) wiki.eclipse.org/FAQ_How_do_I_increase_t... I am not sure offhand how to prevent wicket from reloading HTML files but I will see if I can find it. Edit: If setting the poll frequency to null doesn't work, try using Duration.MAXIMUM.

Also, you can uncheck "Build Automatically" in the eclipse Project menu, though this is more of a hassle then it's worth, IMHO. According to the wicket FAQ, wicket only reloads changed markup files when you explicitly set the resource poll frequency: http://www.wicketframework.org/faqs.html I am not sure how to prevent eclipse from copying altered files to the output aside from disabling build automatically.

If Build Automatically is enabled (it is by default: Project->Build Automatically) then any modification to the project files will trigger the build, regardless of whether they are in source folders or not. I always work with Build Automatically disabled as I find it too intrusive (for reasons like this), and just hit ctrl-B when I want the project to build, or alt-P N to launch the clean dialog if needed.

I understand you're using (and might want to keep using) Tomcat, but during Wicket development you can run the supplied Jetty server onder /src/test/java/com/your/package/Start. Java in debug mode to get this behaviour.. Set Wicket to development mode to use this feature.

If you are editing only html files, go ahead and change them as you wish.As long as you don't deploy them somewhere else for tomcat to fetch them, you'll see the update(s). If it's jsp, save your new file, delete the files under the old work folder. This will make tomcat think it's the first time the file is requested and it will re-compile the jsp on the fly.

Context of this question is Wicket which does a lot of special things with HTML files (which live in the same packages as corresponding Java classes). – Esko Oct 16 '09 at 21:33.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions