ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From glenn opdycke-hansen <>
Subject Re: outofdate task returns TRUE if no target files exist??
Date Wed, 21 Jul 2010 17:17:06 GMT
If you want a specific behavior from a script, what if you specifically code
that behavior?  Then you do not have to depend on antcontrib.
I would test to see if a the directory is empty then set the property or
call the target that you are expecting in the script.


On Tue, Jul 20, 2010 at 14:35, Marina <> wrote:

> Now, if there are no files in the "${destination}/myapp.ear" directory yet
> (I'm
> building for the first time after cleanup) - the outofdate task still
> returns
> TRUE. Needless to say, I would prefer the opposite behavior - if no target
> files
> exist - consider them out-of-date.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message