ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian D. Wisniewski" <brian.wisniew...@cgiusa.com>
Subject RE: ant and Win98
Date Fri, 08 Sep 2000 13:03:05 GMT
My thanks as well.  The line feeds and, for my situation, re-installing JRE
did the trick.

-----Original Message-----
From: Mike Pedersen [mailto:michael.pedersen@oracle.com]
Sent: Thursday, September 07, 2000 5:45 PM
To: ant-user@jakarta.apache.org
Subject: Re: ant and Win98


         Thanks to the list for the help on this one.  The problem turned
out to be the linefeeds.  When I saved the batch files as PC files ant ran
successfully.  I Probably should have noticed that one.  If the FAQ allows
submissions I think I'll add this.

At 08:11 AM 9/7/00 +0200, you wrote:
>Mike Pedersen wrote:
> >
> > Hello, I've been using ant with much success over the last couple months
on
> > NT Solaris and Linux.  I have recently tried to run it on win98 with no
> > success.  I have set ant_home, java_home and the ant/bin directory is in
> > the path.  I have also changed all references to "program files" in the
> > and.bat to point to short directory names thinking that there might be a
> > problem with long file names.  When ever I attempt to run "ant" I get
bad
> > command or file name.  Any thoughts on this would be much appreciated.
>
>Maybe your .bat-Files still have unix-style line feeds. DOS (or the
>Win98
>command line cannot process such files correctly. Try to open the
>ant.bat
>with windows notepad. If there are unix-style line feeds in the file,
>there will be black boxes instead of line-feeds.
>
>Ralf

Mime
View raw message