You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Doug Moore <do...@ouncelabs.com> on 2005/01/12 20:14:18 UTC

copy failonerror

I would like the build to fail if a source file included in a
<fileset><patterset> does not exist. I am using the default of
failonerror, so that is true. But it only fails if the source directory
does not exist ( this seems broken too according to the manual ). If the
file does not exist I don't even get a warning which the doc says it
does.

 

Is this broke or am I misunderstanding this.

 

Doug


Re: copy failonerror

Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 12 Jan 2005, Doug Moore <do...@ouncelabs.com> wrote:

> Is this broke or am I misunderstanding this.

One feature of a fileset is, that the patterns may match nothing.
There is no notion of "missing files" in a fileset, so copy doesn't
know that something isn't there.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org