Skip to content

Launching: 'Include required Plug-ins automatically while launching' should include fragments like when pressing the 'Select Required' buttonΒ #1929

@sratz

Description

@sratz

In the launch config dialog,

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions