Eclipse bundles and features have version numbers of the form major.minor.micro.qualifier. The qualifier
segment of the version is often used to indicated a specific
build. If you set your feature or plug-in version qualifier to
"qualifier" (i.e. a version of 1.0.0.qualifier),
then PDE build
will
automatically replace the word "qualifier" with a generated qualifier.
A feature or plug-in can control its qualifier by setting the property "qualifier" in its build.properties file. There are are a couple of different cases for the value of this property:
qualifier = none | Sets the qualifier to be empty. (i.e. "1.2.3.qualifier" becomes "1.2.3") |
qualifier = context | Sets the qualifier to be the context qualifier. See below for the value of the context qualifier. |
not set | If the "qualifier" property is not set, this is equivalent to setting qualifier = context. |
qualifier = v12345 | Any other value sets the qualifier to be that value. |
Occasionally there may be custom build steps that may require the actual final version used in the build. When the property generateVersionsLists is set, PDE Build will generate properties files containing the versions of the features and plug-ins that were built. These properties files can be loaded using the ant property task.
The files are named: finalPluginsVersions.properties, finalPluginsVersions.<config>.properties, finalFeaturesVersions.properties, and finalFeaturesVersions.<config>.properties. finalPluginsVersions.properties and finalFeaturesVersions.properties contain the versions for all of the plug-ins and features that were built. The <config> properties files contain the versions of plug-ins and features for specific build configurations.
The properties in these files have the form:
<bundleSymbolicName> = <version>If more than one versions of a plug-in or feature exists, then <bundleSymbolicName>=<version> refers to the plug-in or feature with the highest version. Example:
<bundleSymbolicName>_<first 3 segments of version> = <version>
org.eclipse.pde.build = 3.3.0.v20070524
org.eclipse.pde.build_3.3.0=3.3.0.v20070524
org.eclipse.pde.build_3.2.1=3.2.1.r321_v20060823