Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » SWTBot Command line Framework installation(Installing Headless Testing Framework)
SWTBot Command line Framework installation [message #1786231] Fri, 27 April 2018 10:33 Go to next message
Dundappa Kamate is currently offline Dundappa KamateFriend
Messages: 2
Registered: April 2018
Junior Member
I am trying to install SWTbot test framework through command line as suggested in the link https://wiki.eclipse.org/SWTBot/Automate_test_execution#Executing.

However I am getting installation failed message as it could not find out 'org.apache.ant'.

Further explored a bit on minimum bundles needed to run SWT bot; from the link it appears that http://wiki.eclipse.org/SWTBot/OSGi_Console. 'Org.apache,ant' is not required.

Can some body point on where i am going wrong.
Thanks

My Code:
echo "Installing SWT_BOT Framework"
$ECLIPSE_DIR/eclipse -nosplash --launcher.suppressErrors -consoleLog -application org.eclipse.equinox.p2.director \
-repository file:/$DOWNLOADS_DIR/$SWT_BOT_ROOT/repository -installIU org.eclipse.swtbot.eclipse.gef.feature.group,org.eclipse.swtbot.eclipse.test.junit.feature.group,org.hamcrest.library,org.apache.log4j \
-destination $ECLIPSE_DIR/$PROFILE_NAME -bundlePool $ECLIPSE_DIR/$PROFILE_NAME -profile $PROFILE_NAME \
-profileProperties org.eclipse.update.install.features=true -vmargs -Declipse.p2.data.area=$ECLIPSE_DIR/p2


Snippet of Log File:

Installing SWT_BOT Framework
Installing org.eclipse.swtbot.eclipse.gef.feature.group 2.6.0.201706141832.
Installing org.eclipse.swtbot.eclipse.test.junit.feature.group 2.6.0.201706141832.
Installing org.hamcrest.library 1.3.0.v201505072020.
Installing org.apache.log4j 1.2.15.v201012070815.
Installation failed.
Cannot complete the install because one or more required items could not be found.
Software being installed: SWTBot JUnit Headless launchers for Eclipse 2.6.0.201706141832 (org.eclipse.swtbot.eclipse.test.junit.feature.group 2.6.0.201706141832)
Missing requirement: SWTBot JUnit Headless launchers for Eclipse 2.6.0.201706141832 (org.eclipse.swtbot.eclipse.test.junit.feature.group 2.6.0.201706141832) requires 'org.apache.ant 0.0.0' but it could not be found
Re: SWTBot Command line Framework installation [message #1786685 is a reply to message #1786231] Wed, 09 May 2018 10:02 Go to previous message
Dundappa Kamate is currently offline Dundappa KamateFriend
Messages: 2
Registered: April 2018
Junior Member
Can somebody guide on the above issue?
Thx
Previous Topic:How to make the Logger snippet work
Next Topic:Working with FigureCanvas
Goto Forum:
  


Current Time: Tue Oct 15 05:45:03 GMT 2024

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

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

Back to the top