ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Mikael Ståldal)
Subject Re: Dependency
Date Tue, 05 Dec 2000 20:32:09 GMT
In article <>,
Diane Holt <> wrote:

>If you just have the one file, look at the <uptodate> task -- it lets you
>associate a target with a sourcefile (actually, with any number of

That works, thanks.

However, it's not a very elegant solution. It would be better if some
tasks (<java>, <exec> and perhaps some more) had "source" and "target"
attributes (and allowing a fileset for source), and if present, only
execute the task if source is newer than target.

Or perhaps it would be even better to add such attributes to the
<target> element.

* You have just read a message from Mikael Ståldal.              *
*                                                                *
* Remove "ingen.reklam." from the address before mail replying.  *

View raw message