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"/>
</fileset>
<mapper type="merge" to="properties"/>
</copy>
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
Nilesh