Plugin Required-Bundle [message #326684] |
Fri, 28 March 2008 13:50 |
Eclipse User |
|
|
|
Originally posted by: douglas.wieland.osv.fedex.com
Hello,
Is there a way that 2 plugins A and B requiring different conflicting
versions of a common plugin can work in the same RCP plugin environment?
Plugin A has a requirement:
Require-Bundle: com.common.plugin;bundle-version="[1.0.0,2.0.0)
Plugin B has a requirement:
Require-Bundle: com.common.plugin;bundle-version="[2.0.0,3.0.0)
When plugin B is installed plugin A quits working. Is there a way
plugin A can use one version of the common plugin and B can use
another version?
Thanks,
Doug
|
|
|
Re: Plugin Required-Bundle [message #326688 is a reply to message #326684] |
Fri, 28 March 2008 14:27 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Doug,
I think this can only work if the common plugin isn't a singleton (which
means it can't use or introduce extension points).
Doug wrote:
> Hello,
>
> Is there a way that 2 plugins �A� and �B� requiring different
> conflicting versions of a common plugin can work in the same RCP
> plugin environment?
>
> Plugin �A� has a requirement:
> Require-Bundle: com.common.plugin;bundle-version="[1.0.0,2.0.0)�
>
> Plugin �B� has a requirement:
> Require-Bundle: com.common.plugin;bundle-version="[2.0.0,3.0.0)�
>
> When plugin �B� is installed plugin �A� quits working. Is there a way
> plugin �A� can use one version of the common plugin and �B� can use
> another version?
>
> Thanks,
> Doug
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03538 seconds