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.

Bug 46947

Summary: [freeform] Strange behaviour of Classpath panel in web freeform project wizard
Product: projects Reporter: Petr Pisl <ppisl>
Component: AntAssignee: David Konecny <dkonecny>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 42682    

Description Petr Pisl 2004-08-05 17:51:21 UTC
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.
Comment 1 Petr Pisl 2004-08-05 17:54:52 UTC
There is the same bahaviour, when you create java project with
existing ant script
Comment 2 Petr Hrebejk 2004-08-16 10:31:45 UTC
Welcome, back :-)
Comment 3 David Konecny 2004-08-18 14:15:14 UTC
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
Comment 4 Marian Mirilovic 2005-12-20 15:48:51 UTC
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.