> Anyone have a snippet of a build.xml that's does this "combining" of
> the properties files?
Craig/etc,
I'm not an Ant expert, but managed to do the "cat" (of my properties files)
you suggested by putting the following in my build.xml. I know it's more
Ant specific than Struts, but do you know if there's a better/easier
way than this? ...
<execon executable="cat"
output="${build.home}/express-ui/WEB-INF/classes/com/metatec/express/ui/common/ApplicationResources.properties">
<fileset dir="src/ui">
<patternset id="app.properties">
<include name="**/*.properties" />
<exclude name="**/*_??.properties" />
</patternset>
</fileset>
</execon>
<execon executable="cat"
output="${build.home}/express-ui/WEB-INF/classes/com/metatec/express/ui/common/ApplicationResources_de.properties">
<fileset dir="src/ui">
<patternset id="de.properties">
<include name="**/*_de.properties" />
</patternset>
</fileset>
</execon>
<execon executable="cat"
output="${build.home}/express-ui/WEB-INF/classes/com/metatec/express/ui/common/ApplicationResources_fr.properties">
<fileset dir="src/ui">
<patternset id="fr.properties">
<include name="**/*_fr.properties" />
</patternset>
</fileset>
</execon>
Thx,
Ken