how to force svnkit not to use javahl

View: New views
5 Messages — Rating Filter:   Alert me  

how to force svnkit not to use javahl

by Bach2k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

I am using svnkit in my RCP application

How can I find out if svnkit is using javahl or not ? I wish to force my application not to use native libraries(in svnkit)

BTW. I am also using subclipse plugin in the same project, and want to force subclipse not to use javahl but svnkit only. Any help with this issue will be appreciated.

best regards
Krzysztof

Re: how to force svnkit not to use javahl

by Alexander Sinyushkin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Krzysztof,

SVNKit does not use JavaHL binaries. SVNKit is a pure Java library
independent of JavaHL or Subversion binaries. To enable SVNKit go to
Windo->Preferences->Team->SVN in Eclipse and choose SVNKit as an SVN
interface.
----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Bach2k:

> Hello
>
> I am using svnkit in my RCP application
>
> How can I find out if svnkit is using javahl or not ? I wish to force my
> application not to use native libraries(in svnkit)
>
> BTW. I am also using subclipse plugin in the same project, and want to force
> subclipse not to use javahl but svnkit only. Any help with this issue will
> be appreciated.
>
> best regards
> Krzysztof

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...


Re: how to force svnkit not to use javahl

by Bach2k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

then why svnkit-javahl.jar exists in svnkit plugin package ?

Windo->Preferences->Team->SVN in Eclipse and choose SVNKit as an SVN
interface.

thank you, how can I set this programmatically in my application ?

Re: how to force svnkit not to use javahl

by Bach2k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I figured this out, I just execute following when my app load resources

SVNUIPlugin.getPlugin().getPluginPreferences().setValue(
ISVNUIConstants.PREF_SVNINTERFACE, "svnkit");

however I am not sure this is the proper way to do this.

I still wonder what is svnkit-javahl.jar for...

Re: how to force svnkit not to use javahl

by Alexander Sinyushkin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That package contains implementation of JavaHL API which uses the SVNKit
library instead of native binaries. By the way, this very package is
used in Subclipse to provide users an ability to switch from native
binaries to SVNKit. I'm not aware how that combo box may be checked from
your application, have never dealt with RCP in fact.

----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Bach2k wrote:
> then why svnkit-javahl.jar exists in svnkit plugin package ?
>
> Windo->Preferences->Team->SVN in Eclipse and choose SVNKit as an SVN
> interface.
>
> thank you, how can I set this programmatically in my application ?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...