ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <>
Subject Re: xml entity include and protected URL?
Date Fri, 25 Feb 2005 12:36:40 GMT
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.


> When you use entity includes, you are completely outside of Ant's
> control.  One of the reasons we discourage their usage and recommend
> <import> - unfortunately <import> 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 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
> 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
> classes to use them, but I've never done it myself.
> Stefan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message