OK, i was able to strip down the Trader example to the spot where it began failing with the exact same error message.

The culprit appears to be the ScenarioReporter. Applying my findings to the Stock example i submitted, I was able to get it working:

before:

        public StockPrices() {
                super(new StockSteps());
        }

after:

        public StockPrices() {
                super(new PropertyBasedConfiguration() {
                        @Override
                        public ScenarioReporter forReportingScenarios() {
                                return new PrintStreamScenarioReporter();
                        }
                }, new StockSteps());
        }

So, this is enough for me to get going, but I don't know why it's happening, and the docs should probably be updated to reflect this...

Thanks for your help!


On Oct 6, 2009, at 10:15 AM, Nayan Hajratwala wrote:

trader example works on command line (via maven) as well as through eclipse.

I'm now trying to slowly transform that example into my example to see where the problem lies.

On Oct 6, 2009, at 9:54 AM, Mauro Talevi wrote:

Mauro Talevi wrote:
Nayan Hajratwala wrote:
Thanks for the quick response... unfortunately, i'm still getting the
Did my example work for you? (with the modifications?)

I haven't tried running it. I'll do so later and get back to you. In the mean time, have you tried running the trader example?

I've tried the trader example with square brackets [] instead of angle brackets <> and it works fine.

Cheers


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email





Reply via email to