I'm running jbehave in ant and eclipse. I have a Steps class that
calls ClassLoader.getSystemResource("file.properties"). Using
Eclipe's JUnit runner works well. The file is found, and the
properties loaded. When I try to run in ant, however, file.properties
can't be found, and I get a NullPointerException. My ant line looks
like this:
<scenarioRunner scenarioIncludes="**/*.java"
testSourceDirectory="${test.behavior.dir}"
scope="test"
scenarioexcludes="**/*Steps.java,**/base/**/*.java,**/model/**/*.java"
/>
This worked great in ant until I added the
ClassLoader.getSystemResource call. I have no constructor in any of
my Scenario classes that accept class loaders as parameters. Any
suggestions?
Thanks.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email