John created MNG-5275:
-------------------------
Summary: mvn.bat uses wrong HOME directory
Key: MNG-5275
URL: https://jira.codehaus.org/browse/MNG-5275
Project: Maven 2 & 3
Issue Type: Bug
Components: General
Affects Versions: 3.0.4
Environment: win7
Reporter: John
mvn.bat uses %HOMEDRIVE%%HOMEPATH% for setting HOME on win os:
set "HOME=%HOMEDRIVE%%HOMEPATH%"
But java.exe uses %USERPROFILE% for setting "user.home" system property
%HOMEDRIVE%%HOMEPATH% need not point to same directory as %USERPROFILE% (only
in a single user environemt "%HOMEDRIVE%%HOMEPATH% == %USERPROFILE%" would be
true)
So
set "HOME=%USERPROFILE%"
would be the correct solution in mvn.bat
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira