Re: [jbehave-user] Story language settings improvement suggestion

2013-10-08 Thread Hans Schwäbli
That would be no problem since you can set the language explicitly with a property like -Duser.language. I know that Oracle database has such defaults when you install it, but you can configure it afterwards to other timezones etc. This is not uncommon to do so. If you have a better idea of

[jbehave-user] Re: StepMonitor not displayed anymore

2013-10-08 Thread Hans Schwäbli
It seems to be because of my POM configuration. I use a dependency forJBehave Web 3.6-SNAPSHOT. But instead of using JBehave-Core 3.7.4 I configured to use transitive dependency JBehave-Core 4.0-beta3. When I changed it back to 3.7.4 then it worked again. As it seems it is a bit dangerous to

[jbehave-user] Gradle and JBehave

2013-10-08 Thread Hans Schwäbli
A few weeks ago I started experimenting using Gradle on JBehave. I never became an expert on Maven although I think it is better than Ant. So I wanted to give Gradle a chance. I like the concept of it to mix imperative and declarative statements. This is the future I think. But things did not

Re: [jbehave-user] Gradle and JBehave

2013-10-08 Thread Mauro Talevi
That's not happening. But you are welcome to submit an example of using Gradle just like there is an Ant one. Using a build tool for a downstream use does not need the project to be built with the same tool. Each consumer should use the tool that's most comfortable to them. On 8 Oct 2013,

[jbehave-user] How to access the JBehave system property?

2013-10-08 Thread Hans Schwäbli
I set a system property according to this description: http://jbehave.org/reference/stable/maven-goals.html But I could not figure out how to use it then, starting it with Maven goals clean and integration-test. I extend JUnitStories. In that class I try to access the property in the constructor

[jbehave-user] Re: How to access the JBehave system property?

2013-10-08 Thread Hans Schwäbli
I found a solution. Good that it is open source, so I can look into the code to find answers. As it seems org.jbehave.core.Embeddable.useEmbedder(Embedder) is called a bit late in the execution process. If I overwrite org.jbehave.core.junit.JUnitStories.run() and get the system properties from

[jbehave-user] Re: How to access the JBehave system property?

2013-10-08 Thread Hans Schwäbli
My idea won't work. I don't know if it is possible to set the embedder earlier by JBehave so that he can be used in the embeddable constructor. 2013/10/8 Hans Schwäbli bugs.need.love@gmail.com I found a solution. Good that it is open source, so I can look into the code to find answers.