Details
Description
We are trying to execute the JBehave test project from command line
after exporting it as executable jar from Eclipse. We are facing same
issues as JBEHAVE-729.
Just to mention, it works fine when we run the same from Eclipse directly, having issues while running from command line as executable jar.
Activity
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Summary | Issues while running JBehave project as executable jar from CLI | Unable to find locate stories running from CLI an executable jar built from Eclipse |
Affects Version/s | 3.6 [ 17721 ] | |
Description |
Please find the issues details.
Thanks Alexander for quick reply, Yeah we are facing issues with executable jar, where we have a class with main method and invoking a Jbehave test case. We don't have junit here. Just to mention, it works fine when we run the same from Eclipse directly, having issues while running from command line as executable jar. Will greatly appreciate any insight on this. Thanks, Suryakant -----Original Message----- From: Alexander Lehmann [mailto:alexlehm@gmail.com] Sent: Friday, August 31, 2012 10:58 AM To: Panda, Suryakant Cc: mauro@codehaus.org; Ganapathy, Ravi Sankar Subject: Re: Issues while running JBehave project as executable jar from CLI I'm running the example described in the issue still successfully with v3.6.9 on a production instance, so I'm pretty sure it works. However I'm running it via a shell script that invokes the runner from junit, maybe there is a difference with an executable jar, I never tested that. I can do a test project to see if it works. On 31.08.2012 19:53, Panda, Suryakant wrote: > > Hi Alexander, Mauro, > > We are trying to execute the JBehave test project from command line > after exporting it as executable jar from eclipse. We are facing same > issues as bug - http://jira.codehaus.org/browse/JBEHAVE-729 > > We also updated Jbehave version to 3.6 which is supposed to have the > fix, however it doesn’t work. Are there any other pointers you can > provide us ? > > Thanks for help. > > Suryakant > |
We are trying to execute the JBehave test project from command line after exporting it as executable jar from Eclipse. We are facing same issues as Just to mention, it works fine when we run the same from Eclipse directly, having issues while running from command line as executable jar. |
Mauro Talevi
made changes -
Summary | Unable to find locate stories running from CLI an executable jar built from Eclipse | Unable to locate stories running from CLI an executable jar built from Eclipse |
Description |
We are trying to execute the JBehave test project from command line after exporting it as executable jar from Eclipse. We are facing same issues as Just to mention, it works fine when we run the same from Eclipse directly, having issues while running from command line as executable jar. |
We are trying to execute the JBehave test project from command line
after exporting it as executable jar from Eclipse. We are facing same issues as Just to mention, it works fine when we run the same from Eclipse directly, having issues while running from command line as executable jar. |
Alexander Lehmann
made changes -
Attachment | jbehave-simple.zip [ 61152 ] |
Mauro Talevi
made changes -
Fix Version/s | 3.6.10 [ 18735 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Not A Bug [ 6 ] |
Mauro Talevi
made changes -
Fix Version/s | 3.7 [ 18390 ] | |
Fix Version/s | 3.6.10 [ 18735 ] |
I believe this is not the same issue as
JBEHAVE-729, apparently the story files are not found inside the jar