[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: Features and the AboutDialog...
|
- From: Daniel Krügler <dsp@xxxxxxx>
- Date: Wed, 23 Nov 2005 14:32:12 +0100
- Newsgroups: eclipse.platform.rcp
- Organization: EclipseCorner
- User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
Phill_Perryman@xxxxxxxxx wrote:
I have just been playing with my first rcp app and noticed that the
feature button was there (3.1.1).
When I click it only one (out of the two) feature was displaying.
I did a compare and found the one not displaying did not have the
branding plugin specified.
I entered the branding plugin and it duly appeared. Next problem was I
assumed it wanted my "branding plugin" as the rcp book says but having
put this one in
I find both entries have the same description (namely the one from the
branding plugin).
I changed the branding plugin from the feature.xml to be the main plugin
from the feature and now all is well.
Thank you very much for your ideas, but if I understand you correctly,
I did the same and I also have 3.1.1. I don't understand your difference
between branding-plugin and "main plugin". In my case the branding
plugin contains the .product file, the
org.eclipse.core.runtime.applications ext. pt. and the
org.eclipse.core.runtime.products ext. pt. I have exactly one feature at
the moment, its xml starts like this:
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="myclient.ui"
label="%featureName"
version="1.0.0"
provider-name="%providerName"
plugin="myclient.ui"
os="win32"
ws="win32">
...
and I also have the branding plugin, its manifest starting with this:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %plugin-name
Bundle-SymbolicName: myclient.ui; singleton:=true
...
so indeed feature id and feature plugin point to the branding plugin.
Also note that my .product file looks like that:
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.1"?>
<product name="%product-name" id="myclient.ui.ide"
application="myclient.ui.that_app" useFeatures="true">
...
<features>
<feature id="myclient.ui" version="1.0.0"/>
</features>
</product>
thus it correctly references the one and only one feature I have
and is based on features.
What is the difference to yours?
Greetings,
Daniel