|
Re: Same Plugin with multiple versions [message #508012 is a reply to message #507918] |
Fri, 15 January 2010 09:58 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Hi,
Whether there can be more than one version of a plugin active at a time
depends on the MANIFEST.MF entry
Bundle-SymbolicName: yada;singleton:=true
If it sees the singleton=true then only the latest version will be active.
If this is not set, then it depends on the plugin.xml. If a plugin.xml
contributes no extensions then there can be multiple copies active.
Which one chosen depends on the criteria of the plugin that depends on
it. If the dependent plugin says it requires the older one then it will
use the older one.
If the plugin.xml has extensions or extension points defined then it
must be a singleton.
Aniruddha Shevade wrote:
> I am using eclipse 3.4
> Is it possible to have same plugin with multiple versions? If so which
> version would be loaded ?
> I have plugins with multiple versions, and it seems to be loading the
> older versions. Is there any way to force it to use the latest version
> of a plugin?
>
> Would the behavior change if a plugin contributes an extension or
> defines a extension point.
>
> thanks
> - Ani
>
--
Thanks,
Rich Kulp
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03103 seconds