|How to generate a sdk feature? [message #512631]
||Fri, 05 February 2010 12:00
| Martin Taal
Registered: July 2009
Is there a specific way to generate a sdk feature which contains both the source and runtime?
I can add the feature id's of the to-be generated source features in the overall feature.xml, but I guess that would
fail cause the source features are generated when building the site and not present earlier.
I searched the newsgroup and only found this reference (from april last year, so maybe it is easier/different now):
> 2) Alternatively, I'd also like to include a (generated) source feature in another feature. For example, my "SDK"
feature should not only contain the binary features, but also the sources. A user installing the SDK feature would then
automatically get the sources, too. Is that possible?
Yes, but I think it requires a buckminster.cspex that removes the dependency to the source feature. It will be included
in the build anyway due to attributes that references the source feature generation in the original feature. Not optimal
and room for improvements of course, I just haven't gotten that far yet.
With Regards, Martin Taal
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: firstname.lastname@example.org - email@example.com
Web: www.springsite.com - www.elver.org