basilv/EnvGen
EnvGen is an Ant task for generating different versions of the same file parameterized for different environments (e.g. development, test, and production). File generation is done using FreeMarker, a template engine with a full-featured templating language.