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 - [freeform] Strange behaviour of Classpath panel in web freeform project wizard
Summary: [freeform] Strange behaviour of Classpath panel in web freeform project wizard
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks: 42682
  Show dependency tree
 
Reported: 2004-08-05 17:51 UTC by Petr Pisl
Modified: 2006-03-24 10:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.