Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Hudson-Buckminster RCP Build CSpec source required
Hudson-Buckminster RCP Build CSpec source required [message #498518] Tue, 17 November 2009 10:36 Go to next message
Thomas M. is currently offline Thomas M.Friend
Messages: 7
Registered: November 2009
Junior Member
hy,
i have this error with my hudson-buckminster build of my rcp product:

ERROR   No suitable provider for component com.my.app.platform:eclipse.feature was found in resourceMap file:/home/hudson/jobs/MyApp/workspace/arch/x86/os/macosx/ws/cocoa/com.my.app.create/resources.rmap
  ERROR   No suitable provider for component com.my.app.platform:eclipse.feature was found in searchPath resources
    ERROR   Resolution attempt ended with exception: Provider local(file:////home/hudson/jobs/MyApp/workspace/arch/x86/os/macosx/ws/cocoa/com.my.app.platform/): Missing CSpec source required by component type eclipse.feature
      ERROR   Provider local(file:////home/hudson/jobs/MyApp/workspace/arch/x86/os/macosx/ws/cocoa/com.my.app.platform/): Missing CSpec source required by component type eclipse.feature


resources.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,buckminster"
            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" failOnError="false" />

</rmap>


site.cquery
<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="resources.rmap">
    <cq:rootRequest name="MyApp.product-feature" componentType="eclipse.feature"/>
</cq:componentQuery>


MyApp.product-feature
<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="MyApp.product-feature"
      label="Basic MyApp Platform"
      version="1.0.0.qualifier"
      provider-name="MyApp">

   <includes
         id="com.my.app.platform"
         version="0.0.0"/>

   <includes
         id="com.my.app.prerequisites"
         version="0.0.0"/>

</feature>


com.my.app.platform -> feature include my app-plugins
com.my.app.prerequisites -> feature include my prerequisites (org.eclipse.rcp ....)

plugins and features exist in the hudson workspace

what is wrong??

EDIT:

i give buckminster in hudson a target platform.

buckminster command:

import ${WORKSPACE}/com.my.app.create/site.cquery
perform MyApp.product-feature#create.product.zip

[Updated on: Tue, 17 November 2009 10:49]

Report message to a moderator

Re: Hudson-Buckminster RCP Build CSpec source required [message #498599 is a reply to message #498518] Tue, 17 November 2009 16:10 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Thomas,
Your URL seems a bit off. It starts with file://// (four slashes). One slash is sufficient. So try using:

<uri format="file:{0}/{1}/">
<bc:propertyRef key="workspace.root" />
<bc:propertyRef key="buckminster.component" />
</uri>

Regards,
Thomas Hallgren


On 11/17/2009 11:36 AM, Thomas M. wrote:
> hy,
> i have this error with my hudson-buckminster build of my rcp product:
>
>
> ERROR No suitable provider for component
> com.my.app.platform:eclipse.feature was found in resourceMap
> file:/home/hudson/jobs/MyApp/workspace/arch/x86/os/macosx/ws /cocoa/com.my.app.create/resources.rmap
>
> ERROR No suitable provider for component
> com.my.app.platform:eclipse.feature was found in searchPath resources
> ERROR Resolution attempt ended with exception: Provider
> local( file:////home/hudson/jobs/MyApp/workspace/arch/x86/os/macosx /ws/cocoa/com.my.app.platform/):
> Missing CSpec source required by component type eclipse.feature
> ERROR Provider
> local( file:////home/hudson/jobs/MyApp/workspace/arch/x86/os/macosx /ws/cocoa/com.my.app.platform/):
> Missing CSpec source required by component type eclipse.feature
>
>
> resources.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,buckminster"
> 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" failOnError="false" />
>
> </rmap>
>
>
> site.cquery
>
> <?xml version="1.0" encoding="UTF-8"?>
> <cq:componentQuery
> xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0"
> resourceMap="resources.rmap">
> <cq:rootRequest name="MyApp.product-feature"
> componentType="eclipse.feature"/>
> </cq:componentQuery>
>
>
> MyApp.product-feature
>
> <?xml version="1.0" encoding="UTF-8"?>
> <feature
> id="MyApp.product-feature"
> label="Basic MyApp Platform"
> version="1.0.0.qualifier"
> provider-name="MyApp">
>
> <includes
> id="com.my.app.platform"
> version="0.0.0"/>
>
> <includes
> id="com.my.app.prerequisites"
> version="0.0.0"/>
>
> </feature>
>
>
> com.my.app.platform -> feature include my app-plugins
> com.my.app.prerequisites -> feature include my prerequisites
> (org.eclipse.rcp ....)
>
> plugins and features exist in the hudson workspace
>
> what is wrong??
>
Previous Topic:Callbacks in provider tag of a .RMAP
Next Topic:resolve command not available
Goto Forum:
  


Current Time: Wed Apr 24 13:45:16 GMT 2024

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

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

Back to the top