Problem With Ant And The Scp Task

October 20, 2008

Recently resurrected a project and updated the latest dependencies. When trying to release via the SCP task in Ant it just hung.

I found that the best combination of Ant and Jsch is for now (Oct 08) to be

Ant 1.7.0 and Jsch 0.1.29.

Remember to put Jsch’s jar file in ant’s lib directory.

To find Jsch 0.1.29 follow this link:

http://sourceforge.net/project/downloading.php?groupid=64920&usemirror=easynews&filename=jsch-0.1.29.jar&96256293


Tags: java