Scott M Stark wrote: > Is there a mechanism like the gnumake include or -include in Ant? I tried > using an xml:link > hoping the parser would just magically include it but Ant sees the include > element > and wants to treat it as a task. >
There is not an "include" mechanism like what you're describing in Ant right now. However, it would not be hard using some of the shell tools that manipulate text files to construct a buildfile on the fly by copying in standard components, before feeding the resulting file to Ant. You could do this with the C preprocessor (cpp), or the m4 utility, for example. Craig McClanahan
