Hi Ketan,

I had followed that doc. The reason why I got this error is that I am using
a different target platform from the eclipse environment I'm using to
develop with. I had the swtbot plugins in my workspace and everything
compiled fine, but they were not in my target platform, causing this error.

I'm now getting an error related with the classloader (it can't find my
plugin) but will investigate a mit more to see if I understand what is
causing the problem.

I do have a question, though: what is the difference between launching a
SWTBot test or a JUnit Plug-in Test?

Regards,
Vitor

On Fri, Sep 12, 2008 at 3:35 PM, Ketan Padegaonkar <
[EMAIL PROTECTED]> wrote:

> Perhaps this (http://swtbot.sourceforge.net/users-guide.html) may help.
>
> -- Ketan
>
> On 13-Sep-08, at 4:02 AM, Vitor Rodrigues wrote:
>
> > Hi all,
> >
> > I'm trying to run some basic SWTBot tests in an eclipse plug-in
> > development environment, and when I do right click-> Run As ->
> > SWTBot test, I get the following error:
> >
> > !ENTRY org.eclipse.osgi 4 0 2008-09-12 15:24:21.883
> > !MESSAGE Application error
> > !STACK 1
> > java.lang.RuntimeException: Application
> > "net.sf.swtbot.eclipse.ui.swtbottestapplication" could not be found
> > in the registry. The applications available are:
> > org.eclipse.equinox.p2.metadata.repository.mirrorApplication,
> > org.eclipse.equinox.app.error, org.eclipse.cdt.core.GeneratePDOM,
> > org.eclipse.equinox.p2.artifact.repository.mirrorApplication,
> > org.eclipse.wst.jsdt.core.JavaCodeFormatter,
> > org.eclipse.birt.report.debug.core.ReportDebugger,
> > com.ibm.pdq.tools.Generator,
> > com.ibm.xtools.viz.j2se.ui.javadoc.application,
> > org.eclipse.birt.report.engine.ReportExecutor,
> > org.eclipse.jdt.core.JavaCodeFormatter,
> > com.windowtester.runner.application,
> > com.ibm.etools.rdbschemagen.bvt,
> > com.ibm.etools.sqlparse.SQLParserTest, org.eclipse.ant.ui.antRunner,
> > org.eclipse.wst.server.preview.preview,
> > org.eclipse.uml2.uml.ecore.importer.UML2GenModel,
> > org.eclipse.update.core.standaloneUpdate,
> > org.eclipse.update.core.siteOptimizer,
> > org.eclipse.emf.codegen.ecore.Generator,
> > org
> > .eclipse
> > .tptp.test.tools.junit.plugin.plugin.uirunner.testApplication,
> > org
> > .eclipse.tptp.test.tools.junit.plugin.plugin.runner.testApplication,
> > org.eclipse.birt.report.designer.ui.rcp.DesignerApplication,
> > org.eclipse.equinox.p2.reconciler.application,
> > org.eclipse.ant.core.antRunner,
> > org.eclipse.equinox.p2.director.app.application,
> > com.ibm.datatools.mdsi.predecoder.PreDecoder,
> > org.eclipse.emf.importer.rose.Rose2GenModel,
> > com.ibm.etools.sqlmodel.bvt, org.eclipse.ui.ide.workbench,
> > org.eclipse.equinox.p2.metadata.generator.EclipseGenerator,
> > org
> > .eclipse.hyades.lta.resources.database.CreateDropScriptsGenerator,
> > org.eclipse.emf.importer.ecore.Ecore2GenModel,
> > org.eclipse.help.base.infocenterApplication,
> > org.eclipse.help.base.helpApplication,
> > org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild,
> > org.eclipse.pde.build.Build,
> > com.ibm.xtools.transform.core.transformationRunner,
> > com.ibm.xtools.transform.core.workbenchTransformationRunner,
> > org.eclipse.test.coretestapplication,
> > org.eclipse.test.uitestapplication,
> > com.ibm.xtools.comparemerge.delta.annotation.ui.logdeltas,
> > org
> > .eclipse.datatools.connectivity.console.profile.StorageFileEditor,
> > org.eclipse.emf.importer.java.Java2GenModel,
> > org.eclipse.xsd.ecore.importer.XSD2GenModel,
> > com.windowtester.swt.recorder.SwtBootstrapApplication,
> > com.ibm.xtools.comparemerge.team.runnable,
> > org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger,
> > org.eclipse.hyades.execution.server,
> > org.eclipse.pde.junit.runtime.uitestapplication,
> > org.eclipse.pde.junit.runtime.legacytestapplication,
> > org.eclipse.pde.junit.runtime.coretestapplication,
> > org.eclipse.pde.junit.runtime.coretestapplicationnonmain,
> > com.ibm.datatools.mdsi.modeltransform.NDMtoNDM.
> >     at
> > org
> > .eclipse
> > .equinox
> > .internal
> > .app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
> >     at
> > org
> > .eclipse
> > .equinox
> > .internal
> > .app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
> >     at
> > org
> > .eclipse
> > .core
> > .runtime
> > .internal
> > .adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
> > 110)
> >     at
> > org
> > .eclipse
> > .core
> > .runtime
> > .internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> >     at
> > org
> > .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> > 386)
> >     at
> > org
> > .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> > 179)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     at
> > sun
> > .reflect
> > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:59)
> >     at
> > sun
> > .reflect
> > .DelegatingMethodAccessorImpl
> > .invoke(DelegatingMethodAccessorImpl.java:39)
> >     at java.lang.reflect.Method.invoke(Method.java:612)
> >     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:
> > 549)
> >     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> >     at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> >     at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> >
> >
> >
> > Anyone has any idea of how to solve this? Thanks!
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win
> > great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in
> > the world
> >
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> > SWTBot-users mailing list
> > SWTBot-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/swtbot-users
> > http://swtbot.org/ - a functional testing tool for SWT/Eclipse
> >
>
> Cheers,
> Ketan Padegaonkar,
> I blog... therefore I am... http://ketan.padegaonkar.name
> http://swtbot.org/ - a functional testing tool for SWT/Eclipse
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> SWTBot-users mailing list
> SWTBot-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/swtbot-users
> http://swtbot.org/ - a functional testing tool for SWT/Eclipse
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to