Login | Register
My pages Projects Community openCollabNet

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

subclipse
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

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

Author lamikr
Full name Mika Laitio
Date 2009-03-27 07:26:33 PDT
Message >> 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

« Previous message in topic | 3 of 6 | Next message in topic »

Messages

Show all messages in topic

[Subclipse-users] libsvnjavahl problems with subversion 1.6 lamikr Mika Laitio 2009-03-27 04:35:45 PDT
     Re: [Subclipse-users] libsvnjavahl problems with subversion 1.6 markphip Mark Phippard 2009-03-27 06:36:32 PDT
         Re: [Subclipse-users] libsvnjavahl problems with subversion 1.6 lamikr Mika Laitio 2009-03-27 07:26:33 PDT
             Re: [Subclipse-users] libsvnjavahl problems with subversion 1.6 markphip Mark Phippard 2009-03-27 11:45:29 PDT
                 Re: [Subclipse-users] libsvnjavahl problems with subversion 1.6 markphip Mark Phippard 2009-03-27 11:53:42 PDT
                     Re: [Subclipse-users] libsvnjavahl problems with subversion 1.6 lamikr Mika Laitio 2009-03-28 11:00:25 PDT
Messages per page: