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.
[custom 20040902, JDK 1.5.0 RC] Steps to reproduce: 1) Add library to IDE and fill in only classpath 2) Close Library manager Look into ${userdir}/build.properties - it contains only library classpath 3) Open Library manager and fill in sources and/or javadoc, close Lib. manager 4) Look into ${userdir}/build.properties - it still contains only library classpath, other components were not added. After IDE restart build.properties contains all library components.
*** Issue 48368 has been marked as a duplicate of this issue. ***
#48368 has been filed as NetCAT issue.
Checking in org/netbeans/modules/project/libraries/LibrariesStorage.java; /cvs/projects/libraries/src/org/netbeans/modules/project/libraries/LibrariesStorage.java,v <-- LibrariesStorage.java new revision: 1.12; previous revision: 1.11 done
Well, described problem is fixed but there is another one. Once you start removing library components the file build.properties is not updated and still contains removed entries. But this is more serious, because it's not fixed by IDE restart.
Sorry it was my bug, I didn't try the content removal. I am working on the unit test for the LibrariesStorage. This will make the libraries framework easier to test. I am going to commit it today. Checking in j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/J2SELibraryTypeProvider.java; /cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/libraries/J2SELibraryTypeProvider.java,v <-- J2SELibraryTypeProvider.java new revision: 1.11; previous revision: 1.10 done
Verified in dev-200409071800.