Eclipse RCP: how to export startup configuration plugins?

Note. . This is not a duplicate of the issue of problems with exporting the product: I can already successfully export both in gui and without headless pde build.

I am developing an RCP application on eclipse Indigo (3.7), which is in the final stages before release. The branding product in its own plugin is function-based and includes:

  • The main function of myapp (and unique)
  • org.eclipse.rcp
  • org.eclipse.equinox.p2.feature
  • org.eclipse.help

The main function collects (includes) all the plugins that make up the application, plus the minimum required set of plugins from the org.eclipse.rcp and org.eclipse.equinox.p2 functions; it depends on the plugins needed for self-learning p2, and the minimum set of platform plugins needed to run my application.

Then I had to add translations and added an eclipse-babel snapshot to the target.

In this situation:

  • I am synchronizing the product
  • I am launching a product creating a new launch configuration
    • → Only some parts of the graphical interface are translated.
  • I open the launch configuration - the plugins tab - and click "add necessary plugins"
  • The number of plugins included is increasing (from about 130 to about 180)
    • → now when I launch the application, everything is translated

Therefore, I had to manually copy the fragments included in the launch after clicking "select required" to enable this function (only fragments containing the translation, in fact). This fixed it.

Question: Is there a way to export the list of plugins currently selected in the launch configuration? or any other method that synchronizes what is included in the launch configuration with what is included in this function (not vice versa)?

+4
source share
1 answer

File->Export->Launch Configuration not working for you?

+2
source

Source: https://habr.com/ru/post/1435453/


All Articles