You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Corbin <dc...@machturtle.com> on 2000/12/20 02:07:38 UTC

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.

-- 
David Corbin 		
Mach Turtle Technologies, Inc.
http://www.machturtle.com
dcorbin@machturtle.com

Re: halts ant.

Posted by David Corbin <dc...@machturtle.com>.
David Corbin wrote:
> 
> Conor MacNeill wrote:
> >
> > David,
> >
> > I have tested this with both the ant 1.2 release and the current CVS code
> > and it works OK for me. Can you give us more info about how it fails?
> 
> I think I'm using 1.2.  I'll go back and take a look at it. I'll also
> admit, that in
> my "real world use", both src and dest were multiple-levels of
> directories.
> 
> >
> > Cheers
> > Conor
> >
> > ----- Original Message -----
> > From: "David Corbin" <dc...@machturtle.com>
> > To: "Ant User" <an...@jakarta.apache.org>
> > Sent: Wednesday, December 20, 2000 12:07 PM
> > 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.
> > >
> > > --
> > > David Corbin
> > > Mach Turtle Technologies, Inc.
> > > http://www.machturtle.com
> > > dcorbin@machturtle.com
> 
> --
> David Corbin
> Mach Turtle Technologies, Inc.
> http://www.machturtle.com
> dcorbin@machturtle.com

I was just braindead.  It works fine.  Apparently, I have problems
reading line number or something :)
Sorry for the distraction.
-- 
David Corbin 		
Mach Turtle Technologies, Inc.
http://www.machturtle.com
dcorbin@machturtle.com

Re: halts ant.

Posted by David Corbin <dc...@machturtle.com>.
Conor MacNeill wrote:
> 
> David,
> 
> I have tested this with both the ant 1.2 release and the current CVS code
> and it works OK for me. Can you give us more info about how it fails?

I think I'm using 1.2.  I'll go back and take a look at it. I'll also
admit, that in
my "real world use", both src and dest were multiple-levels of
directories.

> 
> Cheers
> Conor
> 
> ----- Original Message -----
> From: "David Corbin" <dc...@machturtle.com>
> To: "Ant User" <an...@jakarta.apache.org>
> Sent: Wednesday, December 20, 2000 12:07 PM
> 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.
> >
> > --
> > David Corbin
> > Mach Turtle Technologies, Inc.
> > http://www.machturtle.com
> > dcorbin@machturtle.com

-- 
David Corbin 		
Mach Turtle Technologies, Inc.
http://www.machturtle.com
dcorbin@machturtle.com

Re: halts ant.

Posted by Conor MacNeill <co...@cognet.com.au>.
David,

I have tested this with both the ant 1.2 release and the current CVS code
and it works OK for me. Can you give us more info about how it fails?

Cheers
Conor

----- Original Message -----
From: "David Corbin" <dc...@machturtle.com>
To: "Ant User" <an...@jakarta.apache.org>
Sent: Wednesday, December 20, 2000 12:07 PM
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.
>
> --
> David Corbin
> Mach Turtle Technologies, Inc.
> http://www.machturtle.com
> dcorbin@machturtle.com


Re: halts ant.

Posted by David Corbin <dc...@machturtle.com>.
Nico Seessle wrote:
> 
> ----- Original Message -----
> From: "David Corbin" <dc...@machturtle.com>
> To: "Ant User" <an...@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

Re: halts ant.

Posted by Nico Seessle <Ni...@epost.de>.
----- Original Message -----
From: "David Corbin" <dc...@machturtle.com>
To: "Ant User" <an...@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?

Nico