Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 42930 invoked by uid 500); 12 Jun 2001 23:15:51 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 42918 invoked from network); 12 Jun 2001 23:15:50 -0000 Message-ID: <4E7888D4F219E145B6F81E5D3049E3BF1B10A5@scmail01.arsin.com> From: Peter Vogel Reply-To: ant-user@jakarta.apache.org To: 'Diane Holt ' , "'ant-user@jakarta.apache.org '" Subject: RE: bug? Date: Tue, 12 Jun 2001 16:15:54 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Great! So I'm not losing my mind :-) I'll see if I see an obvious fix and send in a patch if I do... -Peter -----Original Message----- From: Diane Holt To: ant-user@jakarta.apache.org Sent: 6/12/2001 3:48 PM Subject: RE: bug? The problem is it's not trying to pick up ${dist}/scripts/monitor.sh from the current directory; nor is it changing the directory to ${dist} to pick up script/monitor.sh from there. It's looking to pick up scripts/monitor.sh from the base directory, and that file doesn't in fact exist. So yes, I'd call that a bug. (I'd also call it a bug that it leaves the .tar file around after it bombs out, and that it says the tar-file is up-to-date when it doesn't find any matching files for the fileset.) Diane --- Peter Vogel wrote: > OK, that makes sense, and no basedir is what I tried originally, > but take this example: > > > > > > > > > > > > > > I get this: > > C:\e2open\b1003_patch1\sso\Build\build.xml:151: Problem creating TAR: > scripts\mo > nitor.sh (The system cannot find the path specified) > --- Nested Exception --- > java.io.FileNotFoundException: scripts\monitor.sh (The system cannot > find > the pa > th specified) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.(FileInputStream.java, Compiled > Code) > at java.io.FileInputStream.(FileInputStream.java, Compiled > Code) > at org.apache.tools.ant.taskdefs.Tar.tarFile(Tar.java, Compiled > Code) > at org.apache.tools.ant.taskdefs.Tar.execute(Tar.java, Compiled > Code) > at org.apache.tools.ant.Target.execute(Target.java, Compiled > Code) > at org.apache.tools.ant.Project.runTarget(Project.java:898) > at org.apache.tools.ant.Project.executeTarget(Project.java, > Compiled > Cod > e) > at org.apache.tools.ant.Project.executeTargets(Project.java, > Compiled Co > de) > at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code) > at org.apache.tools.ant.Main.main(Main.java:149) > > Total time: 7 seconds > > ${dist}/scripts/monitor.sh DOES exist... > > Help! > > Thanks, > -Peter > > > -----Original Message----- > > From: Stefan Bodewig [mailto:bodewig@apache.org] > > Sent: Tuesday, June 12, 2001 2:23 AM > > To: ant-user@jakarta.apache.org > > Subject: Re: bug? > > > > > > Peter Vogel wrote: > > > > > > > > > The basedir is the problem here, this forms an implicit fileset with > > default permissions - and it gets handled first. > > > > Just omit the attribute. > > > > Stefan > > ===== (holtdl@yahoo.com) __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/