Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » How to setup local reader, getting message: missing CSpec source required by component type eclipse.
How to setup local reader, getting message: missing CSpec source required by component type eclipse. [message #625734] Wed, 22 September 2010 10:07 Go to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
I try to get the Texo/Teneo builds running on hudson.eclipse.org. One change is that I can't use cvs to import
plugins/features, I need to use a local reader.

I try to set it up but I get an error message (see below) which I don't understand. Here is my local reader def. in the
rmap:
<provider componentTypes="osgi.bundle" readerType="local" source="true" resolutionFilter="(cvs.location=local)">
<uri format="{1},org.eclipse.emf/org.eclipse.emf.texo/plugins/{0} ">
<bc:propertyRef key="buckminster.component" />
<bc:propertyRef key="cvs.repository"/>
</uri>
</provider>
and:
<provider componentTypes="eclipse.feature" readerType="local" source="true" mutable="false"
resolutionFilter="(cvs.location=local)">
<uri format=" {1},org.eclipse.emf/org.eclipse.emf.texo/features/{0}-featur e ">
<bc:propertyRef key="buckminster.component"/>
<bc:propertyRef key="cvs.repository"/>
</uri>
</provider>

The error (see below) talks about 'missing CSpec source required by component type eclipse.feature'. The feature has
this cspex file:
<?xml version="1.0" encoding="UTF-8"?>
<cspecExtension
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0"
xmlns="http://www.eclipse.org/buckminster/CSpec-1.0">
<dependencies>
<dependency name="org.eclipse.equinox.executable" componentType="eclipse.feature"/>
<dependency name="org.eclipse.platform" componentType="eclipse.feature"/>
<dependency name="org.apache.commons.logging" componentType="eclipse.feature" versionDesignator="[1.1.1,1.2.0]"/>
</dependencies>
</cspecExtension>

Here is the build output:

[java] org.eclipse.emf.texo.site:eclipse.feature: Using resolver rmap
[java] org.eclipse.emf.texo.site:eclipse.feature: Using resolver Local resolver
[java] org.eclipse.emf.texo.site:eclipse.feature: Trying provider local(materialized)
[java] No materialization found for org.eclipse.emf.texo.site:eclipse.feature
[java] org.eclipse.emf.texo.site:eclipse.feature: Trying provider local(workspace)
[java] No open workspace project found that corresponds to org.eclipse.emf.texo.site:eclipse.feature
[java] org.eclipse.emf.texo.site:eclipse.feature: Trying provider local(target)
[java] org.eclipse.emf.texo.site:eclipse.feature: Rejecting provider
eclipse.platform(feature/org.eclipse.emf.texo.site): No component match was found
[java] org.eclipse.emf.texo.site:eclipse.feature: Using resource map
file:/opt/public/jobs/emft-texo-nightly/workspace/org.eclips e.emf/org.eclipse.emf.texo/releng/org.eclipse.emf.texo.relen g.buckminster/build/texo.rmap
[java] org.eclipse.emf.texo.site:eclipse.feature: Using search path texo.releng
[java] org.eclipse.emf.texo.site:eclipse.feature: Filter (cvs.location=remote) does not match the current property set
[java] org.eclipse.emf.texo.site:eclipse.feature: Trying provider
local({1},org.eclipse.emf/org.eclipse.emf.texo/releng/{0}[/c vsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo/releng/ org.eclipse.emf.texo.site])
[java] org.eclipse.emf.texo.site:eclipse.feature: Rejecting provider
local({1},org.eclipse.emf/org.eclipse.emf.texo/releng/{0}[/c vsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo/releng/ org.eclipse.emf.texo.site]):
Components of type eclipse.feature are not supported
[java] org.eclipse.emf.texo.site:eclipse.feature: No provider was found that could resolve the request
[java] org.eclipse.emf.texo.site:eclipse.feature: Using search path texo.features
[java] org.eclipse.emf.texo.site:eclipse.feature: Filter (cvs.location=remote) does not match the current property set
[java] org.eclipse.emf.texo.site:eclipse.feature: Trying provider
local({1},org.eclipse.emf/org.eclipse.emf.texo/features/{0}- feature[/cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.te xo/features/org.eclipse.emf.texo.site-feature])
[java] org.eclipse.emf.texo.site:eclipse.feature: Found match
[java] org.eclipse.emf.texo.site:eclipse.feature: Using provider
local({1},org.eclipse.emf/org.eclipse.emf.texo/features/{0}- feature[/cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.te xo/features/org.eclipse.emf.texo.site-feature])
[java] org.eclipse.emf.texo.site:eclipse.feature: Resolution attempt ended with exception: Provider
local(/cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo /features/org.eclipse.emf.texo.site-feature): Missing CSpec
source required by component type eclipse.feature
[java] org.eclipse.emf.texo.site:eclipse.feature: Filter (cvs.location=remote) does not match the current property set
[java] org.eclipse.emf.texo.site:eclipse.feature: No provider was found that could resolve the request
[java] org.eclipse.emf.texo.site:eclipse.feature: Using search path texo.plugins
[java] org.eclipse.emf.texo.site:eclipse.feature: Filter (cvs.location=remote) does not match the current property set
[java] org.eclipse.emf.texo.site:eclipse.feature: Trying provider
local({1},org.eclipse.emf/org.eclipse.emf.texo/plugins/{0}[/ cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo/plugin s/org.eclipse.emf.texo.site])
[java] org.eclipse.emf.texo.site:eclipse.feature: Rejecting provider
local({1},org.eclipse.emf/org.eclipse.emf.texo/plugins/{0}[/ cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo/plugin s/org.eclipse.emf.texo.site]):
Components of type eclipse.feature are not supported
[java] org.eclipse.emf.texo.site:eclipse.feature: No provider was found that could resolve the request
[java] ERROR [0001] : No suitable provider for component org.eclipse.emf.texo.site:eclipse.feature was found in
resourceMap
file:/opt/public/jobs/emft-texo-nightly/workspace/org.eclips e.emf/org.eclipse.emf.texo/releng/org.eclipse.emf.texo.relen g.buckminster/build/texo.rmap
[java] ERROR [0001] : No suitable provider for component org.eclipse.emf.texo.site:eclipse.feature was found
in searchPath texo.releng
[java] ERROR [0001] : Rejecting provider
local({1},org.eclipse.emf/org.eclipse.emf.texo/releng/{0}[/c vsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo/releng/ org.eclipse.emf.texo.site]):
Components of type eclipse.feature are not supported
[java] ERROR [0001] : No suitable provider for component org.eclipse.emf.texo.site:eclipse.feature was found
in searchPath texo.features
[java] ERROR [0001] : Resolution attempt ended with exception: Provider
local(/cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo /features/org.eclipse.emf.texo.site-feature): Missing CSpec
source required by component type eclipse.feature
[java] ERROR Provider
local(/cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo /features/org.eclipse.emf.texo.site-feature): Missing CSpec
source required by component type eclipse.feature
[java] ERROR [0001] : No suitable provider for component org.eclipse.emf.texo.site:eclipse.feature was found
in searchPath texo.plugins
[java] ERROR [0001] : Rejecting provider
local({1},org.eclipse.emf/org.eclipse.emf.texo/plugins/{0}[/ cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo/plugin s/org.eclipse.emf.texo.site]):
Components of type eclipse.feature are not supported
[java] INFO: TAG-ID 0001 = Query for org.eclipse.emf.texo.site:eclipse.feature




--

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
Re: How to setup local reader, getting message: missing CSpec source required by component type ecli [message #626062 is a reply to message #625734] Wed, 22 September 2010 10:57 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Hi Martin,

the 'local' reader expects things to be in the filesystem.
Do I get this right that you want to use the local physical location of
the CVS to import your components?
First of all, I'm not so sure if that is a good idea, since a local
reader will not copy your material but import it into the workspace as a
linked location (AFAIK).
So if your user has write access, you could end up with 'bin' folders
and so on in the physical CVS location.

Second, since the 'local' reader works on the filesystem, your URI
definition seems to be incorrect to me:
{1},org.eclipse.emf/org.eclipse.emf.texo/plugins/{0}

You end up with file paths like the following:
/cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo/featu res/org.eclipse.emf.texo.site-feature

The ',' would probably need to be a '/' right?
But again, since the local reader does not copy resources, but only
imports them, this sounds like a very bad idea to me...

Best regards,
Johannes
Re: How to setup local reader, getting message: missing CSpec source required by component type ecli [message #626063 is a reply to message #626062] Wed, 22 September 2010 11:04 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Johannes,
Thanks, you are right about both issues! The problem is that I need to use local access to this location as cvs does not
seem to be possible... Is there a way to get the local reader to copy the resources?

gr. Martin

On 09/22/2010 12:57 PM, Johannes Utzig wrote:
> Hi Martin,
>
> the 'local' reader expects things to be in the filesystem.
> Do I get this right that you want to use the local physical location of
> the CVS to import your components?
> First of all, I'm not so sure if that is a good idea, since a local
> reader will not copy your material but import it into the workspace as a
> linked location (AFAIK).
> So if your user has write access, you could end up with 'bin' folders
> and so on in the physical CVS location.
>
> Second, since the 'local' reader works on the filesystem, your URI
> definition seems to be incorrect to me:
> {1},org.eclipse.emf/org.eclipse.emf.texo/plugins/{0}
>
> You end up with file paths like the following:
> /cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo/featu res/org.eclipse.emf.texo.site-feature
>
>
> The ',' would probably need to be a '/' right?
> But again, since the local reader does not copy resources, but only
> imports them, this sounds like a very bad idea to me...
>
> Best regards,
> Johannes


--

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
Re: How to setup local reader, getting message: missing CSpec source required by component type ecli [message #626494 is a reply to message #626063] Wed, 22 September 2010 15:22 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Am 22.09.2010 13:04, schrieb Martin Taal:
> The problem is that I need to use local access to this location as cvs
> does not seem to be possible... Is there a way to get the local reader
> to copy the resources?

Hi Martin,

I can think of a few alternatives:
1. I don't know if it's possible to access the local CVS in hudson, but
I don't see a reason why not, so you could simply have hudson do the
checkout and then use the local reader
2. You could add a build step in your job that executes prior to your
buckminster build step. This step copies the stuff from the CVS location
to your workspace (either ant script or shell script)
3. I think you could use a url-catalog reader instead of a local reader.
That should copy the files instead of just importing the projects
4. I'm not exactly a CVS specialist, so I'm not sure about this, but
wouldn't the pserver protocol scheme work if the client and the server
are located on the same host?


Best regards,
Johannes
Re: How to setup local reader, getting message: missing CSpec source required by component type ecli [message #629926 is a reply to message #625734] Thu, 30 September 2010 01:16 Go to previous message
Justin is currently offline JustinFriend
Messages: 7
Registered: September 2010
Junior Member
I just went through a similar change to my Hudson/Bucky build, which is based on the Teneo build. The answer for me was the reader type of "url.catalog" which works like the local reader, but copies the projects into your workspace, which keeps the working copies clean.

Justin
Previous Topic:Force p2 materializer to always create and activate a new target platform
Next Topic:P2 Repository can not be found
Goto Forum:
  


Current Time: Tue Mar 19 11:14:21 GMT 2024

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

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

Back to the top