Hello,

I use Karaf (which embeds Felix or Eclipse) and use bundle:watch * to refresh a 
bundle in OSGi every time it’s rebuilt by Maven. Then just compile the maven 
bundles that you’ve actually changed, and you have a live environment which 
isn’t connected to an IDE (our developers use a variety). e.g. mvn install -f 
changedbundle/pom.xml. Karaf is quite modular, so it may be possible to extract 
the bundle:watch code to work in standalone Felix.

Hope that helps,
Dan.


> On 6 Sep 2016, at 07:36, list+org.o...@io7m.com wrote:
> 
> However, I want to switch to producing signed bundles as I want to
> differentiate between bundles in my conditional permission admin
> policy. Intellij seems to have no support whatsoever for signing jars,
> and although the Maven build will produce them without issue, running a
> full build to produce jars during development for every tiny change is
> too painful. It turns a one-second button press into a roughly
> 20-second "wait for build and run" cycle. Do that enough times each
> day and it soon adds up to a lot of wasted time.

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to