prakashjv
prakashjv

Reputation: 339

Error in MANIFEST.MF of SWTBot test plugin

I would want to try out SWTBot to test our RCP application's user interface. For that I started with the sample test which worked perfectly as documented here. I wanted to try similarly on our application and for that I checked out our UI plugin and was able to launch it as eclipse application. Then I created a new SWTBot test plugin. Just after creating test plugin, I see error "Bundle 'org.eclipse.swtbot.go' cannot be resolved" in MANIFEST.MF file on line "Require-Bundle: org.eclipse.swtbot.go".

I am not sure why I am getting this error only when I try to create the test plugin for our custom RCP application and not when I am trying out the example provided in the above link. I compared both test plugin MANIFEST.MF file but left with no clue.

Has anyone faced such error while creating the SWTBot test plugin for the custom RCP application?

Thanks in advance !!

Prakash

Upvotes: 0

Views: 626

Answers (1)

Francis Upton IV
Francis Upton IV

Reputation: 19443

Make sure the org.eclipse.swtbot.go is actually the name of the plugin (maybe the plugin is called something else).

Make sure your target platform in PDE contains the SWTBot stuff. You can also use the PDE Plugins view to see if you see the SWTBot plugins.

Upvotes: 1

Related Questions