I use Eclipse and Maven-2, and I would like to be able to edit my HTML files without “this” (not sure if Eclipse or Maven) will recompile my application. I understand that usually Eclipse tries to hot swap new compiled Java classes with Eclipse and Tomcat.
Is it possible to use something like this?
getResourceSettings().setResourcePollFrequency(null);
I know that I can turn off automatic updates for Tomcat in Eclipse, but I would like the HTML file to be updated and the classes not to be updated if possible.
By the way, my main problem is that Tomcat tends to get Perm gen errors after I (hot) reload too many Java classes.
source
share