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.
[ BUILD # : 6474on110115 ] [ JDK VERSION : 1.6.22 ] If you create your own library and import that into a project it cannot be changed, that is, even if you add .jar's to it those changes will not be reflected into the project, furthermore it can not be re-imported either as already beeing imported it is no longer part of the library list and (as far as I know) it cannot be removed from the imported list since there is no remove function in that dialog.
I don't know what you mean by "imported" and cannot really follow what you are talking about. Please provide detailed, concrete steps to reproduce your problem, pointing out differences between what you observed to happen vs. what you expected to happen.
Quite simple: If you create your own library (tools->libraries->create new) and add f.ex. a .jar to that library. Then go to a project and open library functions (right-click->properties->libraries->add library->import) then that library is imported into the project. So far so good, nothing fancy about that, but, if you suddenly realize that there should also been an other .jar in the same library, so you (tools->libraries->mark your library->add JAR/FOLDER and that .jar will be added to the library, no problems, but, in the project where that library was added (imported) earlier the new .jar is not present, also if you go to (right-click->properties->add library->import) that library is not present in the list since it has already been imported earlier also you cannot remove a library after it has been imported because there is no "remove library" function. What I mean is in (right->properties->libraries) there should be a function to remove an imported library, or to update an earlier imported library. Ofcourse you can edit lib/nblibraries.properties to fix it, but that is only for the "most advanced users" Also one might notice that the import library function is not available for all types of projects f.ex. an Java-EE Application project don't have it (and I don't think it needs it either) but f.ex. Java-EE EJB module and Java-EE web client... has this function (import library) but no way to change it after it has been imported.
(In reply to comment #2) > go to a project and open library functions > (right-click->properties->libraries->add library->import) ...after setting up the project to use sharable libraries in say ./lib. > (tools->libraries->mark your library You should first select nblibraries.properties in "Libraries location" so you are modifying the copied library def, not the original global one. So long as you do that, it works fine. > Java-EE EJB module and Java-EE web > client... has this function (import library) but no way to change it after it > has been imported. Don't know anything about that. If you observe a significant difference in behavior relative to Java SE projects, file a bug in the 'javaee' component.
Well, I'll buy that, but I still think there should be a remove button in that dialog, I mean, where you add it is where you remove it, and besides thats also the place where ppl will look first for a way to remove imported libraries, so, I'll make an RFE for that button...