Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » External component repository
External component repository [message #720379] Tue, 30 August 2011 13:35 Go to next message
Robert Gruendler is currently offline Robert Gruendler
Messages: 66
Registered: June 2011
Member
Hi,

i'm quite new to buckminster and i'm trying to automate builds using jenkins and buckminster.

My product uses some non-standard eclipse plugins, which are available on a regulare eclipse update site.

When i run buckminster, it complains that no suitable provider for the component was found. I guess i simply need to add the updatesite to the resource map, so buckminster knows where to get the needed jars from the bundles/features of the eclipse plugin.

Does anyone know how to provide this in the rmap file as an additional provider?


thanks
Re: External component repository [message #720410 is a reply to message #720379] Tue, 30 August 2011 14:28 Go to previous messageGo to next message
Robert Gruendler is currently offline Robert Gruendler
Messages: 66
Registered: June 2011
Member
i've tried to simply add p2 providers like this:

    <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>
        
		<provider readerType="p2" componentTypes="osgi.bundle,eclipse.feature"
                  mutable="false" source="false">
            <uri format="http://download.eclipse.org/technology/nebula/calendarcombo/update-N/">
            </uri>
        </provider>
        
		<provider readerType="p2" componentTypes="osgi.bundle,eclipse.feature"
                  mutable="false" source="false">
            <uri format="http://download.eclipse.org/technology/nebula/pshelf/update-N/ ">
            </uri>
        </provider>
        
		<provider readerType="p2" componentTypes="osgi.bundle,eclipse.feature"
                  mutable="false" source="false">
            <uri format="http://download.eclipse.org/technology/nebula/compositetable/update-N/">
            </uri>
        </provider>                        
                
    </searchPath>
  	
    <locator searchPathRef="resources"/>


Buckminster seems to try those providers but fails with:

    ERROR   [0005] : Rejecting provider p2(http://download.eclipse.org/technology/nebula/compositetable/update-N/[http://download.eclipse.org/technology/nebula/compositetable/update-N/]): No component match was found


Has anyone a hint what i'm missing?

Re: External component repository [message #720448 is a reply to message #720410] Tue, 30 August 2011 15:14 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
As far as I can see you're not doing anything wrong. Which component is it that fails? Are you sure it's present in one
of the appointed repositories?

- thomas

On 2011-08-30 16:28, sobert wrote:
> i've tried to simply add p2 providers like this:
>
> <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>
> <provider readerType="p2" componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="false">
> <uri format="http://download.eclipse.org/technology/nebula/calendarcombo/update-N/">
> </uri>
> </provider>
> <provider readerType="p2" componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="false">
> <uri format="http://download.eclipse.org/technology/nebula/pshelf/update-N/ ">
> </uri>
> </provider>
> <provider readerType="p2" componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="false">
> <uri format="http://download.eclipse.org/technology/nebula/compositetable/update-N/">
> </uri>
> </provider> </searchPath>
>
> <locator searchPathRef="resources"/>
>
> Buckminster seems to try those providers but fails with:
>
> ERROR [0005] : Rejecting provider
> p2(http://download.eclipse.org/technology/nebula/compositetable/update-N/[http://download.eclipse.org/technology/nebula/compositetable/update-N/]):
> No component match was found
>
> Has anyone a hint what i'm missing?
>
>
Re: External component repository [message #720817 is a reply to message #720448] Wed, 31 August 2011 09:46 Go to previous message
Robert Gruendler is currently offline Robert Gruendler
Messages: 66
Registered: June 2011
Member
the 3 provider repositories are the URLs which i used to install the features into the eclipse instance i'm developing with. so i think they should contain the components.

Anyway, i should sort out the manual build before running it from within hudson, it's not working properly yet (see http://www.eclipse.org/forums/index.php/t/237823/).
Previous Topic:Buckminster seems to ignore component provider
Next Topic:Incremental build with headless buckminster
Goto Forum:
  


Current Time: Wed Oct 01 16:38:04 GMT 2014

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

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