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 45837 - library can be added more then once
Summary: library can be added more then once
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 47122 (view as bug list)
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-07-02 13:11 UTC by Pavel Buzek
Modified: 2004-08-17 13:58 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 Pavel Buzek 2004-07-02 13:11:41 UTC
Add library dialog allows user to add one library
more then once - this is probably harmless but
does not look good.

The same problem exists in j2se projects -
reassign when you fix it in web module.
Comment 1 Pavel Buzek 2004-07-02 13:16:23 UTC
suggested solution: in Add Library dialog show all libraries but
disable those that are already added

BTW: update the UI to reflect changes in java projects (add icons)
Comment 2 Pavel Fiala 2004-08-05 10:48:13 UTC
Fixed in web module: 
If selected library is new in project, it is added and highlighted, if
it is already included in project it is just highlighted and possibly
selected.
Comment 3 Petr Jiricka 2004-08-05 10:51:18 UTC
Also changing module -> java.
Comment 4 Jesse Glick 2004-08-11 20:05:57 UTC
*** Issue 47122 has been marked as a duplicate of this issue. ***
Comment 5 Tomas Zezula 2004-08-17 13:58:45 UTC
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.28; previous revision: 1.27
done
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/LibrariesChooser.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/LibrariesChooser.java,v
 <--  LibrariesChooser.java
new revision: 1.10; previous revision: 1.9
done
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/VisualClasspathSupport.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/VisualClasspathSupport.java,v
 <--  VisualClasspathSupport.java
new revision: 1.12; previous revision: 1.11
done