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.
It is not possible to change value of Deploy on save property.To reproduce: - create Maven web project with GlassFish server - open project properties - go to Run category - Deploy on save should be enabled by default - enable it, click OK - open properties again but it is again disabled Product Version: NetBeans IDE Dev (Build 201211070001) Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
First part (DoS can be changed in project properties) is fixed in: web-main #57051a5bfb04 There are still two more things to do. Deploy on Save is currently used even if it's explicitly disabled (P2 for sure). And server selection combo box + DoS check box used bold text even in situations where no-one change the value (P4 and another issue in my eyes). I'll create separate ticket for the second problem.
Ok, I've been playing with this for a while and I think it's working correctly after the fix mentioned in comment 1. Deploy on Save can be disabled in project properties and after clean-build it is not used. I thought it's not working correctly because I didn't run clean-build and my expectation was that it should stop using DoS immediately. But it looks like we have never do it this way (Ant web project works equally). Maybe we could at least warn user that he has to run clean-build to see the DoS change because it's not much obvious (similar issue for CoS already exists as issue 201106). Based on the above I'm closing this issue as fixed and I'm going to create another tickets (P3-P4 I guess) for those minority problems.
Two minor issue created: issue 221648 - Server selection label and DoS label are bold without any reason issue 221649 - Show warning after changing 'Deploy On Save' option - Clean and Build is required ..I'll try to fix both for 7.3 anyway
Reopening --> I was looking at the wrong place.. in Ant project after disabling DoS, it stops working immediately.
Integrated into 'main-golden', will be available in build *201211080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/57051a5bfb04 User: Martin Janicek <mjanicek@netbeans.org> Log: #221623 - Deploy on Save property cannot be changed
Closing the issue once again. The web-main #57051a5bfb04 changeset does help.