Okay, eventually worked out that this does work with Groovy glue but requires an enormous class path to pick up all the dependencies:
java -cp <lots-and-lots-of-jars> cucumber.api.cli.Main --glue classpath:com.mytest.cuke.glue path/to/features
Need to package all your glue code plus all dependencies into a single jar, e.g. using maven-shade-plugin.
On Saturday, 11 May 2013 22:10:44 UTC+10, Mike Howells wrote:
--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
As