cquery with property expansion? [message #556480] |
Wed, 01 September 2010 14:12 |
Eclipse User |
|
|
|
Originally posted by: dhendriksREMOVE_THIS.tueREMOVE.THIS.nl
Hello all,
in my .cquery, I have:
<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery
xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0"
resourceMap="cif2.rmap">
<cq:advisorNode namePattern="^nl\.tue\..*$"
componentType="osgi.bundle" branchTagPath="${cquery.branch.path}"/>
</cq:componentQuery>
I resolve it in headless mode, using:
buckminster import -Dcquery.branch.path=buckminster-41-2 all-projects.cquery
However, the ${cquery.branch.path} property does not seem to get
expanded. I get this kind of errors:
nl.tue.cif.site:eclipse.feature/[1.0.0,1.0.0]: Branch buckminster-41-2
rejected: not in path '${cquery.branch.path}'
Is property expansion in cqueries not supported?
Thanks,
Dennis
|
|
|
|
|
|
Re: cquery with property expansion? [message #556610 is a reply to message #556482] |
Thu, 02 September 2010 06:20 |
Eclipse User |
|
|
|
Originally posted by: dhendriksREMOVE_THIS.tueREMOVE.THIS.nl
Hello Tomsen,
I think you misunderstood.
buckminster import -Dcquery.branch.path=buckminster-41-2
all-projects.cquery
is interpreted by the Linux shell as:
buckminster import "-Dcquery.branch.path=buckminster-41-2"
"all-projects.cquery"
which is OK, as the cquery.branch.path property should equal
buckminster-41-2, and the all-projects.cquery is a different parameter.
The interpretation is OK, however, the property is not used in the
advisor nodes. That is the issue.
Thanks,
Dennis
Tomsen wrote:
> Try enclosing in quotes as in
>
> buckminster import -Dcquery.branch.path="buckminster-41-2
> all-projects.cquery"
>
>
> Does this path really contain the space?
>
> regards tomsen
|
|
|
Powered by
FUDForum. Page generated in 0.05023 seconds