[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.buckminster] How to include component version with an action path

Hi,

I'm adding an action to a feature component, via a cspex, that generates a product archive, much like the mailapp tutorial. I want the archive name to include version and platform information. I've got the following so far which adds the platform information.

<cs:public name="product.install.archive" actor="ant">
<cs:actorProperties>
<cs:property key="buildFile" value="build/product.ant"/>
<cs:property key="targets" value="product.install.archive"/>
</cs:actorProperties>
<cs:prerequisites alias="action.input">
<cs:attribute name="product.install"/>
</cs:prerequisites>
<cs:products alias="action.output" base="${buckminster.output}/">
<cs:path path="MailApp.${target.os}.${target.ws}.${target.arch}.zip"/>
</cs:products>
</cs:public>


Is this a good approach? I've gotten stuck now because I can't find a property for the version of the component. I want the complete version number with substituted qualifier.

Thanks,
Tas