ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Murray-Rust <Peter.Murray-r...@nottingham.ac.uk>
Subject Re: Newbie question [time dependencies]
Date Tue, 13 Jun 2000 13:15:05 GMT
At 14:47 13/06/00 +0200, you wrote:
> >>>>> "PM" == Peter Murray-Rust <Peter.Murray-rust@nottingham.ac.uk>
writes:
>
>  PM> But I can't see how to make foo.html depend on foo.xml. javac and
>  PM> copydir have such mechanisms
>
>All tasks determine what to do and wich dependencies to use
>themselves. You best bet is to implement a custom task for your
>transformation (extending MatchingTask would be you best starting point
>I guess) and check which files need processing inside this task.

Thanks.

>I agree that a simple file to file dependency mapping like it is used
>by copydir and javac (at least at the moment) could be factored out
>into a helper class to be reused though.
>Stefan

Agreed. I suspect that potential converts from makefile - like me - would 
be glad of this.

         P.


Mime
View raw message