Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » how to get version qualifier value in ant
how to get version qualifier value in ant [message #550150] Thu, 29 July 2010 10:11 Go to next message
Vlastimil Dolejs is currently offline Vlastimil DolejsFriend
Messages: 6
Registered: July 2010
Junior Member
Hi,
I would like to get actual value of version qualifier that buckminster used to replace .qualifier in build.
I need this because I want instrument builded plugin with cobertura and I dont know plugins file name.

I thought there could be some property like ${version.qualifier}, but I can't find anything.

Thanks
Re: how to get version qualifier value in ant [message #550567 is a reply to message #550150] Fri, 30 July 2010 20:16 Go to previous messageGo to next message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 561
Registered: November 2009
Senior Member
I am too interested in knowing how getting version qualifier value.
Re: how to get version qualifier value in ant [message #550573 is a reply to message #550150] Fri, 30 July 2010 20:49 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
This is described in the BuckyBook - see the reference section on
Buckminster ant tasks.

- henrik

On 7/29/10 12:11 PM, Vlastimil Dolejs wrote:
> Hi,
> I would like to get actual value of version qualifier that buckminster
> used to replace .qualifier in build.
> I need this because I want instrument builded plugin with cobertura and
> I dont know plugins file name.
>
> I thought there could be some property like ${version.qualifier}, but I
> can't find anything.
>
> Thanks
Re: how to get version qualifier value in ant [message #550584 is a reply to message #550573] Fri, 30 July 2010 22:24 Go to previous messageGo to next message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 561
Registered: November 2009
Senior Member
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
Re: how to get version qualifier value in ant [message #550608 is a reply to message #550584] Sat, 31 July 2010 09:18 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
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
>
Re: how to get version qualifier value in ant [message #550934 is a reply to message #550608] Wed, 04 August 2010 16:11 Go to previous message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 561
Registered: November 2009
Senior Member
Thanks Thomas,

I opened enhancement https://bugs.eclipse.org/bugs/show_bug.cgi?id=321753

thanks,
Alex
Previous Topic:NullPointerException while building Eclipse product
Next Topic:Using Buckminster 3.6 in Hudson
Goto Forum:
  


Current Time: Wed Apr 24 14:17:32 GMT 2024

Powered by FUDForum. Page generated in 0.04096 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top