ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: generate files *only* if a one of set of sources was modified
Date Tue, 11 Nov 2003 15:49:33 GMT
On 11 Nov 2003, Pedro Salazar <pedro-b-salazar@ptinovacao.pt> wrote:

> There is no relation with the _sources_ (generated files) and the
> _target_ (java sources with xdoclet tags), besides the timestamp. I
> just want say this: -generate new files (e.g. run task) if any of my
> java sources files are more *uptodate* than the generated ones.

Is it possible to identify a single generated source by name?  All
generated sources should have the same timestamps IIUC so picking one
should be enough.  If so, use a merge mapper and point to an arbitrary
generated source with the to attribute.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message