Spaces in for external executable are not accepted
--------------------------------------------------

                 Key: MCOMPILER-99
                 URL: http://jira.codehaus.org/browse/MCOMPILER-99
             Project: Maven 2.x Compiler Plugin
          Issue Type: Bug
    Affects Versions: 2.1
         Environment: Windows XP
            Reporter: Jean-Marc Borer


When the path to the external executable in <executable> contains space(s), the 
build will fail: the command is misunderstood because it stops at the first 
space encountered.

Example:
<executable>C:\Program Files\java\jdk1.6.0_11\bin\javac.exe</executable>
The plugin will try to execute "C:\Program" instead.

On windows the only workaround I know of is:
<executable>C:\PROGRA~1\java\jdk1.6.0_11\bin\javac.exe</executable>

-- 
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