Hi Anthony, In the "Run Configurations" for the test go to the Plug-ins tab. Change "Launch with" to "Plugins selected below only". In the list of plugins you can then set a start level. Regards,
Nick -----Original Message----- From: Muller, Anthony [mailto:[email protected]] Sent: 17 June 2011 13:05 To: [email protected] Subject: How to test a declarative service in Eclipse, using JUnit Plug-in Test? Hello, I'm trying to test a declarative service in Eclipse using JUnit Plug-in test. It works quite fine, but "sometimes" my service is not found... I guess that is because the bundle loading order is not guaranty in OSGi and so, sometimes, the bundle containing the declarative service is loading after my test was running... How to configure Eclipse/JUnit to fix that problem? Thanks and regards, Anthony ________________________________________________________________________ This e-mail has been scanned for all viruses. ________________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

