Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
At the moment qpid version suffix is set in qpidversion.properties which is generated on qpid-common build. As result, any client based on apache qpid-common cannot set the suffix without repackaging qpid-common and modifying qpidversion.properties. We need to introduce a way to set and override Qpid client version suffix in external client builds in order to differentiate apache and external qpid client and broker builds
The following approach can be implemented:
- Move the public API from QpidProperties into CommonProperties and call CommonProperties everywhere where QpidProperties is called at the moment. Remove QpidProperties class.
- qpidversion.properties will be loaded as part of of initialization CommonProperties together with loading of qpid-common.properties. Later we will load change the code to get build specific information from jar Manifest.
- Version suffix can be set in qpid-common.properties and corresponding release version field can be set to have version suffix loaded from qpid-common.properties