Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Switching between 2 version of 1 plugin?
Switching between 2 version of 1 plugin? [message #314595] Wed, 18 April 2007 06:45 Go to next message
Eclipse UserFriend
Hi all,

Is there any posibility to unload currently loaded plugin and load the same
plugin with different version (both available in plugins folder).

10x in advance,
Stoil
Re: Switching between 2 version of 1 plugin? [message #314601 is a reply to message #314595] Wed, 18 April 2007 07:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: valere.fedronic.ext.streamezzo.com

Hi,

Help >> SoftwareUpdates >> manage configuration

Select the plugin and click on the *Replace with another version* link
in the right panel.


valere.


Stoil Valchkov wrote:
> Hi all,
>
> Is there any posibility to unload currently loaded plugin and load the same
> plugin with different version (both available in plugins folder).
>
> 10x in advance,
> Stoil
Re: Switching between 2 version of 1 plugin? [message #314615 is a reply to message #314601] Wed, 18 April 2007 10:13 Go to previous messageGo to next message
Eclipse UserFriend
Is there way to do this from within plugin depending on another plugin with
multiple versions?

valere fedronic wrote:

> Hi,
>
> Help >> SoftwareUpdates >> manage configuration
>
> Select the plugin and click on the *Replace with another version* link
> in the right panel.
>
>
> valere.
>
>
> Stoil Valchkov wrote:
>> Hi all,
>>
>> Is there any posibility to unload currently loaded plugin and load the
>> same plugin with different version (both available in plugins folder).
>>
>> 10x in advance,
>> Stoil
Re: Switching between 2 version of 1 plugin? [message #314626 is a reply to message #314615] Wed, 18 April 2007 12:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: valere.fedronic.ext.streamezzo.com

I do not fully understand the question, but you can explicitly say in
your manifest.mf that you depend on a specific version of a plugin (the
properties.. button in the dependency tab).
And another plugin can depend on an other version of the same plugin,
there can be two version of the same plugin active at the same time.

valere.

Stoil Valchkov wrote:
> Is there way to do this from within plugin depending on another plugin with
> multiple versions?
>
> valere fedronic wrote:
>
>> Hi,
>>
>> Help >> SoftwareUpdates >> manage configuration
>>
>> Select the plugin and click on the *Replace with another version* link
>> in the right panel.
>>
>>
>> valere.
>>
>>
>> Stoil Valchkov wrote:
>>> Hi all,
>>>
>>> Is there any posibility to unload currently loaded plugin and load the
>>> same plugin with different version (both available in plugins folder).
>>>
>>> 10x in advance,
>>> Stoil
>
Re: Switching between 2 version of 1 plugin? [message #314682 is a reply to message #314595] Thu, 19 April 2007 08:49 Go to previous messageGo to next message
Eclipse UserFriend
I think Valere mentioned that if you manage at the feature level, you
can disable and then enable different versions of a feature and that
will unload and load different plugins. Take a look at
org.eclipse.update.standalone.EnableCommand and DisableCommand to
understand the programmatic interface that would work.

At a lower level, you can use the OSGi PackageAdmin service and the
BundleContext to dynamically load and unload plugins.

Later,
PW
Re: Switching between 2 version of 1 plugin? [message #315072 is a reply to message #314626] Wed, 02 May 2007 06:53 Go to previous message
Eclipse UserFriend
I meant replace loaded plugin during runtime. I suppose post of Paul Webster
is what I need.
valere fedronic wrote:

> And another plugin can depend on an other version of the same plugin,
> there can be two version of the same plugin active at the same time.
Previous Topic:WorkspaceModifyOperation and WizardNewFileCreationPage
Next Topic:Eclipse 3.2.2 installation bug?
Goto Forum:
  


Current Time: Wed May 07 00:47:29 EDT 2025

Powered by FUDForum. Page generated in 0.03212 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top