Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Problem with CSpec/RMAP for org.antlr and org.apache
Problem with CSpec/RMAP for org.antlr and org.apache [message #636110] Fri, 29 October 2010 10:49 Go to next message
Bernhard Merkle is currently offline Bernhard MerkleFriend
Messages: 88
Registered: July 2009
Member
Hi

I get the following error the org.antlr and org.apache plugins.
Not sure why. It works for all other plugins, just nor for org.antlr.
What wrong with my rmap ?

ERROR [0000] : No suitable provider for component org.antlr.runtime:osgi.bundle was found in resourceMap file:/W:/Buckminster_SopasWorkbench/de.sick.sopas.workbench. buckminster/site.rmap
ERROR [0000] : No suitable provider for component org.antlr.runtime:osgi.bundle was found in searchPath mwe
ERROR [0000] : Resolution attempt ended with exception: Provider local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source required by component type osgi.bundle
ERROR Provider local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source required by component type osgi.bundle
ERROR [0000] : No suitable provider for component org.apache.commons.logging:osgi.bundle was found in resourceMap file:/W:/Buckminster_SopasWorkbench/de.sick.sopas.workbench. buckminster/site.rmap
ERROR [0000] : No suitable provider for component org.apache.commons.logging:osgi.bundle was found in searchPath mwe
ERROR [0000] : Resolution attempt ended with exception: Provider local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source required by component type osgi.bundle
ERROR Provider local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source required by component type osgi.bundle
Errors and Warnings
E [0000] : No suitable provider for component org.antlr.runtime:osgi.bundle was found in resourceMap file:/W:/Buckminster_SopasWorkbench/de.sick.sopas.workbench. buckminster/site.rmap
E [0000] : No suitable provider for component org.antlr.runtime:osgi.bundle was found in searchPath mwe
E [0000] : Resolution attempt ended with exception: Provider local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source required by component type osgi.bundle: Provider local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source required by component type osgi.bundle
E [0000] : No suitable provider for component org.apache.commons.logging:osgi.bundle was found in searchPath mwe
E [0000] : Resolution attempt ended with exception: Provider local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source required by component type osgi.bundle: Provider local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source required by component type osgi.bundle



<?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">

<locator pattern="^de\.itemis\.xtext(\..+)?" searchPathRef="itemis"/>
<locator pattern="^org\.eclipse\.xtext(\..+)?" searchPathRef="itemis"/>
<locator pattern="^org\.eclipse\.xtend(\..+)?" searchPathRef="itemis"/>
<locator pattern="^org\.eclipse\.xpand(\..+)?" searchPathRef="itemis"/>
<locator pattern="^org\.eclipse\.emf\.mwe(\..+)?" searchPathRef="mwe"/>
<locator pattern="^org\.apache(\..+)?" searchPathRef="mwe"/>
<locator pattern="^org\.antlr(\..+)?" searchPathRef="mwe"/>
<locator pattern="^de\.sick(\..+)?" searchPathRef="resources"/>

<locator searchPathRef="resources"/>

<searchPath name="itemis">
<provider componentTypes="osgi.bundle,eclipse.feature" readerType="local" source="false">
<uri format="file:/E:/tools/eclipse-SDK-3.5.2-win32/">
<bc:propertyRef key="buckminster.component" />
</uri>
</provider>
</searchPath>

<searchPath name="mwe">
<provider componentTypes="osgi.bundle,eclipse.feature" readerType="local" source="false">
<uri format="file:/E:/tools/eclipse-SDK-3.5.2-win32/">
<bc:propertyRef key="buckminster.component" />
</uri>
</provider>
</searchPath>

<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>


</rmap>
Re: Problem with CSpec/RMAP for org.antlr and org.apache [message #636820 is a reply to message #636110] Tue, 02 November 2010 22:58 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
If I understand it correctly, you are using this entry:
<locator pattern="^org\.antlr(\..+)?" searchPathRef="mwe"/>

for antlr and it goes to a provider with the uri:

<uri format="file:/E:/tools/eclipse-SDK-3.5.2-win32/">

Are the things reported as missing actually there and in the correct format?

The error message suggests that there is no meta data (or that there is
something wrong in the manifest) in the thing that is found. i.e. the
errors message says "Missing CSpec source required by component type
osgi.bundle".

- henrik

On 10/29/10 12:49 PM, Bernhard Merkle wrote:
> Hi
> I get the following error the org.antlr and org.apache plugins.
> Not sure why. It works for all other plugins, just nor for org.antlr.
> What wrong with my rmap ?
>
> ERROR [0000] : No suitable provider for component
> org.antlr.runtime:osgi.bundle was found in resourceMap
> file:/W:/Buckminster_SopasWorkbench/de.sick.sopas.workbench.
> buckminster/site.rmap
> ERROR [0000] : No suitable provider for component
> org.antlr.runtime:osgi.bundle was found in searchPath mwe
> ERROR [0000] : Resolution attempt ended with exception: Provider
> local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source
> required by component type osgi.bundle
> ERROR Provider local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing
> CSpec source required by component type osgi.bundle
> ERROR [0000] : No suitable provider for component
> org.apache.commons.logging:osgi.bundle was found in resourceMap
> file:/W:/Buckminster_SopasWorkbench/de.sick.sopas.workbench.
> buckminster/site.rmap
> ERROR [0000] : No suitable provider for component
> org.apache.commons.logging:osgi.bundle was found in searchPath mwe
> ERROR [0000] : Resolution attempt ended with exception: Provider
> local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source
> required by component type osgi.bundle
> ERROR Provider local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing
> CSpec source required by component type osgi.bundle
> Errors and Warnings
> E [0000] : No suitable provider for component
> org.antlr.runtime:osgi.bundle was found in resourceMap
> file:/W:/Buckminster_SopasWorkbench/de.sick.sopas.workbench.
> buckminster/site.rmap
> E [0000] : No suitable provider for component
> org.antlr.runtime:osgi.bundle was found in searchPath mwe
> E [0000] : Resolution attempt ended with exception: Provider
> local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source
> required by component type osgi.bundle: Provider
> local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source
> required by component type osgi.bundle
> E [0000] : No suitable provider for component
> org.apache.commons.logging:osgi.bundle was found in searchPath mwe
> E [0000] : Resolution attempt ended with exception: Provider
> local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source
> required by component type osgi.bundle: Provider
> local(file:/E:/tools/eclipse-SDK-3.5.2-win32/): Missing CSpec source
> required by component type osgi.bundle
>
>
>
> <?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">
>
> <locator pattern="^de\.itemis\.xtext(\..+)?" searchPathRef="itemis"/>
> <locator pattern="^org\.eclipse\.xtext(\..+)?" searchPathRef="itemis"/>
> <locator pattern="^org\.eclipse\.xtend(\..+)?" searchPathRef="itemis"/>
> <locator pattern="^org\.eclipse\.xpand(\..+)?" searchPathRef="itemis"/>
> <locator pattern="^org\.eclipse\.emf\.mwe(\..+)?" searchPathRef="mwe"/>
> <locator pattern="^org\.apache(\..+)?" searchPathRef="mwe"/>
> <locator pattern="^org\.antlr(\..+)?" searchPathRef="mwe"/>
> <locator pattern="^de\.sick(\..+)?" searchPathRef="resources"/>
>
> <locator searchPathRef="resources"/>
>
> <searchPath name="itemis">
> <provider componentTypes="osgi.bundle,eclipse.feature"
> readerType="local" source="false">
> <uri format="file:/E:/tools/eclipse-SDK-3.5.2-win32/">
> <bc:propertyRef key="buckminster.component" />
> </uri>
> </provider>
> </searchPath>
>
> <searchPath name="mwe">
> <provider componentTypes="osgi.bundle,eclipse.feature"
> readerType="local" source="false">
> <uri format="file:/E:/tools/eclipse-SDK-3.5.2-win32/">
> <bc:propertyRef key="buckminster.component" />
> </uri>
> </provider>
> </searchPath>
>
> <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>
>
>
> </rmap>
>
Re: Problem with CSpec/RMAP for org.antlr and org.apache [message #638412 is a reply to message #636820] Thu, 11 November 2010 09:08 Go to previous messageGo to next message
Bernhard Merkle is currently offline Bernhard MerkleFriend
Messages: 88
Registered: July 2009
Member
Hi Henrik

I had to _reinstall_ the Xtext 0.7.2 runtime (which includes the bundles in question)

What irritatet me is that it build in the workspace, but when invoking bucky in the workspace it did not.
What meta-information is buck using (which was obviously destroyed and being fixed when i reinstalled the runtime ?)

thanks,
Berni.
Re: Problem with CSpec/RMAP for org.antlr and org.apache [message #638414 is a reply to message #638412] Thu, 11 November 2010 09:14 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Bernhard,

Bucky uses the workspace meta-data so if it works in the IDE, it should work when invoking bucky from the command line.
One thing may differ though, and that's the target platform. If you're using the default, that will be the current
runtime. I.e. the IDE in the former case but the headless Bucky in the latter.

- thomas


On 11/11/2010 10:09 AM, Bernhard Merkle wrote:
> Hi Henrik
>
> I had to _reinstall_ the Xtext 0.7.2 runtime (which includes the bundles
> in question)
>
> What irritatet me is that it build in the workspace, but when invoking
> bucky in the workspace it did not.
> What meta-information is buck using (which was obviously destroyed and
> being fixed when i reinstalled the runtime ?)
>
> thanks,
> Berni.
Previous Topic:JUnit command runs but reports no tests and no errors
Next Topic:Custom config.ini is ignored
Goto Forum:
  


Current Time: Fri Apr 26 16:20:46 GMT 2024

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

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

Back to the top