As far as I understood from
http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html,  the
properties you mention are used by "protocol handlers". So I guess they are
used by classes that extend e.g. URLStreamHandler e.g.
sun.net.www.protocol.http.Handler. However scp task uses jsch library(
http://www.jcraft.com/jsch/) that operates on raw sockets which I think
don't use the system proxy settings.

Actually now I'm quite sure ant SCP task cannot go thru firewall. I hope I'm
wrong.

On 11/15/06, Peter Reilly <[EMAIL PROTECTED]> wrote:

Try using Ant1.70rc1 with java5.
by default this uses the systems proxy setting.

Peter


On 11/15/06, Maciej Zywno <[EMAIL PROTECTED]> wrote:
> Hiya,
>
> I want to use scp and sshexec task to connect to servers that are behind
> HTTP proxy. Is it possible? (It seems that scp/sshexec tasks don't use
the
> properties that are set by <setproxy> task).
>
> Thanks,
>
> Maciej
>
> --
> zywy
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
zywy

Reply via email to