I downloaded and installed SVNAnt 1.3.0, Ant 1.8, and Java 1.6.
When I try to do a simple checkout via https, I get java.lang.NoClassDefFoundError: com / trilead / ssh2 / InteractiveCallback. I'm not sure why it uses the ssh class since I use https.
Trilead SSH for Java is no longer supported or distributed, and I do not have access to an older version of trilead.jar.
How does everyone else use SVNAnt without trilead.jar? Anyone recommend pursuing any other options? Here is my build script. The open and end tags of the project were not copied correctly, but they exist when I execute it in my local field.
Update I was able to find trilead.jar in another svn repository of the project after some googling, and it really fixed NoClassDefFoundError. It is too bad that Trilead will not distribute the jar.
<?xml version="1.0"?>
<property name="svn.base" value="C:\Program Files\svnant\svnant-1.3.0"/> <property name="svn.lib" value="${svn.base}/lib"/> <property name="username" value="user"/> <property name="password" value="password"/> <path id="svnant.classpath" > <fileset dir= "${svn.lib}" > <include name= "*.jar" /> </fileset> </path> <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="svnant.classpath" /> <target name="checkout"> <svn username="${username}" password="${password}" > <checkout url="https://svn-server/svn/project" destPath="C:\SVNRepositories\checkout" /> </svn> </target>
Chris source share