Skip to main content



      Home
Home » Eclipse Projects » Kura » Referencing RxJava in Eclipse Kura Plugin(I would like to know how to reference RxJava from my Eclipse Kura plugin)
Referencing RxJava in Eclipse Kura Plugin [message #1754163] Tue, 14 February 2017 16:43 Go to next message
Eclipse UserFriend
Hi

I'm historically a C# programmer, but I'm currently doing my best to move into the light. I'm working on a little application for my Raspberry Pi, which led me to Eclipse Kura.

My project is a great fit for RxJava, but I can't for the life of me figure out how to add the reference.

I thought that I may have to create an OGSI bundle of RxJava, which I could then reference. I found this link which seemed perfect. I followed the instructions and installed this into Eclipse. It does now appear in my installed Eclipse plugins list, but I still can't figure out how to add this as a reference to my Kura plugin.

Any help would be hugely appreciated.

Thanks
Chris
Re: Referencing RxJava in Eclipse Kura Plugin [message #1754187 is a reply to message #1754163] Wed, 15 February 2017 02:21 Go to previous message
Eclipse UserFriend
It seems I've stumbled upon a solution myself, although I'm not 100% sure what I did.

Basically, I manually entered the Require-Bundle entries into my MANIFEST.MF, ie:

Require-Bundle: io.reactivex.rxjava2.rxjava;bundle-version="2.0.4",
org.reactivestreams.reactive-streams;bundle-version="1.0.0"

Then in Eclipse I saw the small error icon next to this entry stating that these couldn't be resolved. On clicking this, I was able to work through to adding these plugins to my Equinox plugin list.

Anyways, problem solved, so I'm happy.
Previous Topic:Using Kura without Web UI
Next Topic:Service provided by bundle
Goto Forum:
  


Current Time: Mon Jul 14 18:00:03 EDT 2025

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

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

Back to the top