views:

184

answers:

2

Hi,

In our project many eclipse plugins are prepared. I want use tycho to build eclipse plugins automatically. But while executing "mvn install" in an update site project tycho can not find required features. Is there anything wrong??

My Update site   ---> packaging : eclipse-update-site 
My feature       ---> packaging : eclipse-feature 
my plugin        ---> packaging : eclipse-plugin 

How can i use tycho to install my plugin and feature in my target platform (eclipse) ??

A: 

You can use the p2.generator task described in Equinox p2 Metadata Generator page.

It will allow you :

  • to generate metadata for a folder containing bundles and features (-source argument)
  • to generate metadata for a traditional Eclipse update site (-updateSite argument)
  • to generate metadata for an existing Eclipse application that does not contain p2 metadata (-config argument)

So in your case, I suspect your site lack the necessary metadata to be correctly installed in the eclipse target platform.

VonC
+1  A: 

Hi,

Thanks for your answers but this not our problem. We are using maven 3.0 and tycho to produce eclipse plugins, features and an update site.Tyco is a maven plugin that manages the dependencies of eclipse projects by using a target eclipse installation. But i want to use tycho while i am creating an update site for my all projects. As a result i want to add this features to our continous integration process.

I can produce appropriate plugins and features using tycho and maven. But while i am trying to produce an update site tycho can not reach to my produced feature. because my feature is in my local maven repository not in target eclipse installation. How can i install eclipse plugins and features to a target eclipse installation ???

Thanks

Ibrahim

Ibrahim Cakirlar