[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [buckminster-dev] CSPEC Location
|
Hi Evan,
The 'componentTypes' attribute tells Buckminster what the provider
should expect in the components that it finds. In your case, you have
specificed three possible types: "osgi.bundle,eclipse.feature,buckminster"
The 'osgi.bundle' component type assumes that meta-data can be found in
files like META-INF/MANIFEST.MF, plugin.xml, or fragment.xml. The
eclipse.feature will look for the 'eclipse.xml' file. The 'buckminster'
type looks for the 'buckminster.cspec.
If none of these files are present in the component, a provider with
your setting for the 'componentTypes' attribute will fail.
If you don't have any meta-data at all and if you are happy using the
project name as the component name, then you can use
componentTypes="unknown"
How are your components structured? Do they have any meta-data that
describes things like name, version, and dependencies? If it does, and
if Buckminster has no component type that recognizes it, such a type is
fairly easy to add.
Regards,
Thomas Hallgren
brodericke wrote:
Hi All,
I just started playing around with buckminster today and I was wondering if
someone could answer a couple questions for me.
I've been trying to create a cquery and rmap for a project which lives in
our cvs repository. Here's my provider configuration:
<provider
readerType="cvs"
componentTypes="osgi.bundle,eclipse.feature,buckminster"
source="true" mutable="false">
<uri format=":pserver:brodericke:*****@********:/opt/cvsroot,{0}">
<bc:propertyRef key="buckminster.component" />
</uri>
</provider>
It seems to me like I'm only able to materialize my cquery when there is a
cspec file in the root of my project in cvs. When I take out the cspec file,
I see errors like:
ERROR [0001] : No suitable provider for component
buckminster_project:buckminster was found in searchPath default
ERROR [0001] : Provider
cvs(:pserver:brodericke:*****@********:/opt/cvsroot,buckminster_project): No
match found for component buckminster_project
Is this observation correct or am I just missing something? Do I need to
have a cspec file checked in under the root of my project in cvs? If that's
true, is there any way to point buckminster to a cspec file that's located
somewhere else?
Thanks,
Evan