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.
Created attachment 125073 [details] diff of configurations.xml Just recently I noticed that sometime in the last 5 months one of the nightly builds of NB removed all of the include files from <project>/nbproject/configurations.xml. This amounted to changes like removing every entry that looked like: <cTool> <incDir> ... </incDir> <preprocessorList> ... </preprocessorList> </cTool> See the attached diff from one of my configuration.xml files. The downloads I have used, in sequence, are: netbeans-trunk-nightly-201206220002-ml-linux.sh netbeans-trunk-nightly-201207060002-ml-linux.sh netbeans-trunk-nightly-201207170002-ml-linux.sh netbeans-trunk-nightly-201207230002-linux.sh netbeans-trunk-nightly-201208100001-linux.sh netbeans-trunk-nightly-201209190001-linux.sh So when I use <right click on project>-->properties-->Code Assistance to add them back, I was surprised to see them appear in <project>/nbproject/private/configuration.xml. This is a very bad idea. This stores immutable things about a project (source files, includes, and defines) with ephemeral things like gdb run arguments. This cannot be right. So when I add an include directory to my project, everyone else will be forced to take my latest gdb settings? Not good.
Thank you for reporting. BTW, it is not recommended to share anything under private/ folder (the name is chosen intentionally). So it is arguably a bug, but definitely not a P1 or even P2 as I can conclude from the description.
To be clear, the diff of configurations.xml is *not* from private, but from the level above that... the public one.
fixed by rolling back changes of bug #215568.
Well the version below appears to move defines and includes back to the top level configurations.xml... and of course deleting all of the includes/defines that the previous versions had dutifully added to private/configurations.xml). And the auto config correctly generates defines and includes for the default toolset. I am still left with NB's inability to generate includes/defines for other toolchains, whether the toolchains are configured or not. Shall I file another bug for this?
Product Version: NetBeans IDE Dev (Build 201210170002) Java: 1.7.0_05; Java HotSpot(TM) Client VM 23.1-b03 System: Linux version 3.4.9-2.fc16.x86_64 running on i386; UTF-8; en_US (nb) User directory: /home/toddb/.netbeans/dev Cache directory: /home/toddb/.cache/netbeans/dev
(In reply to comment #4) > I am still left with NB's inability to generate includes/defines for other > toolchains, whether the toolchains are configured or not. Shall I file another > bug for this? Yes, please file.