ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@ingen.reklam.staldal.nu (Mikael Ståldal)
Subject Re: Dependency
Date Tue, 05 Dec 2000 20:32:09 GMT
In article <20001203230505.19536.qmail@web109.yahoomail.com>,
Diane Holt <holtdl@yahoo.com> 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
>sourcefiles).

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.  *
\****************************************************************/

Mime
View raw message