Skip to content

Settings

Beat Strasser edited this page Aug 25, 2016 · 5 revisions

You may configuring your Version Tiger either in the CLI mode (Command Line Tool) via a respecting command line operation (see the setting command in Batch File Usage), or in the Eclipse plugin mode in the Eclipse preferences. For this purpose open the menu 'Window -> Preferences' and go to the 'Version Tiger' entry.

Note that the settings in the dialog only hold for the Eclipse plugin of the software. The CLI version (Command Line Tool) has to be set up with the respective command line operation.

OSGI version qualifiers

When using the qualifierForSnapshotDistinction strategy (which is the default), version tiger follows the Tycho convention meaning OSGi versions have the suffix '.qualifier' for snapshots. On release versions, there is no such suffix present.

However, Version Tiger allows you to set custom version suffices (so called qualifiers) individually for snapshot and release versions. Enter the desired values in the text fields.

When using the other strategy suffixToQualifier, version tiger uses the maven suffix (e.g. 1.2.3.Suffix) for the OSGi qualifier.

Dependency version range changes

Allows to set the strategy how dependency ranges are updated in manifests (in Require-Bundle and Fragment-Host headers). By default, an adaptive strategy is chosen that tries to keep the version range (keep a major/minor/bugfix range).

  • adaptive (default): Detects if the range currently allows major, minor or bugfix changes and adapts the range accordingly.
  • bugfix: Sets the upper bound to the next bugfix version (exclusive) and sets the lower bound to the new version (inclusive).
  • major: Sets the upper bound to the next major version (exclusive) and sets the lower bound to the new version (inclusive).
  • minor: Sets the upper bound to the next minor version (exclusive) and sets the lower bound to the new version (inclusive).
  • nochange: Does not change the version range.
  • strict: Sets the lower and upper bound to the new version (inclusive qualifiers).
  • uppertobugfix: Sets the upper bound to the next bugfix version (exclusive) and leaves the lower bound as it is.
  • uppertomajor: Sets the upper bound to the next major version (exclusive) and leaves the lower bound as it is.
  • uppertominor: Sets the upper bound to the next minor version (exclusive) and leaves the lower bound as it is.

Clone this wiki locally