[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] IProvisioningAgentProvider service

I believe support was added to PDE in Eclipse 3.5 to automatically mark the ds bundle to be started. In Eclipse 3.4, you'll need to go to the "plugins" tab in the JUnit test launch configuration, and manually tweak the ds bundle to have start level = 1 and auto-start = true.

John



On Wed, Mar 17, 2010 at 2:10 PM, Thomas M Houser <tmhouser@xxxxxxxxxx> wrote:

Is there some trick to get junit tests to work?  When I launch a junit test from my workspace, it uses a "config.ini" that doesn't start the ds bundle.  Thus, it fails if the junit test is testing code that tries to get the IProvisioningAgentProvider service.  (Note: I'm using an Eclipse 3.4.2 IDE).