Discussion:
Using SVNKit without JNA?
Jerome Fouletier
2014-08-28 12:27:40 UTC
Permalink
Hello,

We are using the svnkit-osgi artefact to include SVN functionalities in an
Eclipse tool. However, this version seems to always use the JNA dependency
and its native libraries, which is not an option for us.
So we need to use it in a "pure java" way. However, I couldn't find
anything that would allow this. The FAQ did mention that it was possible
for the standalone library though.

As a side note, the current svnkit-osgi bundle cannot activate in an
Eclipse Equinox framework, because its required java runtime environment is
named "J2SE-1.6" instead of "JavaSE-1.6" as it should be.

Cheers

Jerome
Alexander Kitaev
2014-08-28 13:47:40 UTC
Permalink
Hello Jerome,

Thanks for reporting this problem. We'll fix JRE requierment, and regarding
JNA - it is an optional component (SVNKit OSGi bundle should has it as an
optional requirement) and you may just remove JNA bundle.

Certain features, however, would not function without JNA presence, in
particular SSH-agent support, encrypted credentials storage, full symbolic
links support and performance may degrade.

Alexander Kitaev,
TMate Software,
http://subgit.com/ - Svn to Git Migration!
http://svnkit.com/ - Java [Sub]Versioning Library!
http://hg4j.com/ - Java Mercurial Library!
http://sqljet.com/ - Java SQLite Library!
Post by Jerome Fouletier
Hello,
We are using the svnkit-osgi artefact to include SVN functionalities in an
Eclipse tool. However, this version seems to always use the JNA dependency
and its native libraries, which is not an option for us.
So we need to use it in a "pure java" way. However, I couldn't find
anything that would allow this. The FAQ did mention that it was possible
for the standalone library though.
As a side note, the current svnkit-osgi bundle cannot activate in an
Eclipse Equinox framework, because its required java runtime environment is
named "J2SE-1.6" instead of "JavaSE-1.6" as it should be.
Cheers
Jerome
Loading...