Hi Karl, I start the launcher as shown below:
sh launcher/pax-run.sh --platform=equinox file:bundlelist.cfg --workingDirectory=cache --ups=true --vmOptions="-DvoipConfigDir=`pwd`/config/voip" --classpath="../config" Since --ups=true is used in order to restart with the persisted state from a previous run I think I am not using clean option since I can get data from Preference service. Thank you in advance Regards David -----Mensaje original----- De: [email protected] [mailto:[email protected]] En nombre de Karl Pauls Enviado el: jueves, 04 de marzo de 2010 12:55 Para: OSGi Developer Mail List Asunto: Re: [osgi-dev] Osgi Launchers Question Our bundles will still be around unless the framework cache gets deleted. This is a configurable option of the framework (i.e., delete the cache on start-up) and must be set by Pax Runner in your case. I'd assume that there is an option to not delete the cache. How do you start pax runner (in case you are using --clean that is likely your problem)? regards, Karl On Thu, Mar 4, 2010 at 12:43 PM, David Conde <[email protected]> wrote: > Hi Neil, > > Thank you for your answer. > > I know it should be so, but really it is not, at least I did not achieve it by using Pax Runner, I am new in Pax Runner and perhaps I have not already found this option but I have been looking for information about this behaviour and I did not find anything related to. > > In my case, I had tested my application in Equinox by console, and then, in order to do it faster, I exported all my bundles into Pax Runner launcher. The problem is that I have a bundle called InstallerBundleManager which make use of BundleContext.install bundle in order to install another bundles from .jar files by programming in running time. The problem is that when I restart again Pax Runner, the bundles installed by my InstallerBundleManager bundle do not appear like installed bundles in the framework. > > Do you know another launcher to fix this by using Equinox? > > What is the most used bundle for Equinox developers? > > Thank you in advance > > David > > -----Mensaje original----- > De: [email protected] [mailto:[email protected]] En nombre de Neil Bartlett > Enviado el: jueves, 04 de marzo de 2010 12:28 > Para: OSGi Developer Mail List > Asunto: Re: [osgi-dev] Osgi Launchers Question > > David, > > That is the default behaviour of OSGi: bundles remain installed and in > the same state across restarts of the framework. The way your > framework is launched should have no effect on this behaviour. > > Neil > > On Thu, Mar 4, 2010 at 11:20 AM, David Conde <[email protected]> wrote: >> Hi, >> >> >> >> I would like to know if there is any OSGI launcher which allow to remain >> installed after being shut down these bundles which were installed by >> programming but were not included in the installation folders of the >> launchers. Is there any launcher which allow me to install bundles using >> BundleContext and I can have these installed bundles after shut down the >> launcher? >> >> >> >> Thank you in advance >> >> >> >> David >> >> _______________________________________________ >> OSGi Developer Mail List >> [email protected] >> https://mail.osgi.org/mailman/listinfo/osgi-dev >> > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev > > > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev > -- Karl Pauls [email protected] _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
