Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 6540 invoked by uid 500); 22 Oct 2001 16:52:58 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 6525 invoked from network); 22 Oct 2001 16:52:57 -0000 Date: 22 Oct 2001 16:53:01 -0000 Message-ID: <20011022165301.14546.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 4340] New: - $JAVA_HOME has spaces, bin/ant will not execute properly X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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