Running an OSGi felix environment from gradle


(Romain Endelin) #1

Hi, I’m trying to use Gradle for an OSGi project, that would be running with Apache Felix. First I found a plugin for doing it : https://github.com/thomasvolk/gradle-felix-launcher-plugin, but for the moment, it doesn’t seem to work well (https://github.com/thomasvolk/gradle-felix-launcher-plugin/issues/1). What is the best solution to execute a Felix environment from Gradle ?

Thanks, Romain


(Peter Niederwieser) #2

Gradle doesn’t come with Felix support out of the box. You could either use/improve a third-party plugin, or come up with your own solution. With Gradle’s scripting abilities, the latter shouldn’t be that hard to do, especially if you just make it good enough for your own needs.