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 4340] New: - $JAVA_HOME has spaces, bin/ant will not execute properly
Date Mon, 22 Oct 2001 16:53:01 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4340

$JAVA_HOME has spaces, bin/ant will not execute properly

           Summary: $JAVA_HOME has spaces, bin/ant will not execute properly
           Product: Ant
           Version: 1.4.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: joshua.martin@valtech.com


I am running Win2000 with a Cygnus Cygwin Bash shell.  I have installed the 
latest jdk to a directory whose path contains spaces.  When I set the JAVA_HOME 
environment variable, the bin/ant shell script can't see the correct JAVA_HOME.

This is a simple problem ... quotes are missing from the script.

I have fixed the shell script and attached it.

Joshua

Mime
View raw message