Uncategorized 14 Nov 2007 12:38 pm
ANT, Leopard and SCP
So i have been using ant to do lots of stuff related to builds. But twice I ran into a problem with the optional scp task. Turns out you can not use the latest version of jsch.jar, you need to use an earlier version.
If you run ant -diagnostics and get an error like : sshexec : Missing dependency com.jcraft.jsch.UserInfo
Try installing an earlier version of jsch.jar. On my leopard install (ant 1.7) I used version 0.1.29 from sourceforge. Worked a treat.