Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 301403

Summary: Junit Plug-in tests with headless ui as application as a default
Product: [Eclipse Project] PDE Reporter: Christian Campo <christian.campo>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Christian Campo CLA 2010-02-01 05:41:01 EST
Whenever I run a junit plug-in test directly from the test itself, so right-click on the test class, run as --> junit plug-in test, the PDE tries to run it with the application "org.eclipse.ui.ide". Since that is neither in my target platform, nor is it my intention, I have to wait a few seconds that it fails, click "No" I dont want to see the error anywhere, go into launch config and manually change the application from "org.eclipse.ui.ide" to "headless".

Since I believe I have done that at least 1000 times in the past, I am ask for a simple way to configure PDE so that Junit Plug-in tests always run with the headless application which to me seems more naturally for a junit test than starting the whole IDE.
Comment 1 Curtis Windatt CLA 2010-05-06 16:54:07 EDT

*** This bug has been marked as a duplicate of bug 243234 ***