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

Re: [Subclipse-users] libsvnjavahl problems with subversion 1.6

From: Mika Laitio <lamikr_at_pilppa.org>
Date: Fri, 27 Mar 2009 16:26:27 +0200 (EET)

>> Eclipse error log does not show any details like stacktrace, only a text:
>> severity=error, message="Unable to load default SVN Client",
>> An exception stack trace is not available.
>>
>> I was thinking I could try to debug this myself.
>> Which version of eclipse you recommend I should use and
>> should I checkout the subclipse plugin sources from trunk or from branch?
>
> trunk corresponds to the 1.6 release which is what you would have to
> use with an SVN 1.6 JavaHL. Debugging probably will not get you far
> though. All we do is call System.loadLibrary for the JavaHL library
> and that rarely gives anything useful back as an error.

Ok... I took the source and imported plugin projects to my eclipse
workspace. Loading place seems to be in "NativeResources.java".

Are you able to debug/set breakpoints to plugin sources when you are
testing the code?
For some reasons I fail on that, when I tried it with following:
- added couple of breakpoints to method
public static synchronized void loadNativeLibrary()
- selected menu "run/debug configurations/Eclipse Application:
- created new "eclipse plugin app project" and verified on plugin tab
   that all subclipse projects were selected. (except the graphic one which
   I have some build problems due to missing files)
- pressed debug button --> Another eclipse instance was launched.
   But if I go in this another eclipse instance to SVN repository exploring
   and try to browse the svn repo, I just get the error message but the
code did not stop to breakpoint I set to loadNativeLibrary-method.

Maybe I should write a simple external test application which I could use
for trying to load the libsvnjavahl library.

Mika

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=1444420

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-03-27 15:29:07 CET

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.