Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » "Missing feature org.eclipse.swtbot" with 2.2.1, but works with 2.0.1(includes in feature.xml couldn't find swtbot on the path with 2.2)
"Missing feature org.eclipse.swtbot" with 2.2.1, but works with 2.0.1 [message #1404281] Wed, 30 July 2014 21:11 Go to next message
Sophia Lee is currently offline Sophia LeeFriend
Messages: 2
Registered: July 2014
Junior Member
my headless testing feature used to build successfully with SWTBot 2.0.4. This is how the feature.xml looks like:

.....
<includes
id="org.eclipse.swtbot"
version="0.0.0"/>

.....

I'm now trying to update my target platform to Kepler, and using SWTBot2.2.1 because of the removal of JUnit4.

Running the build now results missing feature error:
Missing feature org.eclipse.swtbot. It does not appear in the map file nor in the base location.

I'm using the SWTBot zip from:
http://download.eclipse.org/technology/swtbot/releases/2.2.0/repository.zip

so the structure looks like
rootDirectory/
SWTBot/
2.2.1/
features/
org.eclipse.swtbot_2.2.1.201402241301.jar
.....


Version 2.0.4 was put under the same directory:
rootDirectory/
SWTBot/
2.0.4/
features/
org.eclipse.swtbot_2.0.4.20110304_0338-e5aff47-dev-e36

If the pluginPath was pointed to SWTBot 2.0.4, the build had no problem finding it, thought JUnit4 error will appear.

Any suggestion how to make it work with the newer SWTBot? Any input is appreciated.

Thanks,

- Sophia
......




Re: &quot;Missing feature org.eclipse.swtbot&quot; with 2.2.1, but works with 2.0.1 [message #1404313 is a reply to message #1404281] Thu, 31 July 2014 07:50 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Doesn't your build re-use your target-platform definition?
Re: &quot;Missing feature org.eclipse.swtbot&quot; with 2.2.1, but works with 2.0.1 [message #1404374 is a reply to message #1404313] Thu, 31 July 2014 16:24 Go to previous message
Sophia Lee is currently offline Sophia LeeFriend
Messages: 2
Registered: July 2014
Junior Member
yes it does. Is there anything else I need to update here?

Thanks,

- Sophia
Previous Topic:SWTBot Drag and Drop - Tree to Editor
Next Topic:editor's cursor disappear
Goto Forum:
  


Current Time: Thu Apr 25 11:09:56 GMT 2024

Powered by FUDForum. Page generated in 0.03626 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top