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.

--glenn


On Tue, Jul 20, 2010 at 14:35, Marina <ppi...@yahoo.com> 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.
>

Reply via email to