Hi, the examples are not part of the release, hence by default they depend on the latest snapshot.
You can easily run them against a fixed version: http://jbehave.org/reference/stable/running-examples.html Cheers On 29/04/2011 20:51, Caoilte O'Connor wrote: > Hi, > I'm just trying to get started with JBehave, but it's a little tricky > working out which documentation to read for the latest stable version. > I downloaded the source bundle and have been following the website > documentation page but just hit a brick wall with trying to simulate > the gameoflife example in my own code > > Creating a simple POJO Step file as instructed here, > > http://jbehave.org/reference/stable/getting-started.html > > gets me this when running in maven (3.3.2 plugin) > > java.lang.ClassCastException: com.x.TestSteps cannot be cast to > org.jbehave.core.Embeddable > at > org.jbehave.core.embedder.Embedder.runAsEmbeddables(Embedder.java:112) > at > org.jbehave.mojo.RunStoriesAsEmbeddables.execute(RunStoriesAsEmbeddables.java:17) > > After a bit of digging I found out that even though I have the 3.3.2 > source bundle, all of the examples are actually referencing > 3.4-SNAPSHOT (via help:effective-pom). > > I'm a little bit confused now. > > Can someone point me at some examples that actually marry up to a > stable version? > > thanks muchly > > Caoilte --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
