ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Luby <patrick.l...@sun.com>
Subject Re: cvs commit: jakarta-ant/src/script ant antRun
Date Fri, 09 Aug 2002 08:33:00 GMT
Stefan,

Stefan Bodewig wrote:
> 
> Well, this is where I could test it as well (plus FreeBSD), but I'm
> always suprosed to see how many people prefer to run ant in Cygwin
> over ant.bat.
> 
> And lots of things in the ant script are due to Cygwin problems.
> 

Many times, this is due to the use of spaces in paths. After all, spaces 
are very common in Windows paths but are really a pain to deal with in 
both batch and shell scripts.

> 
> Thanks.  I'm currently patching the script to contain a modified
> version of the one in
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10654>, maybe you
> better wait a few minutes (or I'll have to merge, no problem).
> 

I just saw your commit. You used the same approach for CYGHOME as I was 
going to use for JIKESPATH: construct a different command depending on 
whether JIKESPATH is defined or not. Unfortunately, the script gets a 
little obtuse with 4 possible combinations of JIKESPATH and CYGHOME. 
Unfortunately, it is the best we have. Also, it is probably the only way 
to do it in the batch script ant.bat since you cannot put "=" characters 
in environment variables on Windows 95, 98, and ME.

> 
> No idea, I'm not using jikes on MacOS, but I'm sure Jon Stevens would
> catch it (most "if $darwin" stuff is his).
 >

I will leave the Mac OS X stuff alone for now. But I have been able to 
run the <javac> quite nicely without the JIKESPATH hack on my Mac OS X 
machine since the 10.0 release.
> 
> BTW, if you remove the "extraneous cd", the cd "$savedir" is obsolete
> as well, no?
> 

Yes. This can be removed as well.

> Stefan
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>

-- 
________________________________________________________________
Patrick Luby                     Email: patrick.luby@sun.com
Sun Microsystems                         Phone: 408-276-7471
901 San Antonio Road, USCA14-303
Palo Alto, CA 94303-4900
________________________________________________________________


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


Mime
View raw message