ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerome moliere <jerome.moli...@gmail.com>
Subject Re: SFTP Repos and SftpExceptions
Date Mon, 12 Sep 2011 14:04:49 GMT
As far as I know jsch is one of the extra ANT libs listed in the
official ANT documentation
You may follow the documentation to help you integrate this product
into your build.
I think that putting the jsch.jar file into the $ANT_HOME/lib should work
A taskdef may be one other solution...
Sorry did not try to use this product since many years

regards
J.MOLIERE - Mentor/J
auteur Eyrolles
blog: http://romjethoughts.blogspot.com





2011/9/12 zharvey <zachary.harvey@gmail.com>:
>
> 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
View raw message