ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: AW: parsing ant build scripts from unusual sources
Date Fri, 15 Oct 2004 10:40:01 GMT
Jan.Materne@rzf.fin-nrw.de 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message