|
|
|
|
Re: how to get version qualifier value in ant [message #550608 is a reply to message #550584] |
Sat, 31 July 2010 09:18 |
|
Hi Alex,
The ant task is not normally used by the Buckminster site.p2 action so
I'm afraid the property in question is a bit hart do obtain. You can of
course use an ant task of your own and call it explicitly but that will
duplicate several actions and give a lot of overhead.
I suggest you enter an enhancement request where you explain your
use-case and add a proposal for how this would work to best your needs.
I imagine that the change needed in Buckminster to make the property
available in a uniform way is fairly trivial.
Regards,
Thomas Hallgren
On 07/31/2010 12:24 AM, Alex wrote:
> I tried to use buckminster.versionQualifier, however in description it says
>
> The task performs substitution as directed by properties. One set of
> properties control strategy selection given a component name, and one
> set controls the revision and timestamp formats
>
> but I just want to get result when this task was performed, not run the
> version qualifier calculation.
>
> In task attributes section it says
>
> property=«name» The name of the property that will receive the result.
>
> So if buckminster.versionQualifier is used to generate qualifier
> replacement somewhere (may be in site.p2.zip action when zip file is
> generated with qualifier revision) and property that is passed to this
> ant task, can't I just use this property to get replacement that was
> generated, and if so what is that property's name?
>
> thanks,
> Alex
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04096 seconds