[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [buckminster-dev] having new trouble running hello world xml example.
|
Oh the name of the cquery I made was XMLquery.cquery -ted
On Thu, Aug 20, 2009 at 8:42 AM, Ted Kubaska<ted.kubaska@xxxxxxxxx> wrote:
> This is really not working and I honestly it used to and I cannot
> discover a change I have made. I apologize if I have made a simple
> error, but really need some help. I made a cquery that has the
> following code.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <cq:componentQuery
> xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0"
> resourceMap="http://www.eclipse.org/buckminster/samples/rmaps/demo.rmap">
> <cq:rootRequest name="XMLquery" componentType="osgi.bundle"/>
> </cq:componentQuery>
>
> and I set the uri for resource map to be
> http://www.eclipse.org/buckminster/samples/rmaps/demo.rmap
>
> and I now get
>
> ERROR [0001] : No suitable provider for component
> XMLquery:osgi.bundle was found in resourceMap
> http://www.eclipse.org/buckminster/samples/rmaps/dogfood.rmap
> ERROR [0001] : No suitable provider for component
> XMLquery:osgi.bundle was found in searchPath orbit
> ERROR [0001] : Rejecting provider
> eclipse.import(http://download.eclipse.org/tools/orbit/downloads/drops/R20090529135407/updateSite?importType=binary):
> No component match was found
> ERROR [0001] : No suitable provider for component
> XMLquery:osgi.bundle was found in searchPath galileo
> ERROR [0001] : Rejecting provider
> eclipse.import(http://download.eclipse.org/releases/galileo?importType=binary):
> No component match was found
> ERROR [0001] : No suitable provider for component
> XMLquery:osgi.bundle was found in searchPath maven
> ERROR [0001] : Rejecting provider
> maven2(http://repo1.maven.org/maven2): Components of type osgi.bundle
> are not supported
> Errors and Warnings
> E [0001] : No suitable provider for component XMLquery:osgi.bundle was
> found in resourceMap
> http://www.eclipse.org/buckminster/samples/rmaps/dogfood.rmap
> E [0001] : No suitable provider for component XMLquery:osgi.bundle
> was found in searchPath orbit
> E [0001] : Rejecting provider
> eclipse.import(http://download.eclipse.org/tools/orbit/downloads/drops/R20090529135407/updateSite?importType=binary):
> No component match was found
> E [0001] : No suitable provider for component XMLquery:osgi.bundle
> was found in searchPath galileo
> E [0001] : Rejecting provider
> eclipse.import(http://download.eclipse.org/releases/galileo?importType=binary):
> No component match was found
> E [0001] : No suitable provider for component XMLquery:osgi.bundle
> was found in searchPath maven
> E [0001] : Rejecting provider
> maven2(http://repo1.maven.org/maven2): Components of type osgi.bundle
> are not supported
>
> On Wed, Aug 19, 2009 at 2:13 AM, Henrik
> Lindberg<henrik.lindberg@xxxxxxxxxxxxxx> wrote:
>> I wonder if the reference to the local rmap needs file:///home/ted/...
>> instead of just file:/home/ted/...
>> Does it work if you use the URL
>> http://www.eclipse.org/buckminster/samples/rmaps/demo.rmap ?
>>
>> - henrik
>>
>> Ted Kubaska wrote:
>>>
>>> I've been running the "hello XML world" example in Chapter 13 of the
>>> Bucky book. Last week it worked fine for me, but today I get the
>>> following error message that occurs when I want to "Resolve and
>>> Materialize" the cquery.
>>>
>>> <error message>
>>> Errors and Warnings
>>> E [0001] : Provider eclipse.platform(plugin/org.demo.hello.xml.world):
>>> Missing CSpec source required by component type osgi.bundle
>>> </errormessage>
>>>
>>> Here's what I did (which used to work ... I dont think I've changed
>>> anything in my eclipse config ... at least I cannot find a
>>> difference).
>>>
>>> I have a project called BuckyXMLdemo which has two files. They are
>>> HelloXMLworld.rmap and new_query.cquery. I dont think I actually need
>>> the HelloXMLworld.rmap because the new_query.cquery has "Use Resource
>>> Maps" checked and points to
>>> http://www.eclipse.org/buckminster/samples/rmaps/demo.rmap. I found
>>> out earlier that I could run the example by choosing "Use Resource
>>> maps" and pointing to
>>> file:/home/ted/EclipseProjects/workBucky/BuckyXMLdemo/HelloXMLworld.rmap
>>> .... so in that instance I needed my HelloXMLworld.rmap.
>>>
>>> However, today when I "Resolve and Materialize" my cquery, I dont get
>>> those three projects in my workspace, Instead I just get the error
>>> message shown above.
>>>
>>> My HelloXMLworld.rmap is just what I copied from
>>> http://www.eclipse.org/buckminster/samples/rmaps/demo.rmap.
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <rmap
>>> xmlns="http://www.eclipse.org/buckminster/RMap-1.0"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
>>> xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0">
>>>
>>> <searchPath name="default">
>>> <provider readerType="svn"
>>> componentTypes="eclipse.feature,osgi.bundle,buckminster"
>>> source="true">
>>> <uri
>>> format="http://dev.eclipse.org/svnroot/tools/org.eclipse.buckminster/trunk/org.eclipse.buckminster/demo/{0}">
>>> <bc:propertyRef key="buckminster.component"
>>> />
>>> </uri>
>>> </provider>
>>> </searchPath>
>>>
>>> <locator searchPathRef="default" pattern="^org\.demo\..*" />
>>> <redirect
>>> href="http://www.eclipse.org/buckminster/samples/rmaps/dogfood.rmap"
>>> pattern=".*"/>
>>> </rmap>
>>>
>>> Here is my copy of new_query.cquery
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <cq:componentQuery
>>> xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0"
>>>
>>> resourceMap="file:/home/ted/EclipseProjects/workBucky/BuckyXMLdemo/HelloXMLworld.rmap">
>>> <cq:rootRequest name="org.demo.hello.xml.world"
>>> componentType="osgi.bundle"/>
>>> </cq:componentQuery>
>>>
>> _______________________________________________
>> buckminster-dev mailing list
>> buckminster-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/buckminster-dev
>>
>
>
>
> --
> -Ted
>
--
-Ted