Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] PluginRegistry Problem with Tycho-Surefire

Maybe a problem of a start level ?


On Wed, May 22, 2013 at 6:45 PM, Martha-Lucia Cadavid <martha-lucia.cadavid@xxxxxxxxxxxxx> wrote:



We are trying to access the pde plugin registry in a tycho-surefire test as follows:


IPluginModelBase model = PluginRegistry.findModel(mybundle);


However, the plugin registry seems not to contain our bundles. In the osgi registry all our bundles are available:


Bundle[] bundles = MyPlugin.getDefault().getBundle().getBundleContext().getBundles();


The pom.xml looks as follows:


















The my.feature contains all necessary dependencies. The plugin tests run without problems in the eclipse ide as eclipse plugin tests, using the same target platform as defined in my.feature


In the target/work/configuration/config.ini file all plugins of my.feature are listed in osgi.bundles.


#Wed May 22 18:16:03 CEST 2013







Any ideas?



This e-mail may contain confidential material. It is intended only for the person or entity which it is addressed to. In case you should not be supposed to get this e-mail we ask you to delete it without taking notice of its content. Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of The Swiss Raiffeisen Group. Therefore this e-mail does not represent a binding agreement nor an offer to deal. E-Mail transmission can be insecure and can contain errors. Information could be intercepted, corrupted, lost, destroyed, incomplete or may contain viruses. Neither The Swiss Raiffeisen Group nor the sender can accept any liability for any kind of damage as the result of viruses or transmission errors.

tycho-user mailing list


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top