Hi Diogo,

in JBehave 3.x you can have textual input looked up in different code
locations:

- from classpath (c.f. TraderStories in trader example).
- from file URL (c.f. URLTraderStories in trader example).
- from remote URL (c.f. RemoteTraderStories in trader example).

In JBehave 2.x only the classpath lookup is possible, and only using a
one-to-one mapping between Java class and textual story.

>From what you're describing your use case is satisfied by using file URLs.

Cheers

On 23/08/2010 14:52, Diogo Luis Andrade Silva wrote:
> Hi,
>  
>   I'd like to know if there's a way to configure JBehave to have the
> scenario and java file's in diferent directories, packages or computers,
> like:
>  
> ..\jbehave\java\LoginTest.java
> ..\jbehave\scenarios\login_test.scenario
>  
> OR
>  
> \\computer1\..\jbehave\java\LoginTest.java
> <file://\\computer1\..\jbehave\java\LoginTest.java>
> \\computer2\
> <file://\\computer2\..\jbehave\scenarios\login_test.scenario>..\jbehave\scenarios\login_test.scenario
> <file://\\computer2\..\jbehave\scenarios\login_test.scenario>
>  
>  
> Thanks,
> Diogo Luis Andrade Silva



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

    http://xircles.codehaus.org/manage_email


Reply via email to