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.
NetBeans IDE 7.1 RC1 (Build 201111171527) JDK 7 build 147 When removing a wrapped jar file from a library wrapper module and re-adding it, the public packages are not set in project.xml again. This would then lead to build failures for modules depending on the library wrapper. Steps to reproduce: 1. Create a NetBeans Platform Application project. 2. Create a library wrapper module in the suite from step 1, choosing a valid jar file. 3. Inspect project.xml and note the public-packages that have been specified. 4. Access the library wrapper module's properties, go to the Libraries category and select Wrapped JARs. 5. Remove the wrapped jar. 6. Click on Add JAR and choose the same jar file again. 7. Inspect the project.xml file again - no public packages are defined.
Public packages are just set as a convenience by the library wrapper wizard. In general you are expected to maintain this list in the Properties dialog.
Closing as invalid, because as was said before, public packages are set by the library wrapper wizard.