SWTBot Command line Framework installation [message #1786231] |
Fri, 27 April 2018 06:33  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03342 seconds