ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: ant -u http://somewhere/build.xml
Date Thu, 28 Jan 2010 05:40:42 GMT
>> 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
>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 ?

If the easiest "URL buildfile scenario" is

$ant -f build.xml -Durl=...

  <import><url url="${url}"/></import>

A shorter way would

$ant -u url -basedir .

which autoloads that buildfile sets the url and basedir and all should


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

View raw message