Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340804 - With Helios version of Eclipse, SWTBot Test launch delegate is not usable.
Summary: With Helios version of Eclipse, SWTBot Test launch delegate is not usable.
Status: CLOSED INVALID
Alias: None
Product: SWTBot
Classification: Technology
Component: EclipseBot (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 16:28 EDT by Jessica Deery CLA
Modified: 2013-05-30 03:39 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.