[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] IProvisioningAgentProvider service
- From: John Arthorne <arthorne.eclipse@xxxxxxxxx>
- Date: Wed, 17 Mar 2010 15:36:36 -0400
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=wRlBSTkszE4qfgpEdh11snOYKGDE/+UwpV9kXgpM+bYbNecZQEJum1bwkTmLgWJZCF Az5yXpAXKkML5GuNryOlO9T6cWBrgZTlfiY5KRr6YDn4NyZ+3WwUnuq9owy6Lhn3M+Hm URRdQfQY/SxT6zd+qMziAdZiVaqWXmRATo3BQ=
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.
On Wed, Mar 17, 2010 at 2:10 PM, Thomas M Houser <tmhouser@xxxxxxxxxx>
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).