Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 29209 invoked from network); 25 Feb 2005 12:36:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Feb 2005 12:36:51 -0000 Received: (qmail 21241 invoked by uid 500); 25 Feb 2005 12:36:47 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 21158 invoked by uid 500); 25 Feb 2005 12:36:46 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 21143 invoked by uid 99); 25 Feb 2005 12:36:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from livestoryboard.com (HELO server1.livestoryboard.com) (209.61.132.12) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 25 Feb 2005 04:36:43 -0800 Received: from [127.0.0.1] (livestoryboard.com [209.61.132.12] (may be forged)) (authenticated) by server1.livestoryboard.com (8.11.6/8.11.6) with ESMTP id j1PCamf11630 for ; Fri, 25 Feb 2005 06:36:48 -0600 Message-ID: <421F1BD8.30105@koberg.com> Date: Fri, 25 Feb 2005 04:36:40 -0800 From: Robert Koberg User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: xml entity include and protected URL? References: <421EF1EC.15425.51188E@localhost> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stefan Bodewig wrote: > On Fri, 25 Feb 2005, Rob Hills wrote: > > >>When I try this, I get errors which I believe are attributable >>either to a failure to supply a client certificate, or failure to >>login using a valid username and password. I'm also having >>difficulty getting any debugging happening at the JSSE level to get >>a clearer view of what's going wrong. Another thing you could do is run an SCP or FTP task to bring the remote file down locally and then go from there. best, -Rob > > > When you use entity includes, you are completely outside of Ant's > control. One of the reasons we discourage their usage and recommend > - unfortunately doesn't work on anything but local > files ATM. > > Entitiy includes get expanded by the XML parser before Ant "is really > there" and so it depends on the XML parser how they get performed. > > Most probably the parser will use java.net.URL and URLConnection to > retrieve the URL and your only chances are to use what is available to > your "plain JDK". On some JDKs you can set the system properties > http.proxyUser and http.proxyPassword (or https.*) to make the > java.net package deal with proxy authentication, but that is > known to fail on other JDKs or with certain proxies. > > As for client certificates, I'd expect there is a way to tell the JDK > java.net classes to use them, but I've never done it myself. > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org