Mvn Runner Problem [message #1693657] |
Mon, 27 April 2015 09:53 |
Andreas Graf Messages: 211 Registered: July 2009 |
Senior Member |
|
|
Hi,
we have been using the "commercial" version of the mvn runner with success for the last few years.
Right now, we are trying to work with the new open source runner and seeing the following error in the log:
ava.lang.RuntimeException: Application "org.eclipse.rcptt.runner.headless" could not be found in the registry. The applications available are [..] org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, com.xored.ci4rcptt.runner, org.eclipse.rcptt.ecl.doc.generator.
What could be the reason for that?
Help is appreciated,
Andreas
Extract of our config:
<pluginRepository>
<id>xoredSnap</id>
<name>Xored Maven repository Snap</name>
<url>http://maven.xored.com/nexus/content/repositories/ci4rcptt-snapshots/</url>
</pluginRepository>
</pluginRepositories>
<properties>
<ci4rcptt-maven-version>1.5.6-SNAPSHOT</ci4rcptt-maven-version>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.xored.ci4rcptt</groupId>
<artifactId>ci4rcptt-maven-plugin</artifactId>
<version>${ci4rcptt-maven-version}</version>
<extensions>true</extensions>
<configuration>
<runner>
<!-- <explicit>/Users/olgayurchuk/Downloads/rcptt.runner-incubation-1.5.6-N201504122315.zip</explicit> -->
<version>1.5.6-SNAPSHOT</version>
<vmArgs>
[Updated on: Mon, 27 April 2015 09:55] Report message to a moderator
|
|
|
|
|
Re: Mvn Runner Problem [message #1694090 is a reply to message #1693688] |
Thu, 30 April 2015 13:12 |
Chris Champion Messages: 49 Registered: February 2014 |
Member |
|
|
Hi Ulyana,
I'm getting the same error when trying to use the Runner with a batch file started from the Windows console.
java.lang.RuntimeException: Application "org.eclipse.rcptt.runner.headless" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, ...
I don't see an org.eclipse.rcptt.runner.headless.jar in RCPTT's plugins folder.
The batch file looks like this:
REM !!! Replace the value below with the path to the directory there
REM application under test (AUT) is located.
SET AUT=D:\MyAUT\9.1.0.5\Navigator\eclipse\
SET RUNNER=%USERPROFILE%\runner
SET PROJECT=D:\MyAUT\svn\rcptt_nbx86\Admin_Testplan
REM Path to directory with test results, default is C:\Users\User\results
SET RESULTS=%PROJECT%\..\results
REM Remove results dir if present
IF NOT EXIST %RESULTS% GOTO NORESULTS
RMDIR /S /Q %RESULTS%
:NORESULTS
md %RESULTS%
java -jar "C:\Program Files (x86)\rcptt_nbx86\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar" ^
-application org.eclipse.rcptt.runner.headless ^
-data %RESULTS%/runner-workspace/ ^
-aut %AUT% ^
-autWsPrefix D:/MyAUT/svn/aut-DailyBuild/ ^
-autConsolePrefix %RESULTS%/aut-output ^
-htmlReport %RESULTS%/report.html ^
-junitReport %RESULTS%/report.xml ^
-import %PROJECT%
[Updated on: Thu, 30 April 2015 13:23] Report message to a moderator
|
|
|
|
|
Re: Mvn Runner Problem [message #1699231 is a reply to message #1693657] |
Mon, 22 June 2015 18:45 |
Guillermo Cancino Messages: 11 Registered: April 2015 |
Junior Member |
|
|
Hi everyone
someone know that might be happening ?
I cannot execute my test runner, the windows console show me this:
!ENTRY org.eclipse.jdt.annotation 2 0 2015-06-22 13:41:06.277
!MESSAGE Could not resolve module: org.eclipse.jdt.annotation [165]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.)"
!ENTRY org.eclipse.osgi 4 0 2015-06-22 13:41:06.277
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.rcptt.runner.headless" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer, org.eclipse.pde.build.Build, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication, org.eclipse.ui.ide.workbench.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06183 seconds