Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to set 2 identical plugins in one Eclipse Platform?
How to set 2 identical plugins in one Eclipse Platform? [message #327582] Fri, 25 April 2008 10:57 Go to next message
Eclipse UserFriend
Originally posted by: brandonchen.realtek.com.tw

How to set 2 identical plugins in one Eclipse Platform?

For example, there two plugins A, and B which are completely the same in
codes and paths except the differnt extension names in plugin.xml. It means
that two different plugins will be striggered by different extensions of
filenames.

Here is the problem. It seems that these two identical plugins confuses the
eclipse playform. In some cases, ocassionally, plugin A calls its method
FUN() but runs into FUN() in plugin B. I guess that there might be some
confusion of objects between plugin A and B since they all have the same
names and paths.

My idea is to review all pages in plugin.xml and set all related ID items to
different names, and reset the relationship of dependencies. Is there any
other things I should do to achieve this goal?

I guess the worst way to achieve this is to explicitly create different
signatures of objects by changing all the file names . It should be able to
avoid confusion of objects. But it is just to troublesome. My projects are
based on GEF framework. Please give any advices, very apprecitaed!

Cheers,

Brandon
Re: How to set 2 identical plugins in one Eclipse Platform? [message #327584 is a reply to message #327582] Fri, 25 April 2008 12:04 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Brandon,

As long as you ensure that you're using a unique plugin ID, you should
be able to support this. I assume there's no downstream plugin that
ends up importing both...


Brandon wrote:
> How to set 2 identical plugins in one Eclipse Platform?
>
> For example, there two plugins A, and B which are completely the same in
> codes and paths except the differnt extension names in plugin.xml. It means
> that two different plugins will be striggered by different extensions of
> filenames.
>
> Here is the problem. It seems that these two identical plugins confuses the
> eclipse playform. In some cases, ocassionally, plugin A calls its method
> FUN() but runs into FUN() in plugin B. I guess that there might be some
> confusion of objects between plugin A and B since they all have the same
> names and paths.
>
> My idea is to review all pages in plugin.xml and set all related ID items to
> different names, and reset the relationship of dependencies. Is there any
> other things I should do to achieve this goal?
>
> I guess the worst way to achieve this is to explicitly create different
> signatures of objects by changing all the file names . It should be able to
> avoid confusion of objects. But it is just to troublesome. My projects are
> based on GEF framework. Please give any advices, very apprecitaed!
>
> Cheers,
>
> Brandon
>
>
>
>
>
Previous Topic:[Databinding] Valuebinding: Model To Target Synchronisation
Next Topic:TabbedPropertySheetPage tab orientation
Goto Forum:
  


Current Time: Tue Jul 16 17:50:47 GMT 2024

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

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

Back to the top