ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40872] New: - ant.bat can't execute java.exe due to bad argument
Date Thu, 02 Nov 2006 12:27:14 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40872>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40872

           Summary: ant.bat can't execute java.exe due to bad argument
           Product: Ant
           Version: 1.6.5
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Wrapper scripts
        AssignedTo: dev@ant.apache.org
        ReportedBy: stefannorgren@yahoo.se


ant.bat tries to execute the command:

java.exe  -classpath "C:\apache-ant-1.6.5\lib\ant-launcher.jar" "-
Dant.home=C:\apache-ant-1.6.5\" org.apache.tools.ant.launch.Launcher

This does not work on my computer with java 1.5.0_09 due to "-character is 
placed before -Dant.home=

Possible solution is to change all 5 occurances of

   "-Dant.home=%ANT_HOME%"

to

   -Dant.home="%ANT_HOME%"

in ant.bat

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message