[equinox-dev] Is this a bug?

2008-09-24 Thread Vinayak Joshi
Considering OSGI allows dynamic updates of running modules, I prototyped a situation where the equinox (v 3.4) is launched with a test bundle. Before calling any methods on the bundle, I replace the test bundle's jar file on the disk with a different copy - thereafter, the test bundle starts to

Re: [equinox-dev] Is this a bug?

2008-09-24 Thread Danail Nachev
If bundles are installed by reference (via reference: URL) Equinox doesn't guarantee anything to bundles which you replace, while they are still running. Although OSGi is considered dynamic, such scenarios are not supported. AFAIK, p2 and old Eclipse Update installs all bundles by reference. Such

Re: [equinox-dev] Sharing objects between GWT modules in different Equinox bundles

2008-09-24 Thread olivier evalet
Hi, You can find answers with gwt-api-interop project from http://code.google.com/p/gwt-api-interop/ . With api-interop you can define classes in gwt that will be accessible from javascript (without obfuscation) . So you can define *interfaces* that can be used between gwt projects. I don't know

Re: [equinox-dev] Is this a bug?

2008-09-24 Thread Vinayak Joshi
Yes, understand. I did get the bundle loaded via config.ini so that makes it loaded via reference. So if I were to write a bundle manager kind of bundle that used Bundle.installBundle(String, InputStream) and Bundle.installBundle(String) to install bundles into my runtime passing file: urls -

[equinox-dev] Match problem when updating p2-ized product

2008-09-24 Thread Torkild Ulvøy Resheim
I've got a product which consists of two of our features com.atmel.avr32 and com.atmel.avr32.doc. When attempting to upgrade an installation of this product using a p2 repository I always get this error message: Cannot complete the request. See the details. AVR32 Studio IDE Core is already

Re: [equinox-dev] Is this a bug?

2008-09-24 Thread Stuart McCulloch
2008/9/24 Niclas Hedhman [EMAIL PROTECTED] On Wed, Sep 24, 2008 at 5:12 PM, Danail Nachev [EMAIL PROTECTED]wrote: If bundles are installed by reference (via reference: URL) Equinox doesn't guarantee anything to bundles which you replace, while they are still running. Although OSGi is

Re: [equinox-dev] Match problem when updating p2-ized product

2008-09-24 Thread Gladyston
Hi Torkild, Probably your product list a specific version of features (match perfect) as in: requiredCapability: org.eclipse.equinox.p2.iu/com.atmel.avr32/[2.1.0.200809241313,2.1.0.200809241313] -Here So you can not update/install this feature alone without break the

Re: [equinox-dev] Is this a bug?

2008-09-24 Thread Thomas Watson
Danail is correct. Reference installs are not spec'ed but most implementations seem to support some form of reference install. Reference installs does not prevent dynamic updates of bundles though. It is only a way to tell the framework not to copy the content into its local storage, instead

Re: [equinox-dev] Extension registry evolution

2008-09-24 Thread Heiko Seeberger
Oleg, Great to see typed objects moving into the extension registry! I am not sure if I fully understand IRegistryObject, therefore the following might not apply: I would not like my classes having to implement this platform related interface. Better provide an (additional) reflection