Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] Need help with kura-greenhouse-demo

Hi!

I’m glad everything worked fine with the tutorial!
Turns out you shouldn’t be really far from being able to compile the code, from what you’ve done so far. You will need to import the Kura workspace indeed. Best option is probably to refer to the documentation, starting with the Getting Started that explains how to import the workspace: http://eclipse.github.io/kura/doc/kura-setup.html

You will be able to deploy new bundles easily using mToolkit (you need to build them first, to get them as JARs, and then use mToolkit to export them). You can also package bundles in the form of a deployment package file (.dp) which is essentially a ZIP containing all the JARs + a Manifest. You can unzip the greenhouse dp package to have a look at how it’s done. mToolkit IMO sucks at building dp packages so I would advise to create the .dp file by hand (or by adding required stuff in the Maven files).

I hope this helps, please let me know if you have questions. I am also moving the discussion over to kura-dev with your permission :-)

Thanks for reaching out, and keep me posted!
Benjamin –




Le 23 oct. 2014 à 06:13, Ming Zhao <mihillz@xxxxxxxxx> a écrit :

Benjamin,

I attended a couple of your IoT sessions at the JavaOne conference.  Great sessions.  I bought a Raspberry Pi and some accessories and went through the greenhouse tutorial.  Everything worked fine.  Now I need to play with the code that I imported into Kura on Raspberry Pi so that I can get humidity readings or communicate with a different back-end server.  I downloaded the kura-greenhouse-demo from git.  But I have trouble compiling it.  I also downloaded the Kura application developer workspace, but still don't know how to use it.  Could you give me some tips on how to build the kura-greenhouse-demo?

Thank you very much!


Ming Zhao


Back to the top