You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Matt Madhavan <ma...@gmail.com> on 2011/11/03 22:15:44 UTC

Seamlessly switching from Felix and Equinox - data folder

Hello,
My understanding is that when I switch OSGi runtime the data folder becomes
stale and I have to start delete the data folder content and start
installing my features and bundles again.

Can I preserve the state of my Karaf between OSGi runtime switches? Will
save some time!

Thanks
Matt 

--
View this message in context: http://karaf.922171.n3.nabble.com/Seamlessly-switching-from-Felix-and-Equinox-data-folder-tp3478439p3478439.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Seamlessly switching from Felix and Equinox - data folder

Posted by Ɓukasz Dywicki <lu...@code-house.org>.
Hey Matt,
There is a little helper. You may use boot features to don't lost whole state and get your things installed after framework switch.

Best reagrds,
Lukasz

> That's not really possible because each framework stores its data in a proprietary format.
> It's not something I would advise to do anyway, unless you're still in development mode in which case bou may want to take a look at pax-exam.
> 
> On Thu, Nov 3, 2011 at 22:15, Matt Madhavan <ma...@gmail.com> wrote:
> Hello,
> My understanding is that when I switch OSGi runtime the data folder becomes
> stale and I have to start delete the data folder content and start
> installing my features and bundles again.
> 
> Can I preserve the state of my Karaf between OSGi runtime switches? Will
> save some time!
> 
> Thanks
> Matt
> 
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Seamlessly-switching-from-Felix-and-Equinox-data-folder-tp3478439p3478439.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
> 
> 
> 
> -- 
> ------------------------
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
> 


Re: Seamlessly switching from Felix and Equinox - data folder

Posted by Guillaume Nodet <gn...@gmail.com>.
That's not really possible because each framework stores its data in a
proprietary format.
It's not something I would advise to do anyway, unless you're still in
development mode in which case bou may want to take a look at pax-exam.

On Thu, Nov 3, 2011 at 22:15, Matt Madhavan <ma...@gmail.com> wrote:

> Hello,
> My understanding is that when I switch OSGi runtime the data folder becomes
> stale and I have to start delete the data folder content and start
> installing my features and bundles again.
>
> Can I preserve the state of my Karaf between OSGi runtime switches? Will
> save some time!
>
> Thanks
> Matt
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Seamlessly-switching-from-Felix-and-Equinox-data-folder-tp3478439p3478439.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com