deephacks / lmdbjni

LMDB for Java
Apache License 2.0
204 stars 28 forks source link

Fix for #49 is a problem for other users of hawtjni #67

Closed krestenkrab closed 8 years ago

krestenkrab commented 8 years ago

Fix for #49 is a problem for other users of hawtjni; I'm seeing the following

09:16:01 java.lang.RuntimeException: deduplicate: different file contents found in the following:
09:16:01 /var/lib/jenkins/.ivy2/cache/org.deephacks.lmdbjni/lmdbjni/jars/lmdbjni-0.4.6.jar:org/fusesource/hawtjni/runtime/Library.class
09:16:01 /var/lib/jenkins/.ivy2/cache/org.fusesource.leveldbjni/leveldbjni-all/bundles/leveldbjni-all-1.8.jar:org/fusesource/hawtjni/runtime/Library.class
krisskross commented 8 years ago

How did you make this work before hawtjni was shaded into lmdbjni? Either hawtjni dependency must have been excluded somehow?

krisskross commented 8 years ago

It seems 'sbt' is very picky about having multiple implementation on class path. Is it possible to suppress the error? You can always tweak your class path at runtime to make sure the right version is loaded first.

I need your input in order to take a decision if this is a problem or not.

krisskross commented 8 years ago

Closing from inactivity.