|
Re: Pulling components from CVS branch [message #379841 is a reply to message #379839] |
Wed, 27 August 2008 13:31 |
|
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 |
Roland Tepp 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 |
|
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:
|
|
|
Powered by
FUDForum. Page generated in 0.02968 seconds