Setup-Eclipse/Dynamic working sets

From Eclipsepedia

Jump to: navigation, search

Contents

Description

Dynamic working sets is another way to define working sets. Instead of clicking together the projects belonging to a working set, the working sets are defined with a set of rules. For example you can define that projects will belong to a working set if their name matches a specific pattern. In addition to the name, it is possible to define predicate that work on the project nature, on the project builder, on the presence of a specific file with a specific content. There is also a set of logical operator predicates (and, or, not…) to combine different predicate together.

Dynamic Working Set Preferences Editor.png

Dynamic working sets can be used as part of the Setup-Eclipse tools or standalone.

Download/Installation

The easiest way to install the "Dynamic working sets" feature is to use the CDO P2 Update site.

Copy the "Composite Update Site" url corresponding to the version you want to install from the CDO download page. To find the correct feature you can add the filter "Dynamic working sets".

Install Dynamic Working Sets.png

User manual

You can define your dynamic working sets in the preferences: Release Engineering > Dynamic Working Sets. Click on the "Edit..." button.

Predicates

  • Exclusion/Inclusion predicate
  • Name predicate
  • Repository predicate
  • Nature predicate
  • Builder predicate
  • File predicate

Logical operators:

  • And predicate
  • Or predicate
  • Not predicate

Eclipse Project

Dynamic working sets is part of the Eclipse project: CDO.

Get in touch

Bugtraker

Eclipse Bugzilla:

  • Product=EMF
  • Component=CDO.releng.

License

Eclipse Public License (EPL) v1.0

Alternative

Query Workingsets (based on DynamicWorkingSets) seems to achieve a similar goal but using another approach (new types of working set are introduced).

See also