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.
1) Create a web project with existing ant script ( use for example attached project from issue #45404). 2) in the wizard - 5. step - add second package folder (usr/src) 3) in the wizard - 6. step - add a jar (lib/servlet-api.jar), then uncheck the checkbox "Separate Classpath for Each Source Package Folder" -> the selected jar disappears 4) Check the checkbox again and add the jar again. Now choose the second Package Folder (the Classpath window doesn't contain any jar). 5) uncheck the checkbox -> the added jar appears 6) check the checkbox again. -> The jar is now assigned to both Package Folder.
There is the same bahaviour, when you create java project with existing ant script
Welcome, back :-)
Fixed in: src/org/netbeans/modules/ant/freeform/FreeformProjectGenerator.java; new revision: 1.21; previous revision: 1.20 src/org/netbeans/modules/ant/freeform/ui/ClasspathPanel.java; new revision: 1.14; previous revision: 1.13
This issue was solved long time ago. Because nobody has reopened it neither added comments, we are verifying/closing it now. If you are still able to reproduce the problem, please reopen. Thanks in advance.