Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Pulling components from CVS branch
Pulling components from CVS branch [message #379839] Wed, 27 August 2008 12:26 Go to next message
Roland Tepp is currently offline Roland TeppFriend
Messages: 336
Registered: July 2009
Senior Member
Hello,

How do I set up an RMap to fetch certain version of the component from a
cvs branch?

I suppose this is something to be specified in url element, but how?

--
Roland Tepp
Re: Pulling components from CVS branch [message #379841 is a reply to message #379839] Wed, 27 August 2008 13:31 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Roland,
No, you don't specify this in the URL. You specify it using a "Branch/Tag path" in the
CQUERY advisor node or, if you use branches to denote explicit versions, using a version
designator in the provider element of the RMAP.

The most common case is to use a CQUERY with one advisor node that matches the pattern
".*" (i.e. all components) and in that node, you would specify the designated branch under
"Selection Criteria" -> "Branch/Tag path". In this path tags are preceded with a '/' while
branches are entered verbatim.

Regards,
Thomas Hallgren


Roland Tepp wrote:
> Hello,
>
> How do I set up an RMap to fetch certain version of the component from a
> cvs branch?
>
> I suppose this is something to be specified in url element, but how?
>
Re: Pulling components from CVS branch [message #379846 is a reply to message #379841] Thu, 28 August 2008 09:59 Go to previous messageGo to next message
Roland Tepp is currently offline Roland TeppFriend
Messages: 336
Registered: July 2009
Senior Member
Like this?

<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery
xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0"
resourceMap="path.to.rmap">
<cq:rootRequest name="commons" componentType="buckminster"
versionDesignator="[1.3.2,1.3.2]"
versionType="Triplet"/>
<cq:advisorNode namePattern=".*" branchTagPath="v1_3_2"/>
</cq:componentQuery>


Thomas Hallgren kirjutas mulle midagi seesugust:
--
> Hi Roland,
> No, you don't specify this in the URL. You specify it using a
> "Branch/Tag path" in the CQUERY advisor node or, if you use branches to
> denote explicit versions, using a version designator in the provider
> element of the RMAP.
>
> The most common case is to use a CQUERY with one advisor node that
> matches the pattern ".*" (i.e. all components) and in that node, you
> would specify the designated branch under "Selection Criteria" ->
> "Branch/Tag path". In this path tags are preceded with a '/' while
> branches are entered verbatim.
>
> Regards,
> Thomas Hallgren
>
>
> Roland Tepp wrote:
>> Hello,
>>
>> How do I set up an RMap to fetch certain version of the component from
>> a cvs branch?
>>
>> I suppose this is something to be specified in url element, but how?
>>

--
Roland Tepp
Re: Pulling components from CVS branch [message #379848 is a reply to message #379846] Thu, 28 August 2008 10:37 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Yes, that looks correct. This will pull things from the v1_3_2 branch.

Regards,
Thomas Hallgren

Roland Tepp wrote:
> Like this?
>
> <?xml version="1.0" encoding="UTF-8"?>
> <cq:componentQuery
> xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0"
> resourceMap="path.to.rmap">
> <cq:rootRequest name="commons" componentType="buckminster"
> versionDesignator="[1.3.2,1.3.2]"
> versionType="Triplet"/>
> <cq:advisorNode namePattern=".*" branchTagPath="v1_3_2"/>
> </cq:componentQuery>
>
>
> Thomas Hallgren kirjutas mulle midagi seesugust:
Previous Topic:Resolution filters
Next Topic:Relative paths in RMAP redirects
Goto Forum:
  


Current Time: Fri Apr 26 03:16:13 GMT 2024

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

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

Back to the top