RE: Is there an ANT task to replace a in the source with the contents of the specified file???

2005-12-21 Thread gregsfm
Hi, I've got a fair portion of this working (see below), however does anyone know how to automate the LOADFILE part below? That is, automate finding all files in the "common" directory and loading the concents of each file into a property for which the property name is the filename? ..

Re: Is there an ANT task to replace a in the source with the contents of the specified file???

2005-12-20 Thread gregsfm
Thanks for the sugguestion, however what I wanted was to actually have the contents of the identified file replace the token. So as an example if one of the source files were: - this this and that this that this that So the resultant file would

Is there an ANT task to replace a in the source with the contents of the specified file???

2005-12-18 Thread gregsfm
Hi, Is there an ANT task to replace a in the source with the contents of the specified file??? That is I working with some scripting languages where I'd like to identify common code and keep these in separate files (e.g. like JSP TAG replacement concept but simpler). What I'm looking for is a w