[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

AW: [Subclipse-users] Cannot use javahl, JavaSVN nor command line svn client

From: Kanzlers, Andreas <andreas.kanzlers_at_coremedia.com>
Date: 2007-04-24 10:26:15 CEST

Hi,
The LD_LIBRARY_PATH is set to /usr/local/lib.
The folder /usr/local/lib contains all libsvn*.so, libsvn*.a, libsvn*.ls files. Do I have to add the /usr/local/lib/svn-javahl/svn-javahl.jar to the path ?
By the way, svnant-1.1.0-RC2 provides a svn java implementation, too. If using not javahl but java svn the ant task
<svn javasvn="true" javahl="false">...</svn> executes successfully.

Thanks,
Andreas Kanzlers

-----Ursprüngliche Nachricht-----
Von: Mark Phippard [mailto:markphip@gmail.com]
Gesendet: Montag, 23. April 2007 19:07
An: users@subclipse.tigris.org
Betreff: Re: [Subclipse-users] Cannot use javahl, JavaSVN nor command line svn client

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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Apr 24 10:26:49 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.