Different Versions same Plug-In [message #500695] |
Fri, 27 November 2009 09:30  |
Eclipse User |
|
|
|
Hi,
we're developing a feature with lots of plug-ins some of which depend on
a set of third party plug-ins, namely EMF plug-ins.
We have to integrate with an RCP-based product which also uses EMF, lets
call it XIDE. Mixing our EMF plug-ins with theirs causes our feature or
their XIDE product to fail. Of course the plug-in loader is not able to
decide which version of the EMF plug-ins to load.
So then we specified the EMF-versions that we need in the MANIFEST.MF
files of our plug-ins with bundle-version=[...) clauses, but that's only
half of the solution. Actually the makers of the XIDE product should do
the same, so their XIDE's plug-in loader doesn't get confused by our EMF
plug-ins.
Unfortunately we cannot get them to add the bundle-version constraints
to their MANIFEST.MF files.
Does anybody have an idea how we can isolate the EMF plug-ins we need
from the rest of the plug-ins?
At the moment we think about renaming the EMF plug-ins required by our
feature. But maybe there is a better and cleaner way.
Thanks and Regards,
Dirk
|
|
|
|
|
Re: Different Versions same Plug-In [message #511834 is a reply to message #500695] |
Wed, 03 February 2010 02:38  |
Eclipse User |
|
|
|
Thanks for the answers,
it turned out that EMF is a so called "singleton" feature so only one
version of it can be installed in a product.
We gave up our idea to bring in another version of EMF and made our
feature work with the version of EMF present in the product for which we
develop. Unfortunately we are to support multiple versions of that
product with different EMF versions. We decided to join with only one
and created our own RCP-based product for the other cases.
Dirk Hoffmann schrieb:
> Hi,
>
> we're developing a feature with lots of plug-ins some of which depend on
> a set of third party plug-ins, namely EMF plug-ins.
>
> We have to integrate with an RCP-based product which also uses EMF, lets
> call it XIDE. Mixing our EMF plug-ins with theirs causes our feature or
> their XIDE product to fail. Of course the plug-in loader is not able to
> decide which version of the EMF plug-ins to load.
>
> So then we specified the EMF-versions that we need in the MANIFEST.MF
> files of our plug-ins with bundle-version=[...) clauses, but that's only
> half of the solution. Actually the makers of the XIDE product should do
> the same, so their XIDE's plug-in loader doesn't get confused by our EMF
> plug-ins.
>
> Unfortunately we cannot get them to add the bundle-version constraints
> to their MANIFEST.MF files.
>
> Does anybody have an idea how we can isolate the EMF plug-ins we need
> from the rest of the plug-ins?
>
> At the moment we think about renaming the EMF plug-ins required by our
> feature. But maybe there is a better and cleaner way.
>
> Thanks and Regards,
> Dirk
|
|
|
Powered by
FUDForum. Page generated in 0.10074 seconds