Alexander Lehmann created JBEHAVE-729:
-----------------------------------------

             Summary: When running jbehave unit tests from inside a jar, the 
current path is converted to file:/home/.../
                 Key: JBEHAVE-729
                 URL: https://jira.codehaus.org/browse/JBEHAVE-729
             Project: JBehave
          Issue Type: Bug
          Components: Core
    Affects Versions: 3.6
         Environment: linux, windows
            Reporter: Alexander Lehmann
            Priority: Minor


I have tried to build a complete jbehave test into a jar file by maven assembly 
and then to run the test on another machine that doesn't have the dev system 
installed.

e.g. java -cp "lib\*" org.junit.runner.JUnitCore 
de.vodafone.jbehave.rrd.runner.Runner

the reporter tries to create the files in a path that contains 
$PWD/file:/$PWD/lib/jbehave/view, so I assume the path is converted from the 
jar location to an url which then is used as a regular path, this doesn't work 
on Windows or creates a directory file: in linux.

(In Linux it is possible to work around this by creating a symlink from / to 
file:)

I'll try to attach an example project if I can narrow this down



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to