The spring-security example shows how to configure an ExplicitStoryPathResolver.

Cheers


On 19 Sep 2011, at 14:15, Robison Santos <[email protected]> wrote:

> Good, I'll try that.
> 
> Do you have any code example I can base myself on? If not, that's not a 
> problem.
> 
> Thanks again,
> 
> Robison
> 
> On Sun, Sep 18, 2011 at 9:06 PM, Mauro Talevi <[email protected]> 
> wrote:
> By default, the .story files are looked up in the same package as the the 
> Story* classes.
> 
> If you want a different behaviour, you can implement your own 
> StoryPathResolver and configure it in the Configuration.
> 
> Cheers
> 
> 
> On 19/09/2011 02:01, Robison Santos wrote:
> Hi, I'm new here and I wonder how can I write a "JBehave project" with a 
> structure like this:
> 
> -src
>   - com
>      - jbehave
>         - mystories
>                 - story1.story
>                 - story2.story
>         - mysteps
>                 - Story1Steps.java
>                 - Story2Steps.java
>         - myconfig
>                 - Story1.java
>                 - Story2.java
> 
> Having, Story1.java and Story2.java subclasses of JUnitStory.
> 
> I'm trying, without success, to set those classes to find their specific 
> stories in the path /com/jbehave/mystories, and I'm now out of ideas.
> Is there a way to do that?
> 
> Thanks,
> -- 
> Robison W R Santos
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>   http://xircles.codehaus.org/manage_email
> 
> 
> 
> 
> 
> -- 
> Robison W R Santos 
> Bach. Ciências da Computação
> 
> "NUNCA generalise. Generalisar é SEMPRE um erro."

Reply via email to