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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to