ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: <uptodate> halts ant.
Date Wed, 20 Dec 2000 19:40:53 GMT
David,

I can't get it to reproduce when the dir/file in "targetfile" doesn't
exist, but I can get a BUILD FAILED if the directory specified in the
"dir" attribute of <srcfiles> doesn't exist. Are you sure it was bombing
out on the directory in "targetfile"?

Diane

--- David Corbin <dcorbin@machturtle.com> wrote:
> Nico Seessle wrote:
> > 
> > ----- Original Message -----
> > From: "David Corbin" <dcorbin@machturtle.com>
> > To: "Ant User" <ant-user@jakarta.apache.org>
> > Sent: Wednesday, December 20, 2000 2:07 AM
> > Subject: <uptodate> halts ant.
> > 
> > > Consider this example:
> > >
> > > <target name="chkFoo">
> > > <uptodate property="Foo.done" targetfile="dest/foo.out">
> > > <srcfiles dir="src" includes="foo.in"/>
> > > </uptodate>
> > > </target>
> > >
> > > The build fails and ant stops, because the directory "dest" doesn't
> > > exist.  I can imagine no sound reason for this.
> > >
> > 
> > How does it fail? Is this a normal "BUILD FAILED" or is Ant printing
> an
> > Exception?
> 
> 
> It's a normal "BUILD FAILED", and it says "could not find dest".  Sorry
> if that was clear.
> 
> > 
> > Nico
> 
> -- 
> David Corbin 		
> Mach Turtle Technologies, Inc.
> http://www.machturtle.com
> dcorbin@machturtle.com


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

Mime
View raw message