Discussion:
[JSch-users] Ant won't work.
Donald Paul Winston
2014-10-02 23:12:51 UTC
Permalink
Eclipse Java EE IDE for Web Developers.

Version: Luna Release (4.4.0)
Build id: 20140612-0600



BUILD FAILED
/Users/satchwinston/Documents/workspace-jee/TIP/build.xml:11: Problem: failed to create task or type scp
Cause: Could not load a dependent class com/jcraft/jsch/Logger
It is not enough to have Ant's optional JARs
you need the JAR files that the optional tasks depend upon.
Ant's optional task dependencies are listed in the manual.
Action: Determine what extra JAR files are needed, and place them in one of:
-/Users/satchwinston/Desktop/eclipse jee/plugins/org.apache.ant_1.9.2.v201404171502/lib

Iput the jsch.jar in -/Users/satchwinston/Desktop/eclipse jee/plugins/org.apache.ant_1.9.2.v201404171502/lib

What do I do?
Donald Paul Winston
Antoine Levy Lambert
2014-10-03 02:15:23 UTC
Permalink
You said that you are runnning Ant via the Eclipse IDE integration.
I think you need to tell Eclipse about the extra jsch.jar, maybe by creating a “custom Ant” setup.

I am not using Eclipse Ant IDE integration myself but I remember having created “custom Ant” setups, which mention each jar one wants on the class path.

Hope this helps,

Antoine
Post by Donald Paul Winston
Eclipse Java EE IDE for Web Developers.
Version: Luna Release (4.4.0)
Build id: 20140612-0600
BUILD FAILED
/Users/satchwinston/Documents/workspace-jee/TIP/build.xml:11: Problem: failed to create task or type scp
Cause: Could not load a dependent class com/jcraft/jsch/Logger
It is not enough to have Ant's optional JARs
you need the JAR files that the optional tasks depend upon.
Ant's optional task dependencies are listed in the manual.
-/Users/satchwinston/Desktop/eclipse jee/plugins/org.apache.ant_1.9.2.v201404171502/lib
Iput the jsch.jar in -/Users/satchwinston/Desktop/eclipse jee/plugins/org.apache.ant_1.9.2.v201404171502/lib
What do I do?
Donald Paul Winston
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk_______________________________________________
JSch-users mailing list
https://lists.sourceforge.net/lists/listinfo/jsch-users
Loading...