>> 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 ?
If the easiest "URL buildfile scenario" is
$ant -f build.xml -Durl=...
<project>
<import><url url="${url}"/></import>
</project>
A shorter way would
$ant -u url -basedir .
which autoloads that buildfile sets the url and basedir and all should
work?
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]