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

Bug 340804

Summary: With Helios version of Eclipse, SWTBot Test launch delegate is not usable.
Product: [Technology] SWTBot Reporter: Jessica Deery <jessica.deery>
Component: EclipseBotAssignee: Project Inbox <swtbot-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: mistria
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jessica Deery CLA 2011-03-23 16:28:42 EDT
Build Identifier: 3.6.1

I am migrating some test plugins that use swtbot to helios. However, I am unable to run my tests with the IDE's SWTBot Test launch delegate. This worked with an older version of eclipse. When I use the launch delegate, I get the error: Plug-in org.eclipse.swtbot.eclipse.ui was unable to load class org.eclipse.pde.internal.ui.launcher.PDEMigrationDelegate.

It appears that PDEMigrationDelegate has moved to org.eclipse.pde.internal.launching.launcher.PDEMigrationDelegate. I was able to workaround this issue by commenting out the migration delegate from the plugin.xml in which it is defined.


Reproducible: Always

Steps to Reproduce:
1. Startup Eclipse.
2. Use the SWTBot Test launch delegate to launch an SWTBot test, "Run as -> SWTBot Test"
3. Observe error, "Plug-in org.eclipse.swtbot.eclipse.ui was unable to load class org.eclipse.pde.internal.ui.launcher.PDEMigrationDelegate."
Comment 1 Mickael Istria CLA 2013-05-30 03:39:02 EDT
Latest version of SWTBot (2.0.5 and older) should work with Eclipse 3.6.1.
Please give it a try and reopen the bug if I'm wrong.