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 61628 - Cannot Create New Library Having Space Char in Library Name
Summary: Cannot Create New Library Having Space Char in Library Name
Status: RESOLVED DUPLICATE of bug 46863
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker with 3 votes (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 64486 64967 71140 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-01 20:52 UTC by ssoong
Modified: 2006-05-23 03:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
"Lucky-Dog" vs "Lucky Dog" as new library name (13.23 KB, image/jpeg)
2005-08-01 20:54 UTC, ssoong
Details
JSP compiler would not recognise a library with space char in its name. (36.04 KB, image/jpeg)
2005-08-01 21:30 UTC, ssoong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ssoong 2005-08-01 20:52:01 UTC
NetBeans 4.2 (Build 2005 0728 1800)
Windows XP version 5.1 running on x86
JDK 1.5.0_03 building for 1.4.2

See attached JPG.
"Lucky Dog" not allowed.
"Lucky-Dog" allowed.
Comment 1 ssoong 2005-08-01 20:54:39 UTC
Created attachment 23410 [details]
"Lucky-Dog" vs "Lucky Dog" as new library name
Comment 2 ssoong 2005-08-01 20:59:13 UTC
Lucky Dog is a pub in Worcester, Mass.
which allows rookie bands once a week.
Comment 3 ssoong 2005-08-01 21:30:14 UTC
Created attachment 23411 [details]
JSP compiler would not recognise a library with space char in its name.
Comment 4 ssoong 2005-08-01 21:38:32 UTC
Notice in the second attachment,
even though the library folder in project explorer recognises the library
"JSP API 2.0", the IDE would not recognise it, and when attempt to compile 
would spew error messages of missing JSP API library. This library was created 
by directly creating XML file.

Notice that I have to create a new library, "ServletAPI2.4", because the 
library "Servlet API 2.4" I had created by directly editing XML file resulted 
in the same errors.
Comment 5 ssoong 2005-08-02 15:40:30 UTC
However,
when I created a new class source file
which uses "JSTL 1.1",
why does the editor and compiler accept it
without hesitation despite the space char
in the name "JSTL 1.1"?
Hmmm ... the software is exercising undue
discrimination between user created libraries
and its own incorporated libraries.


import org.apache.taglibs.standard.Version;
public class z1
{
   public z1()
    {
    }
}
Comment 6 Marek Grummich 2005-08-08 09:44:24 UTC
It isn't possible to create a new library having space in its name in the
current builds, so I change this defect to enhancement. Thanks!
Comment 7 Tomas Zezula 2005-09-15 18:36:19 UTC
*** Issue 64486 has been marked as a duplicate of this issue. ***
Comment 8 Tomas Zezula 2005-09-23 10:10:32 UTC
*** Issue 64967 has been marked as a duplicate of this issue. ***
Comment 9 gorg 2005-10-12 15:01:09 UTC
This is very annoying. I am sure the team can do better than that. We are not in 
80s.
Comment 10 Tomas Zezula 2006-01-12 10:44:02 UTC
*** Issue 71140 has been marked as a duplicate of this issue. ***
Comment 11 rsk 2006-01-18 20:41:54 UTC
+1 for me, this is really annoying because the default libraries almost *all*
(exception JUnit) have spaces in their names.
Comment 12 hilde 2006-01-25 19:24:54 UTC
Let me second the users who are appalled. When you open the Manage Libraries 
dialog there are a few ones there already and they have spaces in their names. 
So either it is possible or it isn't but there should be one and only one rule 
for both user and "built-in" libraries: one of the worst things a software tool 
can do is to behave inconsistently. That is not a capital issue but the lack of 
consistency is jarring.
Comment 13 _ wadechandler 2006-05-23 03:23:30 UTC
See issue #46863
Comment 14 _ wadechandler 2006-05-23 03:25:31 UTC

*** This issue has been marked as a duplicate of 46863 ***