mail merge in ant?
I basically want to do a "mail merge" in ant.
Thoughts?
I have a template web.xml file - there are two context-params that need to change depending on a)OS and b)environment settings. The majority of the app gets generated in a process that I have no control over - I just have to unpackage my war, and fix my web.xml file, then repackage everything up prior to deploying.
I figure the best way to do this is essentially having a templateweb.xml file on hand, then merge in changes - target specification would work very nicely for this, actually. Then replace the original web.xml with the merged document.
But can ant do this?
x/p
Thoughts?
I have a template web.xml file - there are two context-params that need to change depending on a)OS and b)environment settings. The majority of the app gets generated in a process that I have no control over - I just have to unpackage my war, and fix my web.xml file, then repackage everything up prior to deploying.
I figure the best way to do this is essentially having a templateweb.xml file on hand, then merge in changes - target specification would work very nicely for this, actually. Then replace the original web.xml with the merged document.
But can ant do this?
x/p
