The Ant <scp> and <sshexec> tasks are not being recognized by IDEA. They are not available in the code completion window; and when used, they show with a red underline, with an "Element 'sshexec' is undefined" error.
To be run with ant these tasks require the presence of jsch.jar from http://www.jcraft.com/jsch/index.html in the classpath. (Notice: not only ant-jsch.jar, which is included in ant distribution, but also jsch.jar, which is not included.) If one put jsch.jar into IDEA.home/lib/ant/lib and restart IDEA, these tasks are "green" in editor.
I'm not sure, should we distribute jsch.jar, and have we rights to do it at all.
Alexander Chernikov - 06 Aug 07 16:31 To be run with ant these tasks require the presence of jsch.jar from http://www.jcraft.com/jsch/index.html in the classpath. (Notice: not only ant-jsch.jar, which is included in ant distribution, but also jsch.jar, which is not included.) If one put jsch.jar into IDEA.home/lib/ant/lib and restart IDEA, these tasks are "green" in editor.
I'm not sure, should we distribute jsch.jar, and have we rights to do it at all.
As some additional info: I place the jsch jar in my <user-home>/.ant/lib directory. If IDEA could just pick it up from there, thus turning the tasks "green". that would be acceptable. IDEADEV-5135 (and its duplicate IDEA-9780) was opened to address IDEA not auto recognizing libraries in the <user-home>/.ant/lib. IDEADEV-5135 is listed as fixed, but as of 7111, I still need to manually add the libs to the Ant classpath for each Ant build; and doing such for the scripts in which I use the sshexec and scp task does not turn the tasks green.
Mark Vedder - 06 Aug 07 17:55 As some additional info: I place the jsch jar in my <user-home>/.ant/lib directory. If IDEA could just pick it up from there, thus turning the tasks "green". that would be acceptable. IDEADEV-5135 (and its duplicate IDEA-9780) was opened to address IDEA not auto recognizing libraries in the <user-home>/.ant/lib. IDEADEV-5135 is listed as fixed, but as of 7111, I still need to manually add the libs to the Ant classpath for each Ant build; and doing such for the scripts in which I use the sshexec and scp task does not turn the tasks green.
I'm not sure, should we distribute jsch.jar, and have we rights to do it at all.