ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Ant and Win98
Date Sat, 16 Sep 2000 08:35:30 GMT
There's an archive available now at:

I suspect that the .bat files were probably created/edited on a Unix
machine (but that's just a guess). I think I do remember seeing something
come thru the list about it awhile back.

Don't have an answer wrt to the short-names thing, but I'm pretty sure I
remember seeing something come thru the list about that as well. Check the


--- Martin Cooper <> wrote:
> I apologise in advance if this is a FAQ, but I couldn't find a FAQ
> message/site or an archive to look through...
> I'm trying to work with Ant on Win98, and have come across two problems.
> 1) It seems that I have to do a line-end edit on the Ant batch files to
> get
> them to work under Win98. I have to do a global search/replace to
> replace
> each LF with CR-LF. Given that batch files are Windows-specific, I would
> have expected that the batch files in the Ant distribution would be
> usable
> without editing. Is this a "distribution" bug, or am I doing something
> wrong?
> 2) It seems that I have to set my environment variables to use the
> (horribly
> ugly) short names of the various home directories, such as ANT_HOME.
> Otherwise, constructs such as the 'for' loop (in ant.bat) fail, because
> they
> apparently do not handle long path names. Again, am I doing something
> wrong,
> or is this just the way it is?
> Thanks!
> --
> Martin Cooper
> Tumbleweed Communications


Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!

View raw message