Hi Dan,
That change was mine, done several month ago.
I think jbehave.AllBehaviours should be reverted to include all other
AllBehaviours individually but are you sure you want to hard wire all
other AllBehaviours one by one? It would be a nightmare to maintain
that list.
Hope this makes sense.
Regards,
Shane
On 12/1/06, Dan North <[EMAIL PROTECTED]> wrote:
Hi folks.
I'm finding I can't run isolated sets of behaviours, due to the sudden
proliferation of some magic code, namely:
return new
BehavioursLoader(getClass()).loadBehaviours();
This magic is a lot less expressive than listing the behaviours in each
extension (especially since many of them only have one behaviour class).
I was trying to run jbehave.AllBehaviours, which contains these:
jbehave.core.AllBehaviours.class,
jbehave.ant.AllBehaviours.class,
jbehave.jmock.AllBehaviours.class,
jbehave.junit.AllBehaviours.class,
jbehave.core.story.AllBehaviours.class
However, I was getting failures from
jbehave.extensions.threaded.swing. Not good (the fact it
was running at all, not the errors).
So, I've reverted the above AllBehaviours classes to hard-wired behaviours.
I noticed in reverting them that the build now runs the same 168 behaviours
twice, so this magic was also masking a duplication in the build.xml.
Please, in future, do not make changes like this without asking first.
Thanks,
Dan
--
Shane
http://www.shaneduan.com
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email