[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ivy-user
Subject:    Re: SFTP Repos and SftpExceptions
From:       "Gupta, Mayank" <cybermayank () gmail ! com>
Date:       2011-09-12 14:07:47
Message-ID: CACvQNnW0cRRYEXvv49GanRtroQpJui6GOd+BWbCNvN5NGh=ixw () mail ! gmail ! com
[Download RAW message or body]


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.
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic