You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Alain ROY <ar...@sylob.com> on 2007/11/09 16:21:04 UTC

Up to date source file list

Hi

I have source *.xml files, and a target that generates *.html files from those source files. Actually, my target is executed for all xml source files. I'd like to execute it only for source files that are more recent than the corresponding html file.
Is there a way to get a list of modified xml files since last html generation ?

Regards
-- 
AR

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


Re: Up to date source file list

Posted by Peter Reilly <pe...@gmail.com>.
Use outofdate from antcontrib:
http://ant-contrib.sourceforge.net/tasks/tasks/outofdate.html
Peter

On Nov 9, 2007 3:21 PM, Alain ROY <ar...@sylob.com> wrote:
>
> Hi
>
> I have source *.xml files, and a target that generates *.html files from those source files. Actually, my target is executed for all xml source files. I'd like to execute it only for source files that are more recent than the corresponding html file.
> Is there a way to get a list of modified xml files since last html generation ?
>
> Regards
> --
> AR
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

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