Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsAdd maven NAR files to Target Platform
https://www.eclipse.org/forums/index.php/mv/msg/489168/1064151/#msg_1064151
I have a rather large "project" composed of a couple dozen plugins. I have created a target platform to manage dependencies of the various plugins in the projects. One of the plugins will have a dependency on a maven "nar" plugin, which contains some JNI wrapper code to some platform specific DLLs. The problem is, I haven't found a way of getting the target platform (Windows->Preferences->Plug-in Development->Target Platform) to recognize nar files as a valid plug-in. If I add the folder which contains the nar file into my target platform, when I let it refresh and then "edit" my target platform it shows "0 plug-ins available" in the Locations tab for the folder containing the nar file. Does anybody know how I would go about adding this type of dependency to my plugin project? Would I have to somehow convert my nar plugin to a jar?
Thanks,
Craig]]>Craig Petre2013-06-17T20:26:58-00:00Re: Add maven NAR files to Target Platform
https://www.eclipse.org/forums/index.php/mv/msg/489168/1064464/#msg_1064464
> Would I have to somehow convert my nar plugin to a jar?
I assume this step is necessary. I have not seen a NAR artifact yet. But
it looks like this is not OSGi-ified yet. Thus, it needs to be converted
into OSGi bundle jars. It might be necessary to create multiple platform
specific OSGi fragments containing the native libs.
-Gunnar
--
Gunnar Wagenknecht
gunnar@xxxxxxxx http://wagenknecht.org/]]>Gunnar Wagenknecht2013-06-19T12:12:51-00:00