How to update Bundle in Apache Felix OSGi Framework -
i'm having troubles updating bundle gogo shell
. have gogo shell
running on terminal. bundles active in there.
now when make changes code, steps necessary forward these changes running osgi framework?
i ran update <bundleid>
nothing happens. still runs same version compiled when started framework. before update command opened terminal , ran mvn clean install
(i'm using maven-bundle-plugin
along pax-construct
).
when working maven, workflow checking updated code involves 2 terminals.
- after updating code, run
mvn install
project build actual bundle. keep track of absolute location on system target bundle built. - in running framework, update bundle, giving url;
update 25 file:///users/you/project/bundle/target/bundle.jar
if you're free not use maven , pax runner, can take @ bndtools, eclipse plugin. can still take bundles bndtools builds you, , run them pax runner.
Comments
Post a Comment