Erik
On Wednesday, July 30, 2003, at 12:58 PM, Peter Smith wrote:
Hi all,
I have a text file with a list of files that I am copying. I use the
fileset and includesfile to copy those over. But now I need to send all the
text files through a filter. So I added the filter to the copy task, but
the filter is messing up the images. Can anyone suggest how I can get the
filter to apply only to text files?
Thanks, Peter
Ant Copy: <copy todir="${my.client.working.dir}"> <fileset dir="${my.common.web.dir}" includesfile="${my.web.common.files.list}"/> <filterset> <filter token="tokensPrefix" value="${my.tokens.prefix}"/> </filterset> <filterset> <filtersfile file="${my.tokens.file}"/> </filterset> <filterset refid="default_filters"/> </copy>
File sample:
content/styles/main.css images/en/buttons/update.gif images/en/buttons/save.gif WEB-INF/struts-config.xml WEB-INF/tiles-defs.xml WEB-INF/validation.xml WEB-INF/web.xml
-- Peter Smith Software Engineer InfoNow Corporation
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]