Missing CSpec source required by component type osgi.bundle [message #647716] |
Fri, 07 January 2011 19:05  |
Eclipse User |
|
|
|
I am following the tutorial http://www.ralfebert.de/blog/eclipsercp/rcp_builds I got the code to build inside of Eclipse. Now I'm trying to get it to run on disk. ( I eventually will get it building in a CI system, not Hudson). So I exported the code to a disk location.
Here is my cquery:
<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="site.rmap">
<cq:rootRequest name="com.example.mail.site" componentType="osgi.bundle"/>
</cq:componentQuery>
and my rmap:
<?xml version="1.0" encoding="UTF-8"?>
<rmap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.eclipse.org/buckminster/RMap-1.0"
xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0" xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
xmlns:pp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0">
<searchPath name="resources">
<provider readerType="local" componentTypes="osgi.bundle,eclipse.feature"
mutable="true" source="true">
<uri format="file:{0}/{1}">
<bc:propertyRef key="workspace.root" />
<bc:propertyRef key="buckminster.component" />
</uri>
</provider>
</searchPath>
<locator searchPathRef="resources" />
</rmap>
here is my script file I pass to Buckminster:
clean
importtargetdefinition -A com.example.mail.site/rcp.target
import --continueonerror com.example.mail.site/site.cquery
build
I run Buckminster in the parent directory of all of the plugins/features. Here is what I get when I run Buckminster:
~/wip/mail$ ../buckminster/buckminster --loglevel INFO --scriptfile mail.buckminster.commands -data buckWs
INFO: clean
INFO: importtargetdefinition '-A' 'com.example.mail.site/rcp.target'
INFO: import '--continueonerror' 'com.example.mail.site/site.cquery'
ERROR [0001] : No suitable provider for component com.example.mail.site:osgi.bundle was found in resourceMap file:/usr/local/google/home/mrrussell/wip/mail/com.example.m ail.site/site.rmap
ERROR [0001] : No suitable provider for component com.example.mail.site:osgi.bundle was found in searchPath resources
ERROR [0001] : Resolution attempt ended with exception: Provider local(file:/usr/local/google/home/mrrussell/wip/mail/buckWs/ com.example.mail.site): Missing CSpec source required by component type osgi.bundle
ERROR Provider local(file:/usr/local/google/home/mrrussell/wip/mail/buckWs/ com.example.mail.site): Missing CSpec source required by component type osgi.bundle
INFO: TAG-ID 0001 = Query for com.example.mail.site:osgi.bundle
ERROR [0000] : Attempt to use an unresolved node. Request is com.example.mail.site:osgi.bundle
ERROR: Errors and Warnings
org.eclipse.core.runtime.CoreException: Errors and Warnings
at org.eclipse.buckminster.runtime.BuckminsterException.wrap(Bu ckminsterException.java:96)
at org.eclipse.buckminster.core.materializer.MaterializationJob .internalRun(MaterializationJob.java:149)
at org.eclipse.buckminster.core.materializer.MaterializationJob .run(MaterializationJob.java:125)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Contains: [0000] : Attempt to use an unresolved node. Request is com.example.mail.site:osgi.bundle
I'm trying to prove to some of my coworkers we should move to buckminster. I have to show them something on Monday so any help would be appreciated.
Thanks in Advance for all of the help.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04303 seconds