[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.newcomer] Re: Setting up execution order of plugins on startup
|
- From: Ankur Sharma <sharma.ankur@xxxxxxxxx>
- Date: Tue, 14 Apr 2009 16:19:18 +0530
- Newsgroups: eclipse.newcomer
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.21 (Windows/20090302)
ankit baphna wrote:
Hi,
I have 2 plugins (say plugin1 nd plugin2) for Eclipse that has extension
points for org.eclipse.ui.startup and implements IStartup. Now when I
start my eclipse both of these plugins gets loaded and do whatever I
have implemented in the earlyStartup() method. I observed that sometimes
implementation of plugin1 happens before the implementation of plugin2
is triggered and sometimes the order is reversed.
So, my question is how can I set the execution/loading of plugins order
so that every time plugin1 gets loaded first rather than plugin2?
Thanks in advance.
One way would be by setting up the dependency (using manifest editor). If you want P1 to be loaded before P2, make P2 dependent on P1. This way P1 should et loaded first.
Runtime Spy might help you too (http://www.ibm.com/developerworks/opensource/library/os-ecspy1/)
--
hth,
Ankur..