On Wed, Jan 25, 2012 at 12:23 AM, Kasemir, Kay <
[email protected]<mailto:
[email protected]>> wrote:
>I checked in Help, About, Installation Details, Plug-Ins:
>org.csstudio.platform.libs.epics.ui - does NOT show up
>org.csstudio.ui.preferences - does show up
OK, so that explains why you don't have the 'EPICS'
section in the preference GUI.
So now the Q is: Why isn't it included?
>Plugin.xml looks exactly how you described!
>Silly question: how to check the dependencies?
If your product is assembled from features,
one one such feature includes some plugin like
org.csstudio.platform.libs.epics.ui,
then that plugin should be in the product.
Except if that plugin depends on other plugins,
which are missing from the product.
When you open the META-INF/MANIFEST.MF, you'll
see "Require-Bundle: ..." entries in there.
Also displayed in the "Dependencies" tab
of the editor for plugin.xml and MANIFEST.MF.
To get a plugin into a product, all its dependencies
need to be included as well.
When you build your product directly based on a list
of plugins, without features, there's a "add dependencies"
button in the plugin editor that automatically adds
all dependencies.
When you build your product based on features, there's
no such button because the system cannot automatically determine
in which feature you would like to add the missing plugins.
Besides, the pure dependencies are not all:
Many tools depend on org.csstudio.utility.pv to get the API
for PV support. It's up to you to also include either
org.csstudio.utility.pv.epics to access EPICS PVs,
or org.csstudio.utility.simu to access simulated PVs,
or both.
So beyond the "required" plugins you may really need additional
ones to get the product to do what you want.
But back to org.csstudio.platform.libs.epics.ui not loading,
that probably means you are missing some required dependency.
When running the product from within the Eclipse IDE,
you can use the Run Configurations/Plug-Ins/Validate Plug-Ins button.
See also
http://cs-studio.sourceforge.net/docbook/, chapter "Site-Specific
Products",
section "Fix Dependencies".
-Kay
--
Best regards,
Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia
Mobile: +7 (951) 672 22 19
Phone: +7 (812) 461 01 01