On Fri, Mar 27, 2009 at 10:26 AM, Mika Laitio <lamikr_at_pilppa.org> wrote:
>>> 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?
Sure. Are you launching the runtime in debug mode? Breakpoints should be hit.
> For some reasons I fail on that, when I tried it with following:
> - added couple of breakpoints to method
> public static synchronized void loadNativeLibrary()
I'd debug JhlClientAdapterFactory
> - 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.
You could possibly try to run Subversion's JavaHL JUnit tests.
You might have mentioned this but if you are on a 64-bit OS does the
"bitness" of your JavaHL match that of your JVM?
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-03-27 19:45:39 CET