Could you tell us how you have loaded the ivy tasks and the jsch library?
- are they located in your ant/lib folder?
- are you passing the jars to your taskdef declaration?
- ...

Maarten




----- Original Message ----
From: Tristan Lüdemann <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Tuesday, November 25, 2008 10:13:08 AM
Subject: Re: Endless recursion with ssh resolver

Hello Maarten,

i've tried it with ivy 2.0.0 beta2 and rc2 in combination with jsch 
version 0.1.31.

The error is always: java.lang.NoClassDefFoundError: 
com/jcraft/jsch/JSchException

The jar is in the classpath and additional i've tried to add an 
<classpath> to
ivysettings.xml.

I would like to use an resolver with the form:

<ssh name="shared-ssh"
                 host="foo.bar.de"
                 user="${user.name}"
                 keyFile="${user.home}/.ssh/id_rsa"
                 checksums="md5"
                 publishPermissions="0666">
                <ivy 
pattern="/home/ivy/[organisation]/[module]/[revision]/ivy.xml"/>
</ssh>

Any hints?


Kind regards,
Tristan


> Ivy has been built and tested with jsch version 0.1.31.
> Do you also have the problem when using this version?
>
> Maarten
>
>
>
>
> ----- Original Message ----
> From: Tristan Lüdemann <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Sent: Monday, November 24, 2008 4:30:23 PM
> Subject: Endless recursion with ssh resolver
>
> Hello list,
>
> im trying to setup an shared repository based an ssh or webdav.
>
> But my tries are always fail. If i utilize the jsch library with ivy2 rc1
> i will get an endless recursion. If i use beta2 i get ClassNotFound 
> Exceptions.
>
> As an alternative approach i try to use webdav with apache vfs. But in this 
> case
> too i get ClassNotFoundExceptions with beta2.
>
> Are there any complete setup example of such an repository with concrete 
> versions
> of the used libraries?
>
>
> Kind regards,
> Tristan
>
>
>      
>
>  



Reply via email to