Buckminster vs. Emma/jUnit: "Cannot open launch config" (Eclipse 3.6) [message #544479] |
Fri, 02 July 2010 18:44 |
Christian Kesselheim Messages: 59 Registered: June 2010 |
Member |
|
|
Hi everybody,
my first attempt to integrate jUnit/Emma seems to have failed, though I
don't know what it precisely is that I must have done wrong.
When calling the emma or junit headless commands as described in "the
book", I get a simply but strangely confusing message: "Cannot open
launch config from XXX". Strange enough, since the launch configuration
path & file in question seems to be perfectly fine.
I've ruled out a lack of file permissions and/or an outdated
buckminster/emma plugin version so far (just upgraded to the most recent
3.6 version for both), so perhaps someone from the community has an idea
on how to proceed?!
Here's what I get so far:
======================= (Console) ==================================
$ java
-Dbuckminster.output.root=/var/lib/hudson/jobs/myproject/wor kspace/buckminster.output
-Dbuckminster.temp.root=/var/lib/hudson/jobs/myproject/works pace/buckminster.temp
-Xms256m -Xmx512m -Declipse.consoleLog=true -jar
/var/lib/hudson/tools/Buckminster_3.6/buckminster/plugins/or g.eclipse.equinox.launcher_1.1.0.v20100507.jar
-application org.eclipse.buckminster.cmdline.headless -data
/var/lib/hudson/jobs/myproject/workspace --loglevel debug -S
/var/lib/hudson/jobs/myproject/workspace/commands.txt
!SESSION 2010-07-02 20:36:40.030
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -application
org.eclipse.buckminster.cmdline.headless --loglevel debug -S
/var/lib/hudson/jobs/myproject/workspace/commands.txt
Command-line arguments: -application
org.eclipse.buckminster.cmdline.headless -data
/var/lib/hudson/jobs/myproject/workspace --loglevel debug -S
/var/lib/hudson/jobs/myproject/workspace/commands.txt
!ENTRY org.eclipse.buckminster.runtime 0 293 2010-07-02 20:36:41.475
!MESSAGE build
build
!ENTRY org.eclipse.buckminster.core 0 293 2010-07-02 20:36:41.555
!MESSAGE Doing full workspace refresh
Doing full workspace refresh
!ENTRY org.eclipse.buckminster.core 0 293 2010-07-02 20:36:41.556
!MESSAGE Waiting for jobs to end
Waiting for jobs to end
!ENTRY org.eclipse.buckminster.runtime 0 293 2010-07-02 20:36:41.806
!MESSAGE emma '-m' '-l'
'/var/lib/hudson/jobs/myproject/workspace/lu.kreios.myprojec t.client.tests/lu.kreios.myproject.client.tests.launch'
'-o'
'/var/lib/hudson/jobs/myproject/workspace//buckminster.outpu t/junit.results/TEST-lu.kreios.myproject.client.tests-all.xm l'
'--xml'
'/var/lib/hudson/jobs/myproject/workspace//buckminster.outpu t/emma.results/coverage.xml'
'--html'
'/var/lib/hudson/jobs/myproject/workspace//buckminster.outpu t/emma.results/coverage.html'
emma '-m' '-l'
'/var/lib/hudson/jobs/myproject/workspace/lu.kreios.myprojec t.client.tests/lu.kreios.myproject.client.tests.launch'
'-o'
'/var/lib/hudson/jobs/myproject/workspace//buckminster.outpu t/junit.results/TEST-lu.kreios.myproject.client.tests-all.xm l'
'--xml'
'/var/lib/hudson/jobs/myproject/workspace//buckminster.outpu t/emma.results/coverage.xml'
'--html'
'/var/lib/hudson/jobs/myproject/workspace//buckminster.outpu t/emma.results/coverage.html'
!ENTRY org.eclipse.buckminster.core 0 293 2010-07-02 20:36:41.939
!MESSAGE Doing full workspace refresh
Doing full workspace refresh
!ENTRY org.eclipse.buckminster.core 0 293 2010-07-02 20:36:41.953
!MESSAGE Waiting for jobs to end
Waiting for jobs to end
Cannot open launch config from
/var/lib/hudson/jobs/myproject/workspace/lu.kreios.myproject .client.tests/lu.kreios.myproject.client.tests.launch
============================================================ ========
Perhaps its a problem of the new and improved headless jUnit
functionality in 3.6 not being 100% compatible with Buckminster or the
Emma plug-in at present?
Any clues?
Thanks a lot in advance,
Chris
[Updated on: Fri, 02 July 2010 22:41] Report message to a moderator
|
|
|
|
|
|
Re: Buckminster vs. Emma/jUnit: "Cannot open launch config" (Eclipse 3.6) [message #545461 is a reply to message #544479] |
Wed, 07 July 2010 20:51 |
Achim Demelt Messages: 160 Registered: July 2009 |
Senior Member |
|
|
Christian,
The path given after the "-l" argument must be a path that can be resolved
within the workspace, and not an absolute path in the file system. In your
case, instead of "-l
/var/lib/hudson/jobs/myproject/workspace/lu.kreios.myproject .client.tests/lu.kreios.myproject.client.tests.launch "
you must to use "-l
lu.kreios.myproject.client.tests/lu.kreios.myproject.client. tests.launch "
HTH,
Achim
Christian Kesselheim wrote:
> Hi everybody,
>
> my first attempt to integrate jUnit/Emma seems to have failed, though I
> don't know what it precisely is that I must have done wrong.
>
> When calling the emma or junit headless commands as described in "the
> book", I get a simply but strangely confusing message: "Cannot open
> launch config from XXX". Strange enough, since the launch configuration
> path & file in question seems to be perfectly fine.
>
> I've ruled out a lack of file permissions and/or an outdated
> buckminster/emma plugin version so far (just upgraded to the most recent
> 3.6 version for both), so perhaps someone from the community has an idea
> on how to proceed?!
>
> Here's what I get so far:
>
> ======================= (Console) ==================================
> $ java
> -
Dbuckminster.output.root=/var/lib/hudson/jobs/myproject/work space/buckminster.output
> -
Dbuckminster.temp.root=/var/lib/hudson/jobs/myproject/worksp ace/buckminster.temp
> -Xms256m -Xmx512m -Declipse.consoleLog=true -jar
>
/var/lib/hudson/tools/Buckminster_3.6/buckminster/plugins/or g.eclipse.equinox.launcher_1.1.0.v20100507.jar
> -application org.eclipse.buckminster.cmdline.headless -data
> /var/lib/hudson/jobs/myproject/workspace --loglevel debug -S
> /var/lib/hudson/jobs/myproject/workspace/commands.txt
> !SESSION 2010-07-02 20:36:40.030
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_20
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Framework arguments: -application
> org.eclipse.buckminster.cmdline.headless --loglevel debug -S
> /var/lib/hudson/jobs/myproject/workspace/commands.txt
> Command-line arguments: -application
> org.eclipse.buckminster.cmdline.headless -data
> /var/lib/hudson/jobs/myproject/workspace --loglevel debug -S
> /var/lib/hudson/jobs/myproject/workspace/commands.txt
>
> !ENTRY org.eclipse.buckminster.runtime 0 293 2010-07-02 20:36:41.475
> !MESSAGE build
> build
>
> !ENTRY org.eclipse.buckminster.core 0 293 2010-07-02 20:36:41.555
> !MESSAGE Doing full workspace refresh
> Doing full workspace refresh
>
> !ENTRY org.eclipse.buckminster.core 0 293 2010-07-02 20:36:41.556
> !MESSAGE Waiting for jobs to end
> Waiting for jobs to end
>
> !ENTRY org.eclipse.buckminster.runtime 0 293 2010-07-02 20:36:41.806
> !MESSAGE emma '-m' '-l'
>
'/var/lib/hudson/jobs/myproject/workspace/lu.kreios.myprojec t.client.tests/lu.kreios.myproject.client.tests.launch'
> '-o'
>
'/var/lib/hudson/jobs/myproject/workspace//buckminster.outpu t/junit.results/TEST-
lu.kreios.myproject.client.tests-all.xml'
> '--xml'
>
'/var/lib/hudson/jobs/myproject/workspace//buckminster.outpu t/emma.results/coverage.xml'
> '--html'
>
'/var/lib/hudson/jobs/myproject/workspace//buckminster.outpu t/emma.results/coverage.html'
> emma '-m' '-l'
>
'/var/lib/hudson/jobs/myproject/workspace/lu.kreios.myprojec t.client.tests/lu.kreios.myproject.client.tests.launch'
> '-o'
>
'/var/lib/hudson/jobs/myproject/workspace//buckminster.outpu t/junit.results/TEST-
lu.kreios.myproject.client.tests-all.xml'
> '--xml'
>
'/var/lib/hudson/jobs/myproject/workspace//buckminster.outpu t/emma.results/coverage.xml'
> '--html'
>
'/var/lib/hudson/jobs/myproject/workspace//buckminster.outpu t/emma.results/coverage.html'
>
> !ENTRY org.eclipse.buckminster.core 0 293 2010-07-02 20:36:41.939
> !MESSAGE Doing full workspace refresh
> Doing full workspace refresh
>
> !ENTRY org.eclipse.buckminster.core 0 293 2010-07-02 20:36:41.953
> !MESSAGE Waiting for jobs to end
> Waiting for jobs to end
> Cannot open launch config from
>
/var/lib/hudson/jobs/myproject/workspace/lu.kreios.myproject .client.tests/lu.kreios.myproject.client.tests.launch
> ============================================================ ========
>
> Perhaps its a problem of the new and improved headless jUnit
> functionality in 3.6 not being 100% compatible with Buckminster or the
> Emma plug-in at present?
>
> Any clues?
>
> Thanks a lot in advance,
>
> Chris
|
|
|
|
Powered by
FUDForum. Page generated in 0.03762 seconds