ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <>
Subject Re: AW: parsing ant build scripts from unusual sources
Date Fri, 15 Oct 2004 10:40:01 GMT wrote:

>>The problem lies in the fact that so much revolves around the build
>>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
>>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
>  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).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message