[ 
http://jira.codehaus.org/browse/MNG-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196737#action_196737
 ] 

André Fügenschuh commented on MNG-4249:
---------------------------------------

Thanks for evaluating.

As I said "the error messages are not verbose enough (even in debug mode)" [mvn 
-X]:
see the attached 'output2.txt'. There's just the error message with no 
additional hints ...

Environment 'delta':

Java 6u16
Maven 2.2.1
javadoc-plugin 2.6.1

The paths for 'java.home' or for the used javadoc executable are valid!

> Environment variable with non-ASCII characters
> ----------------------------------------------
>
>                 Key: MNG-4249
>                 URL: http://jira.codehaus.org/browse/MNG-4249
>             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
>            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 generated.
> (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.
> 4) set %USERPROFILE%=%HOMEDRIVE%\Users\HMER~1
> 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: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to