Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Incomplete
-
3.0.3
-
None
-
None
-
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: C:\PROGRA~1\APACHE~1\APACHE~1.3
Java version: 1.6.0_23, vendor: Sun Microsystems Inc.
Java home: c:\Program Files\Java\jdk1.6.0_23\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100) Maven home: C:\PROGRA~1\APACHE~1\APACHE~1.3 Java version: 1.6.0_23, vendor: Sun Microsystems Inc. Java home: c:\Program Files\Java\jdk1.6.0_23\jre Default locale: de_DE, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
Description
Setting the environment variable
HOME="C:\Program Files\Microsoft Visual Studio 10.0\VC"
leads to an error when executing Maven:
C:\Users\MyUser\workspace\myproject\trunk>mvn.bat
"Files\Microsoft" kann syntaktisch an dieser Stelle nicht verarbeitet werden.
("Files\Microsoft" cannot be processed syntactically in this place.)
The equivalent to the HOME variable in Linux is USERPROFILE for Windows systems.
No assumptions about the value of variable HOME should be made on Windows.
Please observe that the value of USERPROFILE is not necessarily the concatenation of the values of HOMEDRIVE and HOMEPATH.
Please change mvn.bat to use %USERPROFILE% instead of %HOME% on Windows systems.