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

SvnClientAdapter problem

From: Gonzalez Diaz, Xoan <G2485_at_caixagalicia.es>
Date: 2007-11-13 13:54:19 CET

Hi again,

 

I am not sure if this is the correct place to this message. Perhaps subclipse list ...

Following a Mark's suggestion I am trying to use svnClientAdapter instead Javhl directly.

 

The situation is as follows:

- Subversion 1.4.5 with Apache 2.2.6 on Windows XP.

- APR_ICONV_PATH variable renamed to APR_ICONV1_PATH , because, in the past, I had installed Apache 1.X. and that caused my Subclipse to crash.

- I was able to invoke javahl using C#. Previously I converted svnjavahl.jar to a svnjavahl.dll (using ikvm).

-So, I have converted now svnclientadapter.jar (from the last version of subclipse) to a svnclientadapter.dll, as I made for svnjavahl.

 

Now I am trying to access svnClientAdater with the following code:

using org.tigris.subversion.javahl;

using org.tigris.subversion.svnclientadapter;

using org.tigris.subversion.svnclientadapter.javahl;

                                   

....

 

                  ISVNClientAdapter client = null;

 

                  JhlClientAdapterFactory.setup();

                   

                  String bestClientType = SVNClientAdapterFactory.getPreferredSVNClientType();

                  client = SVNClientAdapterFactory.createSVNClient (bestClientType);

 

So, when I execute setup method of JhlClientAdapterFactory the following exception is thrown:

 

Javahl client adapter is not available

 

I guess that, for some reason, it is not able to locate svnclientadapter.dll or perhaps some conflict between different svnjavahl.dll

Googling a bit only shows similar problems using directly Eclipse.

 

Any ideas??

 

 

Thanks in advance

 

 

 

 Xoan González Díaz

 Área de Arquitectura EE. FF.

 

 E-mail: g2485 (at) caixagalicia.es <mailto:%20g2485@caixagalicia.es>
   xoan.gonzalez (at) tecnocom.es <mailto:xoan.gonzalez@tecnocom.es>

           

 

image001.jpg
Received on Tue Nov 13 13:54:28 2007

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

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