Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 6013 invoked from network); 8 Sep 2000 13:07:44 -0000 Received: from h209-50-64-162.mt.sfl.net (HELO mt.fiberone.net) (209.50.64.162) by locus.apache.org with SMTP; 8 Sep 2000 13:07:44 -0000 Received: by h209-50-64-162.mt.fiberone.net id <118092>; Fri, 8 Sep 2000 09:02:55 -0400 Reply-To: From: "Brian D. Wisniewski" To: Subject: RE: ant and Win98 Date: Fri, 8 Sep 2000 09:03:05 -0400 Message-Id: <00Sep8.090255edt.118092@h209-50-64-162.mt.fiberone.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <4.3.2.7.0.20000907143911.00b2a430@gmmail.oraclecorp.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Importance: Normal X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N 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