I've the same problem in one project but we are not using maven, instead of it we use ant. For starting/stopping tomcat inside eclipse we use wtp.
In development mode we could change the java file but not the html. I've tried to remove the "*.html" to "Filtered resources" in java->compiler->building but without any luck. It doesn't work as expected and the html file is not reloaded. Also it seems that the reloading of the .class files is done by tomcat, not by eclipse maybe i could try to remove the context autoreloading. On Thu, 2009-01-15 at 15:31 -0800, Tauren Mills wrote: > Are there any wicket/eclipse/maven/m2eclipse users out there? I'm > trying to get my development environment working properly and need > your help. > > Up until now, I've been developing WIcket applications in Eclipse and > have not been using maven. As long as my web.xml is set to > development rather than deployment mode, changes I made to HTML files > while debugging were immediately applied. > > Not anymore... I am now managing my projects with maven, having just > added a pom file to my project. I'm using the m2eclipse plugin in > Eclipse and enabled dependency management on my project. > Unfortunately, now my HTML file changes aren't being recognized any > longer even with development mode turned on. I have to stop and start > the app to see the HTML changes. > > My project's maven properties show these goals to invoke on resource > changes: process-resources resources:testResources. > > My pom includes: > > <build> > <sourceDirectory>src/main/java</sourceDirectory> > <testSourceDirectory>src/test/java</testSourceDirectory> > <resources> > <resource> > <filtering>false</filtering> > <directory>src/main/resources</directory> > <includes> > <include>**</include> > </includes> > </resource> > <resource> > <filtering>false</filtering> > <directory>src/main/java</directory> > <includes> > <include>**</include> > </includes> > <excludes> > <exclude>**/*.java</exclude> > </excludes> > </resource> > </resources> > ... > </build> > > So, I'm wondering, does eclipse not think that a resource has been > changed because the HTML files are within src/main/java instead of > src/main/resources? If I change my CSS files, which are in > /src/main/webapp, the changes are reflected with a browser refresh. > But if I change an HTML file, it is not. > > How do I configure this to work right? Everything else seems to be > working right, just not HTML refreshing. > > Thanks, > Tauren > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
