[abbot - Help] How to test Eclipse/OSGi apps with Costello
2008-07-01 14:52:16 GMT
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5065820 By: jacek_ratzinger Dear all, I am new to Abbot. So I apologize for any stupidity of my question up front. :o) The Abbot framework together with its Costello front-end seems to provide a great solution for my needs. I am interested in GUI testing of Eclipse/OSGi applications. The application uses Swing (no SWT), but is based on the Eclipse/Equinox implementation of the OSGi framework. To be able to reference the OSGi bundles/jars from Costello, I copied all Costello files to the application's root directory and started Costello with the Eclipse jar in the classpath (java -cp costello.jar;plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar abbot.editor.Costello). When I try to start the main method of the OSGi application within Costello (className=org.eclipse.core.launcher.Main; arguments=org.eclipse.core.launcher.Main [-application,my.test.application]), I get errors from the Eclipse framework: org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Permission: (org.osgi.framework.PackagePermission org.eclipse.osgi.frame import), Missing Constraint: Import-Package: org.eclipse.osgi.framework.log; version="0.0.0" at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl eHost.java:305) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(Abstra ctBundle.java:350)(Continue reading)
RSS Feed