Is it possible to edit a file in Ant or do you need a scripting language like BSH?
What I'm really trying to do: I have an application.xml file containing an application client, an ejb and some other things. I want to create an application.xml file that does not contain the application client. So I could edit the file or create a new one. I can't find any file processing tasks in Ant or Ant contrib. Am I missing them?
There is one danger, however. If you put test subsititution in your copy, Ant will assume that ALL files in the copy are text files and treat them as such.
I had Ant shred a bunch of image files because I was copying them as part of a directory subtree containing config files and the DOS text conversion took all the 0x0A's in the binary images and made them 0x0A0D sequences.
Customer surveys are for companies who didn't pay proper attention to begin with.
author & internet detective