ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Any feedback on the shell script changes?
Date Tue, 10 Feb 2004 18:27:07 GMT
--- Stefan Bodewig <bodewig@apache.org> wrote:
> 1.6.1.  Has anybody found time to try the changed
> script on Cygwin or
> even AIX?

More info:  I found the bug because I have HOME set to
/cygdrive/d aka D:\ .  When constructing
ant_exec_command in the ant script, escaped
double-quotes are added.  When I changed these to
single-quotes around $CYGHOME it fixed my problem. 
But just for kicks I set CLASSPATH to end with a
trailing backslash (I normally keep it unset) and got
the same problem.  The trailing backslash is, of
course, escaping the following double-quote and making
the command line appear to contain an unterminated
quoted string.  Even better, combine the two and the
second cancels out the first, but loses the launcher
classname in the cygwin.user.home value.  :)  Does the
use of eval here have to do with that environment
variable/rpm (IIRC) stuff that was floating around
awhile back?  Is there another way to make sure
everything has been thoroughly evaluated so we can
pass args single-quoted?

-Matt


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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


Mime
View raw message