Reading multiple property files using wildcards (*.properties)
Created May 7, 2012
Jan Matèrne I don´t think that you can do this with the normal distribution. If you use AntContrib (see at SourceForge) you can do it
<target name="readAllProps"> <foreach target="readPropFile" param="file"> <fileset dir="myprops"> <include name="*.properties" /> </fileset> </foreach> </target> <target name="readPropFile"> <property file="${file}" /> </target>