[jbehave-user] Re: Jbehave reporting question

2013-04-15 Thread Kaustubh Joshi
I am jbehave user, and just registered on the codehaus portal.So i don't know which mail list is correct hence added all list..sorry for that I just want to know,how calls are made for html report file which user see as report of story execution? I want to update html-output.ftl file such a way th

Re: [jbehave-user] Loading Stories in OSGi Environment

2013-04-15 Thread Andreas Ebbert-Karroum
Great idea. Will try local file URL tomorrow! Thanks! -- Andreas Ebbert-Karroum (mobil) Am 15.04.2013 22:13 schrieb "Mauro Talevi" : > Hi, > > if you're having trouble using the classloader to find resources, why not > use other means, e.g. URL, either on local filesystem or remote? > > Classloa

Re: [jbehave-user] Loading Stories in OSGi Environment

2013-04-15 Thread Mauro Talevi
Hi, if you're having trouble using the classloader to find resources, why not use other means, e.g. URL, either on local filesystem or remote? Classloading is the most common but not the only way to find the stories: http://jbehave.org/reference/stable/locating-stories.html Cheers On 15/04/

Re: [jbehave-user] Loading Stories in OSGi Environment

2013-04-15 Thread Andreas Ebbert-Karroum
Hi Mauro, I've posted more details on Stackoverflow: http://stackoverflow.com/questions/16019502/classloader-finds-resource-only-in-specific-threads While further investigating the issue I came to the conclusion that jbehave-osgi would not help solving the problem we're having right now. Maybe i

Re: [jbehave-user] Loading Stories in OSGi Environment

2013-04-15 Thread Mauro Talevi
Hi Andreas, please use JIRA http://jira.codehaus.org to raise issues and not Github, which is only used for source repo replication. As for compatibility with previous versions of OSGi, you could consider writing your own implementation of ResourceLoader or StoryLoader. Cheers On 15/04/201

Re: [jbehave-user] No stories found

2013-04-15 Thread Mauro Talevi
Try using: List storyPaths = new StoryFinder().findPaths(CodeLocations.codeLocationFromClass(this.getClass()), "**/*.story", null); Have a look at the examples: http://jbehave.org/reference/stable/running-examples.html Or consider using a Maven archetype to get started: http://jbehave.org/

Re: [jbehave-user] No stories found

2013-04-15 Thread Cristiano Gavião
Have you tried to run the provided examples? that is a excellent way to figure out this kind of configuration problems. regards 2013/4/15 Kendall Shaw > How can I associate a steps class with a story? It would be great if I > could somehow indicate: use this class with this story. > > So far,

[jbehave-user] No stories found

2013-04-15 Thread Kendall Shaw
How can I associate a steps class with a story? It would be great if I could somehow indicate: use this class with this story. So far, all of my attempts have resulted in no stories being found. From main: Embedder emb = new Embedder(); List stories = Arrays.asList("stories/tes

Re: [jbehave-user] Re: Loading Stories in OSGi Environment

2013-04-15 Thread Cristiano Gavião
Hi, The OSGi support is still experimental. I'm working on it to be able to release a 1.0 version soon. but it will work only from version 4.3 that is supported from eclipse 3.7 (indigo) regards, Cristiano On 15/04/13 10:11, Andreas Ebbert-Karroum wrote: Hi, minor correction. Rational F

[jbehave-user] Re: Loading Stories in OSGi Environment

2013-04-15 Thread Andreas Ebbert-Karroum
Hi, minor correction. Rational Functional Tester is based on Eclipse 3.6.2 ... I have no clue what OSGi version that Eclipse version supports. Apparently something less than 4.3. Thanks for your input, Andreas Am 15. April 2013 14:44 schrieb Andreas Ebbert-Karroum < andreas.ebbert-karr...@codec

[jbehave-user] Loading Stories in OSGi Environment

2013-04-15 Thread Andreas Ebbert-Karroum
Hi, I'd like to use JBehave in combination with Rational Functional Tester. So far, we did not use the jbehave-osgi library [1]. Even without the library, most things work. Our major pain at the moment is, that givenStories don't work, because the ContextLoader cannot find the resources for story