maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Fügenschuh (JIRA) <>
Subject [jira] Commented: (MNG-4249) Environment variable with non-ASCII characters
Date Mon, 02 Nov 2009 00:59:55 GMT


André Fügenschuh commented on MNG-4249:

Okay, although annoying that we can't get this reproducible ...

FYI: as described in the OP, tests run / docs are created.

That said, commands like:

{noformat}cmd.exe /X /C "P:\Programs\Java\jdk6\jre\bin\java -jar C:\Users\HME~1\AppData\Local\Temp\surefirebooter88025.jar
C:\Users\HME~1\AppData\Local\Temp\surefire88023tmp C:\Users\HME~1\AppData\Local\Temp\surefire88024tmp"{noformat}
{noformat}cmd.exe /X /C "P:\Programs\Java\jdk6\jre\..\bin\javadoc.exe -J-version"{noformat}

run fine!

> Environment variable with non-ASCII characters
> ----------------------------------------------
>                 Key: MNG-4249
>                 URL:
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>         Environment: Windows Vista SP2 (x64) - English
> Java 6 (x64)
> java version "1.6.0_14"
> Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
> Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)
> Apache Maven 2.2.0 (r788681; 2009-06-26 15:04:01+0200)
> Java version: 1.6.0_14
> Java home: P:\Programs\Java\jdk6\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows vista" version: "6.0" arch: "amd64" Family: "windows"
> surefire-plugin 2.4.3
> javadoc-plugin 2.5
>            Reporter: André Fügenschuh
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>         Attachments:, output.txt, output2.txt
> This is a follow-up to MJAVADOC-236.
> Running 'mvn test' or 'mvn javadoc:javadoc' generates error messages of type "The system
cannot find the path specified." although tests are run successfully and javadoc files are
> (see the attached [abbreviated] output)
> The reason is my account name that contains non-ASCII chars, e. g. 'Hömer', so the Windows
environment variable %USERPROFILE% is: '%HOMEDRIVE%\Users\Hömer'.
> If I change it to '%HOMEDRIVE%\Users\HMER~1' (the default '8dot3' name on Windows) all
runs fine!
> Steps to reproduce:
> 1) Create an account with non-ASCII chars, e. g. 'Hömer'
> 2) Run 'mvn test' and 'mvn javadoc:javadoc' on an arbitrary project
> 3) Look for "The system cannot find the path specified." messages.
> 6) No error messages appear.
> Additional information:
> - For surefire, forking must be enabled (default forkMode is 'once'), if you disable
it, everything runs fine. 
> - I played around with changing the Windows 'codepage' used for shells (cmd.exe) from
English (1252/437) to European (1250/850), without success.
> - Maybe, a commonly shared component is responsible, but, as the error messages are not
verbose enough (even in debug mode), I cannot figure out what, so I place the report here.
> Workaround:
> Set the env. var %USERPROFILE% using the '8dot3' name variant of %USERNAME%.
> (I have a generic solution for setting %USERPROFILE% this way to any shell, but I don't
want to go into details here; if it is of interest, I can describe it further.)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message