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.
dev build 200804101202 Project Properties -> Libraries -> Libraries Folder -> Browse I expect to be able to null out this field in order to disable the "dedicated folder" feature but there doesn't seem to be a way to do so. Users should be able to enable/disable shared folders on existing projects.
This issue is also discussed at: http://www.nabble.com/How-to-remove-dedicated-libraries-folder-from-a-project--tp17734391p17734391.html http://www.nabble.com/Removing-%22dedicated-folder%22-for-storing-libraries-tp16760372p16760372.html There doesn't seem to be a way to remove the library directory reference itself via the GUI. I think one workaround would be to add the libraries directly to the project and effectively disable the shared library directory (i.e simply not use it even if it is present). Manually deleting the library reference in project.xml and project.properties may also work.
I'm surprised that no one filed a RFE yet that asks for the ability to edit shared libraries. Currently there is no way to: - Disable shared libraries - Remove shared libraries (that is, individual entries) - Re-import a shared library from the global libraries Hacking property files by hand doesn't sound like a nice way of doing things. Can someone please re-assign this RFE into the current category?
Sorry I missed two other important features: - Ability to edit shared libraries (change their classpath, source path, etc) - Ability to export shared libraries back into the global libraries
It seems the ability to re-sync the libraries from the global libraries is something very necessary. I just ran into an issue with web services and JAX-WS client generation when working in NB 6.5 against a project I started in 6.1. I could update the project rather easily were I able to remove the old JAX-WS 2.1 library and add the JAX-WS 2.1 from 6.5. Partly it could be viewed as the name needs to have more than major.minor for JAX-WS, but I could easily fix it in the IDE were it some how easier to manage the libraries whether that be delete and add again or re-sync them. Just being able to easily edit them without manually do it by hand would be nice though.
Any reason why users are prevented from clearing the contents of the Project:Properties->Libraries->Libraries Folder? If there is a way, please let me know.
I know some of you aren't going to like this, but, if you have to get a job done, this may help. If you go into your "project.xml" file (in the project's "nbproject" sub-directory), you can remove the reference to the Libraries Folder. For example, here's my "project.xml" file before I changed anything: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://www.netbeans.org/ns/project/1"> <type>org.netbeans.modules.java.j2seproject</type> <configuration> <data xmlns="http://www.netbeans.org/ns/j2se-project/3"> <name>Capture</name> <minimum-ant-version>1.6.5</minimum-ant-version> <source-roots> <root id="src.dir"/> </source-roots> <test-roots/> </data> <libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1"> <definitions>.\lib\nblibraries.properties</definitions> </libraries> </configuration> </project> I removed the <libraries>...</libraries> tag such that the file now looks like this: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://www.netbeans.org/ns/project/1"> <type>org.netbeans.modules.java.j2seproject</type> <configuration> <data xmlns="http://www.netbeans.org/ns/j2se-project/3"> <name>Capture</name> <minimum-ant-version>1.6.5</minimum-ant-version> <source-roots> <root id="src.dir"/> </source-roots> <test-roots/> </data> </configuration> </project> Save the changes and then right-click on your project, go to "Properties"->"Libraries" to confirm that the "Libraries Folder" field is now blank. Then click "OK" to recreate the "build-impl.xml" file. That should do it. It worked for me, anyway. Good luck.
Reassigning to default owner.
Just ran into this one. Still exists in 7.3.1. Very disappointing.