Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Buckminster does not see the cspec file it seems
Buckminster does not see the cspec file it seems [message #511880] Wed, 03 February 2010 10:10 Go to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010600070001020703000804
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,
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).

--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org

--------------010600070001020703000804
Content-Type: text/xml;
name="buckminster.cspec"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="buckminster.cspec"

<?xml version="1.0" encoding="UTF-8"?>
<cs:cspec xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0" name="org.eclipse.emf.teneo.hibernate" componentType="buckminster" version="1.0.0">
<cs:dependencies>
<cs:dependency name="com.mysql.jdbc" componentType="eclipse.feature"/>
<cs:dependency name="org.hibernate" componentType="eclipse.feature"/>
<cs:dependency name="org.hsqldb" componentType="eclipse.feature"/>
<cs:dependency name="javax.persistence" componentType="eclipse.feature"/>
<cs:dependency name="org.dom4j" componentType="eclipse.feature"/>
<cs:dependency name="org.apache.commons.logging" componentType="eclipse.feature"/>
</cs:dependencies>
</cs:cspec>

--------------010600070001020703000804--
Re: Buckminster does not see the cspec file it seems [message #511888 is a reply to message #511880] Wed, 03 February 2010 10:50 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Martin,
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?

Regards,
Thomas Hallgren


On 02/03/2010 11:10 AM, Martin Taal wrote:
> Hi,
> 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).
>
Previous Topic:qualifier replacement not happening
Next Topic:Aggregator regenerate Maven2 Respoitory
Goto Forum:
  


Current Time: Tue Apr 16 18:15:24 GMT 2024

Powered by FUDForum. Page generated in 0.32161 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top