ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Pedersen <michael.peder...@oracle.com>
Subject Re: ant and Win98
Date Thu, 07 Sep 2000 21:45:15 GMT
         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