Referencing RxJava in Eclipse Kura Plugin [message #1754163] |
Tue, 14 February 2017 16:43  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.04373 seconds