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 118232 - [60cat] Creation of Projects with Accents possible?
Summary: [60cat] Creation of Projects with Accents possible?
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-09 14:29 UTC by host
Modified: 2007-10-09 22:48 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 host 2007-10-09 14:29:48 UTC
[ JDK VERSION : 1.6.0_02 ]

I just created a project with the name "Protégé".

The project creation wizard creates the top-level source package
"protégé" - are packages with accents allowed? If not then this is
obviously a bug...

Also, when building this new project from the project menu with
"Build" NB (or Ant?) creates a Jar-file with the accents replaced by
underscores (as seen in the output below)

...
Created dir: C:\development\Protégé\dist
Building jar: C:\development\Protégé\dist\Prot_g_.jar
Not copying the libraries.
To run this application from the command line without Ant, try:
java -jar "C:\development\Protégé\dist\Prot_g_.jar"
jar:
...
Comment 1 Milos Kleint 2007-10-09 14:56:43 UTC
ant related?
Comment 2 Jesse Glick 2007-10-09 22:48:35 UTC
Non-ASCII characters are permitted in package names so long as your operating system supports such characters properly
in file paths. I know it works fine on Linux; I would not put money on it working well on Windows, but it may.

The use of underscores in the JAR name is intentional, as a safety measure; any characters which are not known to be
safe are replaced with underscores. You can edit the final JAR name in project.properties if you prefer.