Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » earlyStartup() not getting invoked when launched as a product(earlyStartup() not getting invoked when launched as a product)
earlyStartup() not getting invoked when launched as a product [message #1065300] Tue, 25 June 2013 09:39 Go to next message
Jyostna Chakravarthy is currently offline Jyostna ChakravarthyFriend
Messages: 5
Registered: June 2013
Junior Member
Hi,

I have a product P1, which consists of 10 feature project's within it and also 1 base framework plugin which is also installed as a feature project in this product.

Requirement: Whenever any feature project(i.e., plugin) is opened as a perspective, I want to capture the opened perspective details.

Solution:
For Testing purpose,
1. For this I have written class EarlyStartup (captures the opened perspective details into some file. )in the base framework plugin and exported this plugin as a feature project.
2. Provided the details of the pluginId consisting of EarlyStartup in osgi.bundles in config.ini of new eclipse instance.
3. In new eclipse Installed "Base Framework Feature" & one of the plugin's feature project's as a new software.
4. When I opened the pespective of one of the plugin I am able to write the opened perspective's plugin information to a file.

But...

When I proceed with the same setup as a product I am not able to invoke the EarlyStartup().

Could you let me know where I went wrong ..
Re: earlyStartup() not getting invoked when launched as a product [message #1065987 is a reply to message #1065300] Fri, 28 June 2013 16:48 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 06/25/2013 05:39 AM, Jyostna Chakravarthy wrote:
> Solution:
> For Testing purpose,
> 1. For this I have written class EarlyStartup (captures the opened
> perspective details into some file. )in the base framework plugin and
> exported this plugin as a feature project.

Is this using IStartup and the org.eclipse.ui.startup extension point?

When it's a product, does your config.ini have the same information in it?

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm


Previous Topic:JDT creating dynamic web project
Next Topic:"Run as -> Ant Build ..." disappears if certain Editor active
Goto Forum:
  


Current Time: Thu Mar 28 23:35:11 GMT 2024

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

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

Back to the top