Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » P2 dev » P2 Discovery Connectors(Problems finding connectors when creating own discovery app)
icon9.gif  P2 Discovery Connectors [message #533515] Fri, 14 May 2010 11:27
No real name is currently offline No real name
Messages: 1
Registered: May 2010
Junior Member
Hi.

I'm having a play with P2 Discovery. We're looking at doing something like the MarketPlace for our internal application, with many teams contributing their extensions to a core framework.

At the moment, I'm wanting to get a demo up and running as a proof of concept before trying to look into the MarketPlace further.

However, I'm a little bit stuck. I went to the EclipseCon talk on P2 Discovery and am using that as a basis.

I've got an action using a RepositoryDiscoveryStrategy pointing at my update site. That works and brings up the discovery UI. However, I get the following error message:
"Connector discovery completed without finding any connectors".

My features are listed in the UI though, but there is no branding information and it doesn't take into account whether they have already been installed. I'd like branding icons like in the Mylyn Discovery version but can't work out where they are being obtained.

I've added an org.eclipse.mylyn.discovery.core.connectorDiscovery extension point but it doesn't seem to be picked up.

My extension point definition is:
<extension point "org.eclipse.mylyn.discovery.core.connectorDiscovery">
  <connectorCategory description="Category 1"
                                     id="feature.a.catalogue.Category1"
                                     name="Team1 Support">
  </connectorCategory>
  <connectorDescriptor>
     categoryId="feature.a.catalogue.Category1"
     description="Feature A"
     id="feature_A"
     kind="task"
     license="EPL"
     name="feature_A"
     provider="team_1"
     siteUrl="file:///home/jeff/p2-disco/update-sites/site1"
     <icon image32="icons/mail32.png">
     </icon>
     <overview screenshot="icons/screenshot.png"
                       summary="blah"
                       url="http://loxcalhost/blah"
     </overview>
  </connectorDescriptor>
</extension>

My update site site1 exists and it contains a feature feature_A. Does there need to be anything special about the feature?

Could anyone give me any pointers?

Thanks

Jeff
Previous Topic:where I can find log information for p2
Next Topic:p2.director installIU
Goto Forum:
  


Current Time: Thu Sep 18 01:52:02 GMT 2014

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

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