|Re: Buckminster does not see the cspec file it seems [message #511888 is a reply to message #511880]
||Wed, 03 February 2010 10:50
|| Thomas Hallgren
Registered: July 2009
The cspec is only intended to be used when the meta-information cannot be derived in other ways. Buckminster
specifically will not look for a cspec if it finds a feature or a bundle since all information can be derived from other
artifacts (i.e. feature.xml, manifest.mf, etc.).
In some cases it is desirable to alter the information that can be derived. If that is what you want, then you should
use a cspec extension, i.e. a cspex file (with top element cspecExtension).
If your releng project is not a feature, then a 'buckminster.cspec' placed in the root folder should be read by
Buckminster. You need to make sure that the RMAP provider has declared 'buckminster' as one of its componentTypes.
The name in the cspec should normally be the same as the name of the project. The cspec you sent me has the name
"org.eclipse.emf.teneo.hibernate" which effectively names the component. It doesn't sound like the name of a releng
component. Perhaps that's the problem?
On 02/03/2010 11:10 AM, Martin Taal wrote:
> Some of the plugins I build use import packages. So to make sure that
> the plugins, exporting these packages, are there I need to use a cspec
> file, is that indeed the best way?
> I tried this but it seems that buckminster does not see the cspec file
> (see attachment).
> I have a separate buckminster.releng project which contains the
> buckminster.properties and rmap (etc) files. This buckminster.releng
> project is the main container of the features to build (is that wise?).
> I have placed the cspec file (see attachment) in this project and I have
> also tried placing it in the feature being build. But it does not seem
> to be picked up (the dependencies are not downloaded to the target
> platform, neither are there any resolving errors).
> Should I put it somewhere else? Or is my format maybe wrong?
> I am using buckminster 3.6 (downloaded it last week thursday).
Powered by FUDForum
. Page generated in 0.04248 seconds