Why are cyclic plugin dependencies not allowed??? [message #275054] |
Wed, 03 November 2004 09:22  |
Eclipse User |
|
|
|
Originally posted by: philipp.kutter.org
Dear All.
I just wanted to make a post to the EMF group reporting an error, but
it seems it is not an error, but a problem with Plugin-Dependencies.
Someone told me that cyclic plugin dependencies are not allowed.
Why??
Best Regards, and thanks in advance for any hint,
Philipp Kutter
|
|
|
|
Re: Why are cyclic plugin dependencies not allowed??? [message #275481 is a reply to message #275163] |
Mon, 08 November 2004 14:56   |
Eclipse User |
|
|
|
Originally posted by: philipp.kutter.org
Hi, Tom.
This is true. On the other hand, if I use the plugins to encapsulate
some packages as OSGi components, it may well be that package 1 needs
package 2, and vice versa.
I read as well that OSGi should allow mutual depencency. Is Eclipse
here not OSGi conform, or did I misunderstand something?
Best, Philipp
PS: I use the web interface to this news group, and our thread is almost
in the last displayed column. Can you please send me a copy of your answer
to
philipp@kutter.org thanks.
Tom Kneubuehl wrote:
> Philipp W. Kutter wrote:
>> Dear All.
>>
>> I just wanted to make a post to the EMF group reporting an error, but
>> it seems it is not an error, but a problem with Plugin-Dependencies.
>>
>> Someone told me that cyclic plugin dependencies are not allowed.
>>
>> Why??
>>
>> Best Regards, and thanks in advance for any hint,
>>
>> Philipp Kutter
>>
>>
> Which plugin would you load first when you have cyclic dependencies
> if you where the plugin runtime ?
> If you start plugin A that is dependent on B, then you have first to
> load B an hence B needs A you have to load first A and so on ....
|
|
|
Re: Why are cyclic plugin dependencies not allowed??? [message #275562 is a reply to message #275481] |
Tue, 09 November 2004 09:50  |
Eclipse User |
|
|
|
Originally posted by: chaves.inf.no.ufsc.spam.br
Bundle requirements and package import/export are different things. The
former is an extension Eclipse promoted to OSGi in order to support
its existing model of plug-in pre-requisites. The latter is now
available to Eclipse developers becaause it has always been part of OSGi.
Eclipse pre-requisites were always acyclic (since 1.0). Package
imports/exports can form cycles.
For the reasons why cycles are not supported for plug-in pre-requisites:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=48576
Rafael
philipp@kutter.org wrote:
> Hi, Tom.
> This is true. On the other hand, if I use the plugins to encapsulate
> some packages as OSGi components, it may well be that package 1 needs
> package 2, and vice versa.
> I read as well that OSGi should allow mutual depencency. Is Eclipse
> here not OSGi conform, or did I misunderstand something?
>
> Best, Philipp
>
> PS: I use the web interface to this news group, and our thread is almost
> in the last displayed column. Can you please send me a copy of your
> answer to philipp@kutter.org thanks.
>
> Tom Kneubuehl wrote:
>
>> Philipp W. Kutter wrote:
>
>
>>> Dear All.
>>>
>>> I just wanted to make a post to the EMF group reporting an error, but
>>> it seems it is not an error, but a problem with Plugin-Dependencies.
>>>
>>> Someone told me that cyclic plugin dependencies are not allowed.
>>>
>>> Why??
>>>
>>> Best Regards, and thanks in advance for any hint,
>>>
>>> Philipp Kutter
>>>
>>>
>
>> Which plugin would you load first when you have cyclic dependencies
>> if you where the plugin runtime ?
>> If you start plugin A that is dependent on B, then you have first to
>> load B an hence B needs A you have to load first A and so on ....
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04894 seconds