ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nilesh Shah <>
Subject Need help with a file merge task
Date Tue, 27 Mar 2001 03:19:05 GMT
I have a set of properties files in various directories that I have to 
combine and merge as one file as part of my build process.

Here's what I did -

<copy todir="${build.root}/config">
    <fileset dir="${src.root}">
      <include name="**/*.properties"/>
    <mapper type="merge" to="properties"/>

I tested that the fileset is finding all the properties files right,
but the merge mapper is generating the final "properties" file with 
content from only one file and not from a merged contents from all
the files.

Am I using the merge mapper correctly? any ideas?

Thanks in advance

View raw message