ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy Lambert <anto...@gmx.de>
Subject Re: ant -u http://somewhere/build.xml
Date Wed, 27 Jan 2010 23:07:46 GMT
Hello Thorbjørn,


Thorbjørn Ravn Andersen wrote:
> Hi.
>
> We have a need for ant to be easily able to use a build.xml file 
> available on a remote server, which means that I would really like to 
> be able to provide an URL instead of a filename to ant.
the import task in 1.8.x supports importing resources which can be URLs. 
So maybe the main build file cannot be http based, but the meat of the 
build file can. So maybe you can have a stub of a build file on the file 
system ?
>
> I just found that 1.8rc0 has been released, so to check if ant already 
> can do this I downloaded the svn source for HEAD [1], and had a quick 
> look at the source for org.apache.tools.ant.Main, where it seems that 
> all the logic for the build file is File-based, and a quick look at 
> the developer mailing list and the issues system did not immediately 
> reveal any discussion on this.
>
> I'd really, really like this to be possible in ant 1.8, hence this 
> hurried mail, and I'd be happy to help.
>
> What should I do now?
>
> /Thorbjørn
>
>
> [1] The "ant bootstrap" process fails compiling optional taskdefs for 
> a plain svn extract.  The installation documents does not mention how 
> to circumvent this.
>
to build the optional tasks, you need to download the dependencies using 
ant -f fetch.xml ... (there are additional parameters). This can put the 
libraries in lib/optional where the bootstrap process uses them. I think 
currently only NetRexx is the only commercial dependency which cannot be 
fetched that way, at least for my JDK 1.5 on Mac which include s JMF and 
JAI in the extensions.

Regards,

Antoine

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message