Re: How to use a 3rd party non-OSGi dependency?

2013-11-11 Thread Elliot Huntington
Thank you all for your responses. I hope I can resolve this today. Unfortunately, I cannot use Maven as the build tool, as much as I'd like to. I have to use Gradle. I did try making the 3rd party library an osgi bundle using Peter Kriens bnd tool. But I still get a ClassNotFoundException when ru

Re: How to use a 3rd party non-OSGi dependency?

2013-11-10 Thread Daniel McGreal
Also, the Spring EBR? On 10 Nov 2013, at 08:36, Achim Nierbeck wrote: > Hi, > > Just as a little hint, you might want to check the servicemix project, > because it already converted lots of 3rd party projects. It might happen > that it's already available as osgi bundle. Besides that the servic

Re: How to use a 3rd party non-OSGi dependency?

2013-11-10 Thread Achim Nierbeck
Hi, Just as a little hint, you might want to check the servicemix project, because it already converted lots of 3rd party projects. It might happen that it's already available as osgi bundle. Besides that the servicemix project does use the maven shade plugin for conversion. Regards, Achim sent

Re: How to use a 3rd party non-OSGi dependency?

2013-11-09 Thread Henry Saginor
Hi Elliot, There are several option. I think the "best way" really depends on your use case. If you have one bundle where your code depends on 3rd party jar you can add it as embeded dependency. I usually prefer this approach. If you use maven as your build system this can be added with maven-b

How to use a 3rd party non-OSGi dependency?

2013-11-09 Thread Elliot Huntington
What is the best way to convert a 3rd party jar into an OSGi bundle? http://stackoverflow.com/questions/19880211/how-to-convert-miglayout-for-javafx-to-an-osgi-bundle-so-it-will-work-inside-an