You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by John Lindwall <JL...@Xifin.com> on 2002/04/09 17:55:49 UTC
Don't invoke target X if output file is "current"
I'm missing a feature from make. How can I avoid invoking a target if the "output file" is "current" (ie newer then the "input file")?
In ant it seems that this kind of dependency checking is left to the task implementation. Do I have to create a custom task every time I want to implement this kind of checking? DependSet does not seem to be what I want.
Thanks!
Re: Don't invoke target X if output file is "current"
Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 9 Apr 2002, John Lindwall <JL...@Xifin.com> wrote:
> Do I have to create a custom task every time I want to implement
> this kind of checking?
In general, yes.
> DependSet does not seem to be what I want.
<uptodate> together with target's if attribute?
<apply>?
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>