|Re: Question about using plug-in fragments [message #634939 is a reply to message #634755]
||Mon, 25 October 2010 07:44
|| Mickael Istria
Registered: July 2009
Location: Grenoble, France
I think that using versionning of fragments can do the trick. Simply create an update site containing your fragment in a higher version, and once installed, this one should be used by your host bundle.
Le 23/10/2010 08:05, Ralf Zahn a écrit :
> I use plug-in fragments for interface implementations. I have a plug-in
> defining a public API with interfaces, and a fragment that implements
> these interfaces. Instances are created using Java reflection.
> What I need is to provide a fragment to the users that contains a simple
> implementation first. Later, I have to implement my interfaces by
> another way, so I'd create another fragment. Then, I need to exchange
> the fragments using the Eclipse Update Mechanism.
> And there's my question: Is it possible to provide an Update Site with a
> feature that instructs the platform to uninstall the old fragment and to
> install the new one? (If so, how? If not, what should I do instead?)
> I cannot have both fragments in the same platform because of classloader
Mickael Istria -- BonitaSoft S.A.
Powered by FUDForum
. Page generated in 0.03359 seconds