How to work with primary feature in workspace [message #29838] |
Mon, 12 May 2003 13:28  |
Eclipse User |
|
|
|
Originally posted by: jverhaeg.metamatrix.com
I'm trying to figure out how to setup my workspace and runtime workbench
launch configuration to run a simple non-IDE GUI application such that my
primary feature gets loaded as the default primary feature (meaning my
splash image is used, my perspective gets shown as the first, default
perspective, etc.). The help documentation under "Platform Plug-in
Developer Guide->Programmer's Guide->Packaging and delivering Eclipse based
products->What is a product?->Primary Feature" states "The branding
information for the feature is located in a plug-in of the same name as the
primary feature." Yet, I can't figure out how to get both the feature
project and the plug-in project by the same name loaded into the same
development workspace. What am I missing here, and is there any other
information outside of this particular help documentation that I'm going to
need to create my own application?
|
|
|
|
|
|
Re: How to work with primary feature in workspace [message #29956 is a reply to message #29891] |
Tue, 13 May 2003 13:45   |
Eclipse User |
|
|
|
Originally posted by: jverhaeg.metamatrix.com
Okay, this is what I've done:
1) Created a product folder, as shown in the help documentation, that
contains both a plugins and features folder.
2) Started up Eclipse using the plugins folder as my workspace folder.
3) Created a feature project and a plug-in project under the features and
plugins folders, respectively, such that the feature is marked as primary
and points to the plug-in as the branding plug-in.
4) Setup my runtime workbench launch configuration to use the "Use features
in the workspace (simulated normal startup)" option in the "Plug-ins and
Fragments" tab. Doing this caused an install.ini and .eclipseproduct file
to be created in the product folder.
5) Setup the launch configuration to store its workspace data in the product
folder (does it matter where this goes?).
6) Added a splash image to my feature's manifest that I expect to see when I
run the runtime workbench.
7) Modified the install.ini in the product folder to use my feature by
default, via the feature.default.id property.
8) Launched the runtime workbench.
I expected to at least see my slash image get displayed, but this didn't
happen. Instead, all I see is the "Please wait...Completing the install"
message every time I run, despite the fact that I do not have the "Clear
workspace data before launching" option checked in the launch configuration.
Please help me understand what I'm doing wrong.
|
|
|
Re: How to work with primary feature in workspace [message #29957 is a reply to message #29956] |
Tue, 13 May 2003 14:23   |
Eclipse User |
|
|
|
The splash needs to reside in the plugin. In step 6) you placed it in
the feature?
Peter
JPAV wrote:
> Okay, this is what I've done:
>
> 1) Created a product folder, as shown in the help documentation, that
> contains both a plugins and features folder.
>
> 2) Started up Eclipse using the plugins folder as my workspace folder.
>
> 3) Created a feature project and a plug-in project under the features and
> plugins folders, respectively, such that the feature is marked as primary
> and points to the plug-in as the branding plug-in.
>
> 4) Setup my runtime workbench launch configuration to use the "Use features
> in the workspace (simulated normal startup)" option in the "Plug-ins and
> Fragments" tab. Doing this caused an install.ini and .eclipseproduct file
> to be created in the product folder.
>
> 5) Setup the launch configuration to store its workspace data in the product
> folder (does it matter where this goes?).
>
> 6) Added a splash image to my feature's manifest that I expect to see when I
> run the runtime workbench.
>
> 7) Modified the install.ini in the product folder to use my feature by
> default, via the feature.default.id property.
>
> 8) Launched the runtime workbench.
>
> I expected to at least see my slash image get displayed, but this didn't
> happen. Instead, all I see is the "Please wait...Completing the install"
> message every time I run, despite the fact that I do not have the "Clear
> workspace data before launching" option checked in the launch configuration.
> Please help me understand what I'm doing wrong.
>
>
|
|
|
|
|
|
|
Re: How to work with primary feature in workspace [message #30431 is a reply to message #29838] |
Tue, 13 May 2003 22:35  |
Eclipse User |
|
|
|
JPAV wrote:
> I'm trying to figure out how to setup my workspace and runtime workbench
> launch configuration to run a simple non-IDE GUI application such that my
> primary feature gets loaded as the default primary feature (meaning my
> splash image is used, my perspective gets shown as the first, default
> perspective, etc.). The help documentation under "Platform Plug-in
> Developer Guide->Programmer's Guide->Packaging and delivering Eclipse based
> products->What is a product?->Primary Feature" states "The branding
> information for the feature is located in a plug-in of the same name as the
> primary feature." Yet, I can't figure out how to get both the feature
> project and the plug-in project by the same name loaded into the same
> development workspace. What am I missing here, and is there any other
> information outside of this particular help documentation that I'm going to
> need to create my own application?
An approach that works for me is to use links. See the last paragraph in
http://www.eclipse.org/newsportal/article.php3?id=396&gr oup=eclipse.platform
|
|
|
Powered by
FUDForum. Page generated in 0.15832 seconds