Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to work with primary feature in workspace
How to work with primary feature in workspace [message #29838] Mon, 12 May 2003 13:28 Go to next message
Eclipse UserFriend
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 #29862 is a reply to message #29838] Mon, 12 May 2003 21:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: birsan.nospam.ca.ibm.com

Check the PDE Tips and Tricks. There is a section on using features in the
workspace.

-Dorian

"JPAV" <jverhaeg@metamatrix.com> wrote in message
news:b9olkh$70q$1@rogue.oti.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 #29866 is a reply to message #29862] Mon, 12 May 2003 23:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jverhaeg.metamatrix.com

I've already followed the instructions in the PDE Tips and Tricks section
for using features, but as far as I can tell this still doesn't tell me how
to work with both a feature project and a plug-in project by the same name
within the same workspace AND how to get my runtime workspace to make use of
my feature as the default feature. I would appreciate it if someone could
walk me through a step-by-step process on how to setup my environment to
create and test (via a runtime workspace using a runtime launch
configuration) a branded GUI application.
Re: How to work with primary feature in workspace [message #29891 is a reply to message #29866] Tue, 13 May 2003 04:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

JPAV wrote:

>I've already followed the instructions in the PDE Tips and Tricks section
>for using features, but as far as I can tell this still doesn't tell me how
>to work with both a feature project and a plug-in project by the same name
>within the same workspace
>
You can't. Eclipse does not allow to have projects with the same name in
the same workspace. You have two choices
a) append "-feature" to the feature project name (that's what we do in
Eclipse)
b) if the two projects are already in a CVS repository you can check
them out into different projects

