From dev-return-85024-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Wed Jan 27 23:08:18 2010 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 47274 invoked from network); 27 Jan 2010 23:08:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2010 23:08:18 -0000 Received: (qmail 23178 invoked by uid 500); 27 Jan 2010 23:08:17 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 23082 invoked by uid 500); 27 Jan 2010 23:08:17 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 23072 invoked by uid 99); 27 Jan 2010 23:08:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 23:08:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of antoine@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 27 Jan 2010 23:08:08 +0000 Received: (qmail invoked by alias); 27 Jan 2010 23:07:48 -0000 Received: from vpn2.citytimenyc.com (EHLO antoine-levy-lamberts-macbook.local) [38.100.172.132] by mail.gmx.net (mp069) with SMTP; 28 Jan 2010 00:07:48 +0100 X-Authenticated: #22961642 X-Provags-ID: V01U2FsdGVkX1/60D148/r6UBuQgy2UApTxuVbLKhTomH/jlruPQv aFnYBFrGQZNSWZ Message-ID: <4B60C742.3010701@gmx.de> Date: Wed, 27 Jan 2010 18:07:46 -0500 From: Antoine Levy Lambert User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Ant Developers List Subject: Re: ant -u http://somewhere/build.xml References: <4B600B75.9050603@gmail.com> In-Reply-To: <4B600B75.9050603@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.63 X-Virus-Checked: Checked by ClamAV on apache.org 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