Skip to main content



      Home
Home » Eclipse Projects » Kura » adding a plugin to the target definition(eclipse workspace is the hardest part...)
adding a plugin to the target definition [message #1796095] Fri, 05 October 2018 01:27 Go to next message
Eclipse UserFriend
So we have to use jrxtx as a osgi container level dependency. thankfully it is exported as a osgi bundle so we can safely use it as a plugin in kura.

I have simply added it to kura/kura/plugins, kura/kura/config.ini and our bundle's MANIFEST.MF.

It works fine.

However, eclipse workspace does not. It shows a build error because it can't locate the plugin.

I have tried adding it to various build paths but it does not become visible to eclipse's plugin container in the way jars in the "target definition" are.

How can I add a 3rd party plugin to the eclipse workspace/target definition?
Re: adding a plugin to the target definition [message #1796153 is a reply to message #1796095] Sat, 06 October 2018 12:33 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
did you try adding it to the Kura-equinox_x.y.z.target file and reloading the definition?

Best regards,
Matteo
Re: adding a plugin to the target definition [message #1796245 is a reply to message #1796095] Tue, 09 October 2018 01:09 Go to previous message
Eclipse UserFriend
Hello

create lib folder in ur project and copy whichever jar you want and give path in manifest and build.properties file.

Like in menifest file.
Bundle-ClassPath: .,
lib/pi4j-core.jar

And build.properties file.

bin.includes = META-INF/,\
.,\
OSGI-INF/component.xml,\
lib/pi4j-core.jar
Previous Topic:kura wire for serial communication.
Next Topic:Higher level APIs
Goto Forum:
  


Current Time: Sun Jun 15 08:23:02 EDT 2025

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

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

Back to the top