|Generators and versions [message #557002]
||Fri, 03 September 2010 11:04
| Carsten Reckord
Registered: July 2009
I am experimenting with generator elements in my buckminster components, and so far failing miserably. My goal is to integrate an NSIS
installer build into our existing buckminster RCP build. The installer requires a JRE and my idea was to provide that as a generated
component with a version matching the JRE version, so I can just depend on i.e. com.sun.jre[1.5.0,1.6.0) in my installer component to use
buckminster's resolution mechanism to pick up the best JRE available.
My setup is
com.yattasolutions.umllab.rcp - the product feature containing the feature based product definition and the buckminster RCP build action
com.yattasolutions.umllab.installer - installer build, depends on rcp and com.sun.jre:
<cs:dependency name="com.yattasolutions.umllab.rcp" componentType="eclipse.feature"/>
com.yattasolutions.releng - buckminster project defining the generators and depending on installer:
<cs:dependency name="com.yattasolutions.umllab.installer" componentType="buckminster"/>
<cs:generator generates="com.sun.jre" attribute="sun-jre-188.8.131.52-win32-x64" generatesType="unknown" generatesVersion="184.108.40.206"/>
<cs:generator generates="com.sun.jre" attribute="sun-jre-220.127.116.11-win32-x64" generatesType="unknown" generatesVersion="18.104.22.168"/>
At first I ran into a bit of trouble with versions in the generators (see bug #323853). I fixed those locally and still couldn't get it
working, so I tried just one generator component and no versions. But still no dice:
Resolving the query for com.yattasolutions.releng gives me "A selected specification is unresolved" and a yellow
com.sun.jre:unknown:generated. The resulting BOM has this:
<md:generatorNode declaringCSpecId="e8d57ac5-ead9-3a1b-9142-2bc3eefd7e18" attribute="sun-jre-22.214.171.124-win32-x64"
Any idea what goes wrong there? Is there maybe a working example out there using generators to look at and experiment with?
Powered by FUDForum
. Page generated in 0.11126 seconds