On 26/06/2011, at 4:23 AM, Henrique Prange wrote:
> Is the framework B in the classpath when running your tests? WOUnit rules are
> unable to load eomodels for bundles that are not in the classpath (in this
> case the test's classpath).
>
> If framework B is in classpath, the following configuration should be enough:
>
> public MockEditingContext ec = new MockEditingContext("Foo", "SomeModel");
That's what I would have thought, and yes framework B is on the classpath.
It's present in the workspace for building framework A, and I can see the model
in the directory structure. Yet WOUnit tells me it's unable to load the model.
This only happens during a Hudson build, it's fine within Eclipse. I'll keep
investigating.
--
Paul.
http://logicsquad.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]