On 2016-09-06T07:52:43 -0700
Daniel McGreal <[email protected]> wrote:

> 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.
> 

Hello.

This may actually be taken from Felix already. It has a file install
service that can watch directories and will install/update/uninstall
bundles when changes are made in the directory:

  
https://felix.apache.org/documentation/subprojects/apache-felix-file-install.html

I may have to take this route if it turns out that I can't do what I
want directly from the IDE.

M

Attachment: pgpbgu5Evzum4.pgp
Description: OpenPGP digital signature

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to