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.
In a maven reactor project I open the properties and set the maven.test.skip=true property for the "Build project" action. When I build the project by pressing F11 the maven.test.skip option is not present on the command line. Also, when I reopen the properties that property has not been saved. I am using a maven reactor project and I have specified a profile within that project as its configuration. Without the ability to set build properties I cannot use the maven support.
Can't reproduce with Win Vista and build 200911171401. Reporter,could you please confirm,that issue is still reproducible? There was many fixes added recently.
I can't reproduce either on Linux with current dev build. Property is correctly written into nbactions.xml file in the same dir as pom.xml of the project. Reporter, please reopen if you still see the problem with detailed steps to reproduce, ideally also attached maven test project and with answers to following questions: - what are "reactor projects"? Do you mean multi-module maven projects built with reactor plugin, with parent one with packaging "pom"? - on which project did you define the property and pressed F11? - can you be more specific about profile? Which profile in which project? Thanks.
This is still not working in 200911171401. I'm attaching a demo project to illustrate the problem. Steps to reproduce: 1. unarchive project 2. open the builder project in NB 3. right click on builder > set configuration > app 4. right click on builder > properties > actions > build project 5. add a=b property and click ok 6. right click on builder > properties > actions > build project (the a=b property will be there) 7. add c=d property and click ok 8. right click on builder > properties > actions > build project Expected properties are: a=b c=d actual properties are: a=b
Created attachment 91332 [details] Project that illustrates the problem
dafe?
This defect makes using NB on complex maven projects almost impossible. At my current client we have a large multi-module project which requires multiple command line parameters and a profile to be set in order to build. Does anyone have a workaround?
I can confirm the issue in my system with the following details: Product Version: NetBeans IDE 6.8 (Build 200912041610) Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01 System: Linux version 2.6.28-18-generic running on i386; UTF-8; en_US (nb) I realized it when I tried to add a new property in an existing maven Action (Project Properties->Actions->Set Properties). It seems that this dialog ignores any property after the first line (keeps only the 1st line). The nbactions.xml & nbactions-dev.xml are not altered after save. Had to switch to command line for now. Is there is a workaround?
Confirming that subsequent edits of action's properties in a profile (configuration) are not saved. First edit of any action's properties in a profile are saved. Subsequent edits are not. > Is there a workaround? You can add the missing properties to nbactions-<profilename>.xml manually. To the same part of the file where properties from the first edit in UI were saved.
Fixed in trunk. http://hg.netbeans.org/core-main/rev/23aea6693264
Integrated into 'main-golden', will be available in build *201008030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/23aea6693264 User: Antonin Nebuzelsky <anebuzelsky@netbeans.org> Log: #176989: Cannot edit build properties in maven project.