[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] several plugins locations in one product configuration?

Hi all,

is it possible to specify several plugins locations in one product configuration?

more details:

I have RCP with several products installed:

--
<eclipse>
  config_A/
    config.ini
  config_B/
    config.ini
  plugins/
    plugin_Aa/...
    plugin_Ab/...
    plugin_Ba/...
    ...
    rcp plugins
--

Each product is launched as 'eclipse -configuration config_#',
application ids are set in config.ini files, and update.configurator
is used to find installed bundles:

osgi.bundles=...\
  org.eclipse.equinox.common@2:start,\
  org.eclipse.update.configurator@3:start,\
  org.eclipse.core.runtime@start,\
  ...

(We have target RCP platforms for different platforms => there are platform-dependent bundles like SWT; that's why we use update configurator rather than exact list of bundles.)

Applications work fine. The only problem is that _all_ the plugins are resolved by the update configurator; thus, some extensions defined for product_A are visible in product_B. E.g., extra help topics may be visible, extra menu items may appear, etc.

Is it possible to specify several plugin locations for update configurator, e.g., use the following structure:

<eclipse>
  config_A/
    config.ini
  config_B/
    config.ini
  plugins_rcp/
    rcp plugins
    help plugins
  plugins_A
    plugin_Aa/...
    plugin_Ab/...
  plugins_B
    plugin_Ba/...
    ...

thanks
/Sergey