Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Package native libraries into Fragments
Package native libraries into Fragments [message #169360] Thu, 11 December 2003 12:10
Eclipse UserFriend
I am developping a plugin to monitor some OS specific informations.
To catch these informations I use JNI calls. I would like to package the
plugin in the following way:
-> plugins
-> org.eclipse.proc_1.0.0
-> proc.jar
-> plugin.xml
-> org.eclipse.proc.aix_1.0.0
-> proc_aix.jar
-> mylib.so
-> fragment.xml
-> org.eclipse.proc.win32_1.0.0
-> proc_win32.jar
-> mylib.dll
-> fragment.xml

I would like that:
-> proc.jar contains only UI classes, and a generic way to catch info (i.e:
Foo foo = new Foo().getInfo() )
-> proc_aix.jar contains the implementation of Foo class for the AIX os ( JNI
calls )
-> mylib.so contains the C code to retrieve the needed info for JNI.

Today, I don't know how to implement such an organisation. I don't know
how to delegate to the fragment the inmplementation of the Foo class and
getinfo method. I don't know how to automatically register my library (to
avoid JNI errors)

Someone can tell me how to solve these issues ?
Previous Topic:Markers updates on resource changes
Next Topic:I cannot get the javafamily plugin to work or have it registered as an editor for .jsp files
Goto Forum:
  


Current Time: Wed Jul 16 21:55:28 EDT 2025

Powered by FUDForum. Page generated in 0.08774 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top