ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Voisin <>
Subject RE: condition for exec task
Date Tue, 26 Nov 2002 11:53:40 GMT
There is also the ant-contrib's <if> task, although I personnaly prefer the
use of a 'depended' check target and the if attribute to do this.

By the way, for Ant developpers: are the tasks in ant-contrib supposed to be
integrated in Ant's future versions ?


-----Original Message-----
From: Stefan Bodewig []
Sent: 26 November 2002 12:47
Subject: Re: condition for exec task

On Tue, 26 Nov 2002, Oliver Wulff <> wrote:

> I want to check whether a file is newer than others using the task
> "uptodate".  If it is I want to execute the task "exec".

Are you sure that you don't want to use <apply> and drop <uptodate>

> Can I only do this by adding a target and using the if attribute?

If the answer to my question above is "yes", this is the only built-in


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message