History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-14097
Type: Bug Bug
Status: Open Open
Assignee: Eugene Zhuravlev
Reporter: Mark Vedder
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

IDEA Ant editor not recognizing sshexec & scp tasks

Created: 05 Aug 07 22:29   Updated: 06 Aug 07 17:55
Component/s: Ant Integration

Build: 7,111
Severity: High


 Description  « Hide
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.

For task details, see:
http://ant.apache.org/manual/OptionalTasks/sshexec.html
http://ant.apache.org/manual/OptionalTasks/scp.html



 All   Comments   Work Log   Change History      Sort Order:
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.


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.