Dani
Re: How to work with primary feature in workspace [message #29956 is a reply to message #29891] Tue, 13 May 2003 13:45 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #29959 is a reply to message #29956] Tue, 13 May 2003 14:28 Go to previous messageGo to next message
Eclipse UserFriend
This is a multipart message in MIME format.
--=_alternative 00658F7985256D25_=
Content-Type: text/plain; charset="US-ASCII"

Double check that you have followed these steps:

Point to a properly configured workspace like eclipse.exe -data
c:\myworkspace\plugins <- need the"plugins" exactly as is.
Import plugins into workspace with "Copy files into workspace"
checked[Need to make sure that the plug-ins are copied into the workspace
directory e.g. your not using plugin references].
Import your feature.
Check off the "Use features in workspace" option in the run dialog [second
tab].
Add the -feature to the program arguments text field in the run dialog
[first tab].

All of these steps need to be followed exactly or it will not work.

-m@


--=_alternative 00658F7985256D25_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Double check that you have followed
these steps:</font>
<br>
<ol>
<li value=1><font size=2 face="sans-serif">Point to a properly configured
workspace like eclipse.exe -data c:\myworkspace\plugins &lt;- need the&quot;plugins&quot;
exactly as is.</font>
<li value=2><font size=2 face="sans-serif">Import plugins into workspace
with &quot;Copy files into workspace&quot; checked[Need to make sure that
the plug-ins are copied into the workspace directory e.g. your not using
plugin references].</font>
<li value=3><font size=2 face="sans-serif">Import your feature.</font>
<li value=4><font size=2 face="sans-serif">Check off the &quot;Use features
in workspace&quot; option in the run dialog [second tab].</font>
<li value=5><font size=2 face="sans-serif">Add the -feature to the program
arguments text field in the run dialog [first tab].</font></ol>
<br><font size=2 face="sans-serif">All of these steps need to be followed
exactly or it will not work.</font>
<br>
<br><font size=2 face="sans-serif">-m@</font>
<br>
<br>
--=_alternative 00658F7985256D25_=--
Re: How to work with primary feature in workspace [message #30077 is a reply to message #29957] Tue, 13 May 2003 16:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jverhaeg.metamatrix.com

I tried putting the splash image in the plug-in, and that didn't change
anything.

The feature manifest is the one that contains the image property pointing to
the splash image, so I'm not sure what the relative path should be, if any.
I tried both:
image="splash.jpg"

image="../../plugins/<project name>/splash.jpg"

Neither seems to have any effect.

"Peter Manahan" <manahan@ca.ibm.com> wrote in message
news:b9rd6i$b85$1@rogue.oti.com...
> The splash needs to reside in the plugin. In step 6) you placed it in
> the feature?
>
> Peter
Re: How to work with primary feature in workspace [message #30113 is a reply to message #29959] Tue, 13 May 2003 16:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jverhaeg.metamatrix.com

This is a multi-part message in MIME format.

------=_NextPart_000_0014_01C31961.E5200970
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm very confused. I've did steps 1 and 4 before, and am now doing step =
5 to get around having to have an install.ini. But I can't really do 2 =
and 3 because I don't have anything to import. I'm developing the =
plugin and feature in the workspace, not importing something already =
complete. Are you saying I need a separate workspace separate from my =
development workspace that I use just to run everything?
<Matthew_Hatem@notesdev.ibm.com> wrote in message =
news:b9rdfv$b34$1@rogue.oti.com...

Double check that you have followed these steps:=20

1.. Point to a properly configured workspace like eclipse.exe -data =
c:\myworkspace\plugins <- need the"plugins" exactly as is.=20
2.. Import plugins into workspace with "Copy files into workspace" =
checked[Need to make sure that the plug-ins are copied into the =
workspace directory e.g. your not using plugin references].=20
3.. Import your feature.=20
4.. Check off the "Use features in workspace" option in the run =
dialog [second tab].=20
5.. Add the -feature to the program arguments text field in the run =
dialog [first tab].

All of these steps need to be followed exactly or it will not work.=20

-m@=20



------=_NextPart_000_0014_01C31961.E5200970
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2726.2500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm very confused.&nbsp; I've did steps =
1 and 4=20
before, and am now doing step 5 to get around having to have an=20
install.ini.&nbsp; But I can't really do 2 and 3 because I don't have =
anything=20
to import.&nbsp; I'm developing the plugin and feature in the workspace, =
not=20
importing something already complete.&nbsp; Are you saying I need a =
separate=20
workspace separate from my development workspace that I use just to run=20
everything?</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>&lt;<A=20
=
href=3D"mailto:Matthew_Hatem@notesdev.ibm.com">Matthew_Hatem@notesdev.ibm=
..com</A>&gt;=20
wrote in message <A=20
=
href=3D"news:b9rdfv$b34$1@rogue.oti.com">news:b9rdfv$b34$1@rogue.oti.com<=
/A>...</DIV><BR><FONT=20
face=3Dsans-serif size=3D2>Double check that you have followed these =
steps:</FONT>=20
<BR>
<OL>
<LI value=3D1><FONT face=3Dsans-serif size=3D2>Point to a properly =
configured=20
workspace like eclipse.exe -data c:\myworkspace\plugins &lt;- need=20
the"plugins" exactly as is.</FONT>=20
<LI value=3D2><FONT face=3Dsans-serif size=3D2>Import plugins into =
workspace with=20
"Copy files into workspace" checked[Need to make sure that the =
plug-ins are=20
copied into the workspace directory e.g. your not using plugin=20
references].</FONT>=20
<LI value=3D3><FONT face=3Dsans-serif size=3D2>Import your =
feature.</FONT>=20
<LI value=3D4><FONT face=3Dsans-serif size=3D2>Check off the "Use =
features in=20
workspace" option in the run dialog [second tab].</FONT>=20
<LI value=3D5><FONT face=3Dsans-serif size=3D2>Add the -feature to =
the program=20
arguments text field in the run dialog [first =
tab].</FONT></LI></OL><BR><FONT=20
face=3Dsans-serif size=3D2>All of these steps need to be followed =
exactly or it=20
will not work.</FONT> <BR><BR><FONT face=3Dsans-serif =
size=3D2>-m@</FONT>=20
<BR><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0014_01C31961.E5200970--
Re: How to work with primary feature in workspace [message #30149 is a reply to message #30077] Tue, 13 May 2003 16:12 Go to previous messageGo to next message
Eclipse UserFriend
The feature manifest image is the image that shows when the feature is
on an update manager website.

The splash exists in the plugin and is called splash.bmp.

Search the help, keyword "branding". Look under "Customizing a Product"
That may help.

Peter

JPAV wrote:
> I tried putting the splash image in the plug-in, and that didn't change
> anything.
>
> The feature manifest is the one that contains the image property pointing to
> the splash image, so I'm not sure what the relative path should be, if any.
> I tried both:
> image="splash.jpg"
>
> image="../../plugins/<project name>/splash.jpg"
>
> Neither seems to have any effect.
>
> "Peter Manahan" <manahan@ca.ibm.com> wrote in message
> news:b9rd6i$b85$1@rogue.oti.com...
>
>>The splash needs to reside in the plugin. In step 6) you placed it in
>>the feature?
>>
>>Peter
>
>
>
>
Re: How to work with primary feature in workspace [message #30431 is a reply to message #29838] Tue, 13 May 2003 22:35 Go to previous message
Eclipse UserFriend
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
Previous Topic:Template plugin sample?
Next Topic:Projects with multiple CVS branches
Goto Forum:
  


Current Time: Fri Jul 18 00:26:09 EDT 2025

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

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

Back to the top