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.
Summary: | "Copy Static Resources on Save" for maven web projects missing | ||
---|---|---|---|
Product: | javaee | Reporter: | lallafa <lallafa> |
Component: | Maven | Assignee: | Martin Janicek <mjanicek> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
lallafa
2012-10-20 20:14:07 UTC
I agree that we should make Ant and Maven projects consistent as much as possible, but this sounds more like a new feature to me (it was never implemented for Maven web based projects) and we are way after the feature freeze. I'm sorry, but we have to wave this into the next release. But is it possible to switch back to the 7.1.2 behavior? That is: copy static resources on save regardless of the "Compile on save" setting. "Compile on save" does not work for me and developing without "copy static resources on save" is a nightmare so i still use NB 7.1.2 :-( (In reply to comment #2) > But is it possible to switch back to the 7.1.2 behavior? That is: copy static > resources on save regardless of the "Compile on save" setting. > > "Compile on save" does not work for me and developing without "copy static > resources on save" is a nightmare so i still use NB 7.1.2 :-( This sounds like a bug, but I'm not able to reproduce it. I've just tried to create new Maven Web project, disable CoS, run it on Glassfish server and when changing the index.jsp file, it is correctly deployed on save and the changes are shows after using F5 in the browser. Does this work for you? (In reply to comment #3) > (In reply to comment #2) > > But is it possible to switch back to the 7.1.2 behavior? That is: copy static > > resources on save regardless of the "Compile on save" setting. > > > > "Compile on save" does not work for me and developing without "copy static > > resources on save" is a nightmare so i still use NB 7.1.2 :-( > > This sounds like a bug, but I'm not able to reproduce it. I've just tried to > create new Maven Web project, disable CoS, run it on Glassfish server and when > changing the index.jsp file, it is correctly deployed on save and the changes > are shows after using F5 in the browser. > Does this work for you? Yes, this way it works for me too. But this will not work: - start NB 7.3b - create a new Maven Web project - disable "Compile on save" - close NB - start NB again - start debug webapp - change index.jsp - reload page - no changes :-( But I also have a simple work around: - enable "Compile on save" - disable "Compile on save" again - save changes in index.jsp - index.jsp gets copied! - will work as long as NB is not restarted, yipi! That's wired but I can live with it ... Thanks, I can see the same problem as you are describing. I'll file a new ticket for that to separate the bug and this enhancement.. I have created new issue 221258 for that bug *** This bug has been marked as a duplicate of bug 218345 *** |