[EMAIL PROTECTED] wrote:

The problem lies in the fact that so much revolves around the build
file's
basedir, which can only be a File in Ant as of today. Even importing a
build file from a URL or resources didn't reach consensus, for the same
reasons. It seems that Ant is pretty much strictly file based for build
files, unless so major restructuring happens, which would probably not
be
backward compatible. At least that's my current understanding. --DD



Basically thats the same I think. But it should be possible to work with
a buildfile from another datasource, if specify the basedir. So something
like
setBuildfile(File file)
setBuildfile(InputStream is, File basedir)
setBuildfile(Document dom, File basedir)
may be possible.



One also need to know (or does one?), the source name for error reporting. This is something that I had to do for the antlib.xml processing (which is retrieved from a URL).

Peter


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to