ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gupta, Mayank" <cybermay...@gmail.com>
Subject Re: SFTP Repos and SftpExceptions
Date Mon, 12 Sep 2011 13:55:47 GMT
Hi Zach

You need to download jsch jar. In my experience any version should work.
 On Sep 12, 2011 7:22 PM, "zharvey" <zachary.harvey@gmail.com> wrote:
>
> I am trying to configure my settings file to use an SFTP repo (we have an
FTP
> server at the office) and getting a NoClassDefFoundError for the
> com/jcraft.jsch.SftpException class. Here is the definition in my file:
>
> <sftp user="tmsgfprod" userPassword="whiled">
> <ivy
> pattern="
ftp://MyFtpServer/some/path/artifacts/[organisation]/[module]-[revision]-ivy.xml
"/>
> <artifact
> pattern="
ftp://MyFtpServer/some/path/artifacts/[organisation]/[artifact]-[revision].[ext]
"/>
> </sftp>
>
> When I run the "resolve" target in my build (which runs configure, then
> resolve, then retrieve Ivy tasks), I get the following build error during
> the ivy:resolve phase:
>
> BUILD FAILED
> C:\blah\workspace\MyProject\build.xml:53: java.lang.NoClassDefFoundError:
> com/jcraft/jsch/SftpException
> at
>
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
>
> Followed by a very, very lengthy stacktrace.
>
> I am using the latest (2.2.0) version of Ivy - do I need to do something?
Am
> I missing a JAR or other resource?
>
> Thanks for any help or insight here!
> --
> View this message in context:
http://old.nabble.com/SFTP-Repos-and-SftpExceptions-tp32448084p32448084.html
> Sent from the ivy-user mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message