iirc you have to turn off eclipse's filtering of html files (which is turned off default because of javadoc html which usually doesn't want to be packaged inside your war/jar)
Martijn On Fri, Jan 16, 2009 at 12:31 AM, Tauren Mills <tau...@tauren.com> 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: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org