hmm, well if you're attached to the JVM process via a debugger, a "hotswap" is already possible ... am I missing a use-case here? besides, Karaf does have an awsome command for bundle:update triggers already ;) bundle:watch (or dev:watch - depends on the version) with that just build your bundle and it's updated instantly
or just place your bundle as extracted Bundle in the deploy folder, that'll do almost as good, at least while debugging ;) regards, Achim 2014-08-20 15:16 GMT+02:00 Erhan Bagdemir <[email protected]>: > Achim, > thank you very much for your reply and sorry for using the wrong mailing > list. > I am thinking of developing an Eclipse plugin to integrate Karaf > container with the IDE - just like EIK does and plan to swap the > classes (Hotswap) in background while editing the source code e.g. on > java editor's unfocus event, just like Intellij IDEA does, swapping > the classes on-fly on application servers like on Tomcat. We could > really save time while we're developing our project, since we didn't > have to package/install the bundle every time we have some changes and > did not need to reload the bundle, respectively. > > Regards > > 2014-08-20 14:46 GMT+02:00 Achim Nierbeck <[email protected]>: > > Like bundle:update ??? > > The only way of "swapping" is to update your bundle. > > Is this what you where looking for? > > > > regards, Achim > > > > P.S. the users mailing list is more appropriate for such questions > > > > > > 2014-08-20 14:40 GMT+02:00 Erhan Bagdemir <[email protected]>: > > > >> Hi Folks, > >> > >> is it possible to swap the bundle classes at runtime in Karaf container > ? > >> Are there any experiences with it ? > >> > >> Erhan > >> > > > > > > > > -- > > > > Apache Member > > Apache Karaf <http://karaf.apache.org/> Committer & PMC > > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer > & > > Project Lead > > blog <http://notizblog.nierbeck.de/> > > > > Software Architect / Project Manager / Scrum Master > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Software Architect / Project Manager / Scrum Master
