Since I discovered the "powerfullness" of resource and resource collection in
Ant, I have been able all sort of manipulation on files whithout to have
tempory files. Until.
I would like to have in one ant property some infos extracted from sevral ivy
files. Basically I would want to write this:
<loadresource property="@{property}">
<concat>
<fileset dir="${fetchdir}" includes="ivy-*.xml">
<filterchain>
<tokenfilter>
<filetokenizer />
<replaceregex pattern="^.*<dependencies>
(.*)</dependencies>.*$$" replace="<!-- ${module.name}
dependencies -->\1" flags="si" />
</tokenfilter>
</filterchain>
</fileset>
</concat>
</loadresource>
Unfortunaltely I cannot apply a filterchain on a fileset.
Maybe there are some other way to do that with resources ?
Or should I use copy and have some temporary files ?
Nicolas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]