Discussion:
jna-platform dependency
Aaron Madlon-Kay
2016-06-27 13:53:58 UTC
Permalink
Hello. I have a question about the jna-platform dependency.

I have an app that uses svnkit 1.8.5 and jna 3.5.2, but does not include
jna-platform or jsch.agentproxy.*. I am looking at upgrading svnkit to
1.8.12, which requires jna 4.1.0. I am wondering if jna-platform is really
required as well.

It looks like com.sun.jna.platform.* classes are not used at all in svnkit
source, and in fact jna-platform is only required by
jsch.agentproxy.pageant. So then perhaps the reason jna-platform 4.1.0 is
specified as a top-level dependency is purely to ensure it's the same
version as jna?

In that case am I OK to include jna but not jna-platform as long as I am
also not including jsch.agentproxy.pageant?

Thanks,
Aaron
--
You received this message because you are subscribed to the Google Groups "SVNKit Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to svnkit-users+***@googlegroups.com.
To post to this group, send email to svnkit-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/svnkit-users/8967dbb3-0249-487d-8404-036009156dff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
TMate Software Support
2016-06-30 13:45:38 UTC
Permalink
Hello Aaron,

Yes, I've checked with the code - if you're not going to use ssh-agent
support you may safely remove jna-platform jar along with jsch agent
support jars.

JNA library jar is also optional, but when missing some of the features
would not be available (in particular encrypted credentials storage on
Windows, Gnome keyring and OS X keychain support) and general performance
will suffer.

Further you may remove trilead ssh library jar that only needed if you're
going to use svn+ssh connections to access repository.

Hope that helps!

With best regards,
Alexander Kitaev.
Post by Aaron Madlon-Kay
Hello. I have a question about the jna-platform dependency.
I have an app that uses svnkit 1.8.5 and jna 3.5.2, but does not include
jna-platform or jsch.agentproxy.*. I am looking at upgrading svnkit to
1.8.12, which requires jna 4.1.0. I am wondering if jna-platform is really
required as well.
It looks like com.sun.jna.platform.* classes are not used at all in svnkit
source, and in fact jna-platform is only required by
jsch.agentproxy.pageant. So then perhaps the reason jna-platform 4.1.0 is
specified as a top-level dependency is purely to ensure it's the same
version as jna?
In that case am I OK to include jna but not jna-platform as long as I am
also not including jsch.agentproxy.pageant?
Thanks,
Aaron
--
You received this message because you are subscribed to the Google Groups "SVNKit Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to svnkit-users+***@googlegroups.com.
To post to this group, send email to svnkit-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/svnkit-users/0a7f320f-ccb9-40b0-9e46-73f3db82e68f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Aaron Madlon-Kay
2016-07-01 00:21:03 UTC
Permalink
Yes, that's very helpful. Thanks very much!

-Aaron
--
You received this message because you are subscribed to the Google Groups "SVNKit Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to svnkit-users+***@googlegroups.com.
To post to this group, send email to svnkit-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/svnkit-users/5d10e933-d2d3-416c-9d91-ca58509a4c56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...