You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Pollähne. Ullrich" <U....@seeburger.de> on 2005/09/28 15:33:29 UTC

Umlauts in ANT home

Hi,

I tried to execute ANT from a path that contains umlauts (means ant.home contains umlauts).
The result was:
C:\java\apache-Änt-1.6.5>bin\ant
java.lang.ClassNotFoundException: org.apache.tools.ant.Main
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:244)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Is there a chance to get ANT running from a directory containing umlauts?

Ullrich.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Umlauts in ANT home

Posted by Antoine Levy-Lambert <an...@gmx.de>.
Hello Ullrich,

not sure,

I think that current Windows JVM implementations from sun only
understand ascii command line parameters, because they were coded using
the -A APIs of Microsoft,
instead of the -W APIs.

I know that with JDK 1.4,
it is not possible to run "java Shalom" if you write Shalom in Hebrew.
it is probably also not possible to run "java Bär" (supposing you have
written Bär.java and compiled it into Bär.class)

Cheers,
Antoine

Pollähne. Ullrich wrote:

>Hi,
>
>I tried to execute ANT from a path that contains umlauts (means ant.home contains umlauts).
>The result was:
>C:\java\apache-Änt-1.6.5>bin\ant
>java.lang.ClassNotFoundException: org.apache.tools.ant.Main
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:244)
>        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
>
>Is there a chance to get ANT running from a directory containing umlauts?
>
>Ullrich.
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org