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.
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.
Created attachment 23410 [details] "Lucky-Dog" vs "Lucky Dog" as new library name
Lucky Dog is a pub in Worcester, Mass. which allows rookie bands once a week.
Created attachment 23411 [details] JSP compiler would not recognise a library with space char in its name.
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.
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() { } }
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!
*** Issue 64486 has been marked as a duplicate of this issue. ***
*** Issue 64967 has been marked as a duplicate of this issue. ***
This is very annoying. I am sure the team can do better than that. We are not in 80s.
*** Issue 71140 has been marked as a duplicate of this issue. ***
+1 for me, this is really annoying because the default libraries almost *all* (exception JUnit) have spaces in their names.
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.
See issue #46863
*** This issue has been marked as a duplicate of 46863 ***