earlyStartup() not getting invoked when launched as a product [message #1065300] |
Tue, 25 June 2013 05:39  |
Eclipse User |
|
|
|
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 ..
|
|
|
|
Powered by
FUDForum. Page generated in 0.03270 seconds