In the launch config dialog,
the set of bundles included when [x] Include required Plug-ins automatically while launching is checked does not include fragments:
|
DependencyManager.Options[] options = includeOptional // |
|
? new DependencyManager.Options[] {DependencyManager.Options.INCLUDE_OPTIONAL_DEPENDENCIES} |
|
: new DependencyManager.Options[] {}; |
But when pressing the Select Required button, fragments are included:
|
DependencyManager.Options[] options = fIncludeOptionalButton.getSelection() |
|
? new Options[] { Options.INCLUDE_NON_TEST_FRAGMENTS, Options.INCLUDE_OPTIONAL_DEPENDENCIES } |
|
: new Options[] { Options.INCLUDE_NON_TEST_FRAGMENTS }; |
This is confusing.
And especially, since the recent changes in #1852, that made the default 'The plugin of the Test', this has become fragile, because now needed fragments might be missing and the test may not launch at all.
My proposal would be to make [x] Include required Plug-ins automatically while launching behave like the Select Required button, and include fragments.