2010/10/28 Chris Aniszczyk
<caniszczyk@xxxxxxxxx>
On Thu, Oct 28, 2010 at 7:39 AM, Matthias Sohn
> Manifest-Version: 1.0
>
> Bundle-ManifestVersion: 2
>
> Bundle-Name: %plugin_name
>
> Bundle-SymbolicName: org.eclipse.jgit.native;singleton:=true
>
> Bundle-Version: 0.10.0.qualifier
>
> Bundle-Vendor: %provider_name
>
> Fragment-Host: org.eclipse.jgit;bundle-version="[0.10.0,0.11.0)"
>
> Bundle-RequiredExecutionEnvironment: JavaSE-1.5
>
> Bundle-NativeCode: /libnative/macosx/x86_64/libjgitnative.jnilib
>
> Eclipse-PlatformFilter: (&(osgi.os=macosx)(osgi.arch=x86_64))
While this isn't the problem... don't use Eclipse-PlatformFilter...
instead use something like...
Bundle-NativeCode: libnative/macosx/x86_64/libjgitnative.jnilib
osname=macosx;processor=x86
Ensure that the native code is included in the build.properties when exporting.
I starred at this fragment probably too long now, I just don't spot where the problem is :-(
looking for somebody who has more experience convincing equinox to optionally
hook the fragment org.eclipse.jgit.macosx.x86_64 onto org.eclipse.jgit
so that we can call the contained JNI code.