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 47270 - Add JAR in classpath customizer allows add directories
Summary: Add JAR in classpath customizer allows add directories
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Tomas Zezula
URL: http://projects.netbeans.org/nonav/bu...
Keywords: UI
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-08-16 15:54 UTC by zikmund
Modified: 2006-03-24 10:05 UTC (History)
1 user (show)

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 zikmund 2004-08-16 15:54:22 UTC
Build 200408161051

1) Have a JavaApp
2) Properties|Build|Compiling Sources|Add JAR
3) Select a directory, OK
4) ERROR:
directory was added.
Comment 1 Jesse Glick 2004-08-16 22:10:03 UTC
It is supposed to, actually; it really means "add JAR, ZIP, or
folder". (From time to time you may need to add a folder of class
files that are not packaged in a ZIP. Ant and the Java launcher
support this fine, so there is no particular reason to forbid it.) The
dialog title even says "Add JAR/Folder" but I think it would be too
much text for the button. Leave to Jano to comment. (I think I have
heard of others being confused by this as well.)
Comment 2 zikmund 2004-08-17 09:08:06 UTC
BTW: "Add JAR/Folder..." was the naming in the past (I think) and it
is still in WebApp customizer (you can compare how it looks).

Reopening till Jano's opinion.
Comment 3 jrojcek 2004-08-17 13:28:01 UTC
The spec actually says the button should be named: "Add JAR/Folder". It isn't very nice, but 
I hope it is clear.
Comment 4 Pavel Buzek 2004-08-17 16:38:48 UTC
And "Ad JAR/Folder..." will be consistent with web/project too.
Comment 5 Jesse Glick 2004-08-18 00:05:52 UTC
OK, should be better that way.
Comment 6 Tomas Zezula 2004-08-24 10:32:49 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.29; previous revision: 1.28
done
Comment 7 zikmund 2004-08-26 13:21:20 UTC
Verified.