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 <[EMAIL PROTECTED]> wrote:
> Nico Seessle wrote:
> > 
> > ----- Original Message -----
> > From: "David Corbin" <[EMAIL PROTECTED]>
> > To: "Ant User" <[EMAIL PROTECTED]>
> > 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
> [EMAIL PROTECTED]


=====
([EMAIL PROTECTED])



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

Reply via email to