Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] Programatically install

Hi,

I'm trying to write a draft of a solution for https://bugs.eclipse.org/bugs/show_bug.cgi?id=386988 (run surefire on a pre-existing provisionned application instead of creating a new Equinox configuration).

The idea is to replace creation of a config.ini by addition of the necessary dependencies to the existing application, and to re-use fully the code that actually runs the test.
So far, I've been able to create another implementation of EquinoxInstallation which "proxies" access to an existing Equinox on filesystem. I also succeeded to install the test bundle + its dependencies in this Equinox installation, using p2 director. However, I'd like to install into it the org.eclipse.tycho.surefire.osgibooter bundle into this application. AFAIK, this bundle does not have a p2 repository so I can't rely on p2 director.

Is there a way to install this bundle into an existing application? From outside of Tycho? From inside Tycho?

Cheers,
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top