version qualifier replacement in product configuration [message #491402] |
Wed, 14 October 2009 12:59 |
Alex Chatziparaskewas Messages: 52 Registered: July 2009 |
Member |
|
|
Hi
All of our bundles, features, fragments, product definitions contain this 'qualifier' appendix to their 'x.y.z' version number or when they reference an artifact. If now a buckminster build is done, this qualifier is replaced by the appropriate chosen strategy - SVN revision, timestamp - everywhere. This seems to work everywhere BUT for product definitions.
In order to run a (feature based) product definition in the IDE, the dependent features must be specified with their specific version, e.g. 1.0.0.qualifier. Otherwise the product simply cannot be started inside the IDE. Now, after building (buckminister) and deployment (p2 director) the 1.0.0.qualifiers are not replaced in the product definition and of course now it does not run outside the IDE.
Regards
Alex
PS: Currently, I cannot provide a test case ... computer crashed
|
|
|
Re: version qualifier replacement in product configuration [message #491414 is a reply to message #491402] |
Wed, 14 October 2009 13:17 |
|
Hi Alex,
A way around this is to avoid specifying ID and Version in the product definition file. Just leave them blank. Let the
product be feature based and use exactly one feature (typically, let the .product definition live in the feature that it
points to). The expanded version is then picked from that one feature.
Regards,
Thomas Hallgren
On 10/14/2009 02:59 PM, Alex Chatziparaskewas wrote:
> Hi
>
> All of our bundles, features, fragments, product definitions contain
> this 'qualifier' appendix to their 'x.y.z' version number or when they
> reference an artifact. If now a buckminster build is done, this
> qualifier is replaced by the appropriate chosen strategy - SVN revision,
> timestamp - everywhere. This seems to work everywhere BUT for product
> definitions.
>
> In order to run a (feature based) product definition in the IDE, the
> dependent features must be specified with their specific version, e.g.
> 1.0.0.qualifier. Otherwise the product simply cannot be started inside
> the IDE. Now, after building (buckminister) and deployment (p2 director)
> the 1.0.0.qualifiers are not replaced in the product definition and of
> course now it does not run outside the IDE.
>
> Regards
> Alex
>
> PS: Currently, I cannot provide a test case ... computer crashed
|
|
|
|
Powered by
FUDForum. Page generated in 0.02756 seconds