I had to remove the "target/classes" folder from the java source paths which Maven Eclipse plugin adds (project properties ==> java build path). After this, the markup files refreshed as expected.
Tauren Mills-2 wrote: > > Thanks Igor, but I already looked there and the only thing listed in > filtered resources is *.launch. > > Any other ideas? > > Tauren > > On Thu, Jan 15, 2009 at 4:05 PM, Igor Vaynberg <igor.vaynb...@gmail.com> > wrote: >> open the preferences window >> in the search box type "filter" >> this will show you java/compiler/building panel with >> FilteredREsources: textbox, remove *.html >> >> -igor >> >> On Thu, Jan 15, 2009 at 4:03 PM, Tauren Mills <tau...@tauren.com> wrote: >>> Martijn, >>> >>> Thanks. But any clue how or where I do that? I've been poking around >>> the preferences in eclipse and haven't found it. >>> >>> Tauren >>> >>> On Thu, Jan 15, 2009 at 3:51 PM, Martijn Dashorst >>> <martijn.dasho...@gmail.com> wrote: >>>> 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 >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > --------------------------------------------------------------------- > 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/Wicket-Eclipse-Maven-m2eclipse---HTML-files-not-refreshing-tp21489401p21493513.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