On 4/23/07, Kanzlers, Andreas <andreas.kanzlers@coremedia.com> wrote:
> I have problems with javahl using svnant task.
>
> Although there do exist several threads of this topic, none of them could
> help me.
>
>
>
> Executing a svn ant task like
>
> <taskdef name="svn"
> classname="org.tigris.subversion.svnant.SvnTask">
>
> <classpath refid="maven.compile.classpath"/>
>
> </taskdef>
>
> <svn javahl="${javahl}">
>
> <checkout url="${svn.src.module}"
>
> destPath ="${svn.destdir}"
>
> revision = "${svn.revision}"/>
>
> </svn>
>
> runs into following error: "Cannot use javahl, JavaSVN nor command line svn
> client".
>
>
>
> I've installed subversion 1.4.3 , svnant-1.1.0-RC2 on Solaris 9 OS by
> executing following installation steps:
>
>
>
> $ ./configure --with-ssl --with-libs=/usr/local/ssl --enable-shared
> --enable-javahl
>
> $ make
>
> $ make javahl
>
> $ make install
>
> $ make install-javahl
>
>
>
> $ export LD_LIBRARY_PATH =
> /usr/local/ssl/lib:/usr/local/lib
>
>
>
> No errors occur when executing svn commands by command line.
>
>
>
> Any ideas ?
It sounds like you did everything right, but it also still sounds like
it is failing to load the library. Is the JavaHL library and all of
its dependencies in the above LD_LIBRARY_PATH?
Actually, I also do not recall if the version of SVNAnt on the website
includes Subversion 1.4 support yet either. You might try replacing
the svnClientAdapter.jar and svnjavahl.jar with the ones that ship
with Subclipse 1.2.0.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Mon Apr 23 19:06:51 2007