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 |
Martin Taal 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 |
Johannes Utzig 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 |
Martin Taal 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
|
|
| | |
Goto Forum:
Current Time: Tue Mar 19 07:54:30 GMT 2024
Powered by FUDForum. Page generated in 0.03187 seconds
|