This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hello! After happily using 8.0.1 which has this fix: Bug 243313 "Custom Maven War WebResources / Project structure pane bug", I realized that although the pane bug fixed, the "Copy static resources on save" wont work. When I remove the other custom web resource, the Copy static resources on save will work. When I add a custom web resource folder again, the Copy static resources on save will not work.
I can confirm this. Working with the same project on two different machines I noticed the following as well, though it may be a coincidence: It seems like the first web resources folder listed in the "Projects" panel as "Web Pages" is considered on save events. The order is different for me with the same project (OSX,Win; both 8.0.1) and coincides with which folders static resources are copied on save.
Is the problem here that the first web resource is randomly changing (this should be fixed in bug #248687) or that copy on save does not work on additional web resources?
Awaiting user feedback.
ok, I have tested it over again with 8.0.2 and 201504290001. Both versions fixes my original report. But as you wrote, "copy on save does not work on additional web resources" is still an issue.
Still not working Copy static resources on save not working with additional resources in war E.g. application serves resources from src/main/resources <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.1.1</version> <configuration> <failOnMissingWebXml>false</failOnMissingWebXml> <webResources> <resource> <!-- this is relative to the pom.xml directory --> <directory>src/main/resources</directory> </resource> </webResources> </configuration> </plugin> Then changes of file in src/main/resources not automatically deployed