ant scp task through a proxy

Posted by xask on Stack Overflow See other posts from Stack Overflow or by xask
Published on 2010-05-13T12:42:13Z Indexed on 2010/05/13 12:44 UTC
Read the original article Hit count: 342

Filed under:
|
|
|
|

I am trying to make an ant build file to remote copy a war file.

Ant scp task uses a jsch library for remote copying. How do I make it work through a proxy, the jsch library clearly supports it.

does not work for jsch.

Jsch does not read environment variables like http_proxy

is there another solution ?

© Stack Overflow or respective owner

Related posts about ant

Related posts about scp