Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster dev » [buckminster-dev] having new trouble running hello world xml example.
[buckminster-dev] having new trouble running hello world xml example. [message #480899] Tue, 18 August 2009 19:39 Go to next message
Ted Kubaska is currently offline Ted KubaskaFriend
Messages: 10
Registered: July 2009
Junior Member
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/HelloX MLworld.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.rma p"
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/HelloX MLworld.rmap ">
<cq:rootRequest name="org.demo.hello.xml.world"
componentType="osgi.bundle"/>
</cq:componentQuery>

--
-Ted
Re: [buckminster-dev] having new trouble running hello world xml example. [message #480985 is a reply to message #480899] Wed, 19 August 2009 09:13 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2501
Registered: July 2009
Senior Member
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/HelloX MLworld.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.rma p"
> 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/HelloX MLworld.rmap ">
> <cq:rootRequest name="org.demo.hello.xml.world"
> componentType="osgi.bundle"/>
> </cq:componentQuery>
>
Re: [buckminster-dev] having new trouble running hello world xml example. [message #481188 is a reply to message #480985] Thu, 20 August 2009 04:21 Go to previous messageGo to next message
Ted Kubaska is currently offline Ted KubaskaFriend
Messages: 10
Registered: July 2009
Junior Member
Thansk. No, it didn't work with
http://www.eclipse.org/buckminster/samples/rmaps/demo.rmap either but
I can try again. The problem was reproducible yesterday. I was able
to checkout files with svn from the command line.
-ted

On Wed, Aug 19, 2009 at 2:13 AM, Henrik
Lindberg<henrik.lindberg@cloudsmith.com> 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/HelloX MLworld.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.rma p"
>> 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/HelloX MLworld.rmap ">
>>    <cq:rootRequest name="org.demo.hello.xml.world"
>> componentType="osgi.bundle"/>
>> </cq:componentQuery>
>>
> _______________________________________________
> buckminster-dev mailing list
> buckminster-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/buckminster-dev
>



--
-Ted
Re: [buckminster-dev] having new trouble running hello world xml example. [message #481358 is a reply to message #480985] Thu, 20 August 2009 15:42 Go to previous messageGo to next message
Ted Kubaska is currently offline Ted KubaskaFriend
Messages: 10
Registered: July 2009
Junior Member
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.rma p
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/R200 90529135407/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=bina ry):
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.rma p
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/R200 90529135407/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=bina ry):
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@cloudsmith.com> 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/HelloX MLworld.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.rma p"
>> 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/HelloX MLworld.rmap ">
>>    <cq:rootRequest name="org.demo.hello.xml.world"
>> componentType="osgi.bundle"/>
>> </cq:componentQuery>
>>
> _______________________________________________
> buckminster-dev mailing list
> buckminster-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/buckminster-dev
>



--
-Ted
Re: [buckminster-dev] having new trouble running hello world xml example. [message #481359 is a reply to message #480985] Thu, 20 August 2009 15:45 Go to previous messageGo to next message
Ted Kubaska is currently offline Ted KubaskaFriend
Messages: 10
Registered: July 2009
Junior Member
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@gmail.com> 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.rma p
>  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/R200 90529135407/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=bina ry):
> 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.rma p
> 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/R200 90529135407/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=bina ry):
> 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@cloudsmith.com> 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/HelloX MLworld.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.rma p"
>>> 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/HelloX MLworld.rmap ">
>>>    <cq:rootRequest name="org.demo.hello.xml.world"
>>> componentType="osgi.bundle"/>
>>> </cq:componentQuery>
>>>
>> _______________________________________________
>> buckminster-dev mailing list
>> buckminster-dev@eclipse.org
>> https://dev.eclipse.org/mailman/listinfo/buckminster-dev
>>
>
>
>
> --
>  -Ted
>



--
-Ted
Re: [buckminster-dev] having new trouble running hello world xml example. [message #481387 is a reply to message #480985] Thu, 20 August 2009 18:00 Go to previous message
Ted Kubaska is currently offline Ted KubaskaFriend
Messages: 10
Registered: July 2009
Junior Member
Sigh ... this was my error. Sometimes I wonder how I get my shoes on
the right feet in the morning.
I had the wrong component name ... need org.demo.hello.xml.world not
the name of my query file.

Your Chapter 14 has the correct information ... all I have to do is
read it correctly which I did a few days ago but the read incorrectly
yesterday and today.
-ted

On Wed, Aug 19, 2009 at 2:13 AM, Henrik
Lindberg<henrik.lindberg@cloudsmith.com> 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/HelloX MLworld.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.rma p"
>> 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/HelloX MLworld.rmap ">
>>    <cq:rootRequest name="org.demo.hello.xml.world"
>> componentType="osgi.bundle"/>
>> </cq:componentQuery>
>>
> _______________________________________________
> buckminster-dev mailing list
> buckminster-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/buckminster-dev
>



--
-Ted
Previous Topic:Check-in comments
Next Topic:Buckminster and Bamboo
Goto Forum:
  


Current Time: Sat Dec 20 00:55:24 GMT 2014

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

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