Use ant properties in a customized category.xml [message #630600] |
Mon, 04 October 2010 11:05 |
|
Hi all!
Some information about the project:
We use buckminster.cpex to manage the build actions. One of them is an
ant actor action which builds the p2 repository. This action have an
prerequisite site.p2. The definition looks like this:
<cs:public name="package.emft-mwe-Update" actor="ant">
<cs:actorProperties>
<cs:property key="buildFile" value="packaging.ant" />
<cs:property key="targets" value="package.site" />
</cs:actorProperties>
<cs:properties>
<cs:property key="package.name" value="emft-mwe-Update" />
</cs:properties>
<cs:prerequisites>
<cs:attribute name="site.p2" alias="repository" />
<cs:attribute name="site.tp" alias="target.platform.repository" />
</cs:prerequisites>
<cs:products alias="output" base="${buckminster.output}/zips/" />
</cs:public>
The packaging.ant script calculates a property "package.qualifier" it
can be a build alias or build id. This property should be used as part
of the category-def name in our category.xml :
<category-def name="mwe${package.qualifier}" label="EMFT MWE
${package.qualifier}">
<description>
EMFT Modeling Workflow Engine (MWE)
</description>
</category-def>
So my question is how to pass the package.qualifier property to site.p2
action?
Best regards,
Dennis.
+Dennis Huebner
Get professional support from the Xtext committers at www.typefox.io
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03911 seconds