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.

Bug 250868 - Copy Static Resources fails after IDE restart and Compile on Save unchecked
Summary: Copy Static Resources fails after IDE restart and Compile on Save unchecked
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.2
Hardware: PC Windows 8 x64
: P3 normal with 1 vote (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-03 13:28 UTC by RayDeCampo
Modified: 2015-06-11 10:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RayDeCampo 2015-03-03 13:28:17 UTC
To reproduce, use a convenient Web project associated to an application server (I have only tried with WildFly 8.2.0.Final) and do the following:

1) Open the project properties and make the following changes:
  a) Uncheck 'Compile on Save' under the Build->Compile node
  b) Check 'Copy Static Resources on Save' under the Run node.
2) Deploy the project and run the server by using the 'Run' action from the project context menu.
3) Change a static resource, e.g. a JSF page and observe if the resource is saved on the server (in my experience is it correctly updated at this point).
4) Stop the application server.
5) Exit the IDE.
6) Start a new session of NetBeans.
7) Deploy the project and run the server by using the 'Run' action from the project context menu.
8) Change a static resource, e.g. a JSF page and save it.
9) Observe that the resource is NOT updated on the server.

This appears to be a regression of bug 221258 (https://netbeans.org/bugzilla/show_bug.cgi?id=221258).
Comment 1 ctretyak 2015-06-11 10:31:43 UTC
I and my colleagues too, version 8.0.2. Bug repeated after each restart NetBeans.

Fix steps:
1. Disable Build-Compile Compile On Save
2. Disable Run: Copy Static Resources on Save, Always perform build before running application
3. Close NetBeans
4. Run Netbeans as administrator
5. Enable checkboxes in 1 and 2 steps