Hmmm, can you explain this one Peter?

<ac:outofdate> exposes an iterator() method that returns the list of
out-of-date files, is that it? I didn't know that.

How do you document this kind of unusual synergy between tasks? --DD

> -----Original Message-----
> From: Peter Reilly [mailto:[EMAIL PROTECTED]
> 
> You may be able to use ant-contrib <outofdate> as a collection to the
> <for> task:
> 
>     <ac:for param="xmlfile" xmlns:ac="antlib:net.sf.antcontrib">
>       <ac:outofdate>
>         <sourcefiles>
>           <fileset dir="${basedir}/xdocs" includes="**/*.xml"/>
>         </sourcefiles>
>         <mapper dir="${basedir}/xdocs"
>                    type="glob" from="*.xml"
to="${basedir}/docs/*.html"/>
>       </ac:outofdate>
>       <sequential>
>         <echo>Need to generate a target html file from source file
>               @{xmlfile}</echo>
>       </sequential>
>     </ac:for>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to