Re: EOModel is not in EOModelGroup's defaultGroup
Re: EOModel is not in EOModelGroup's defaultGroup
- Subject: Re: EOModel is not in EOModelGroup's defaultGroup
- From: Johnny Miller <email@hidden>
- Date: Tue, 16 Nov 2010 13:54:00 -1000
Yes. It is really strange. I'm now loading the Model to the default model group with addModelWithPath in my JUnit static initializer - which put a bandaid on the issue.
However, in an application that uses this framework if I put System.out.println(EOModelGroup.defaultGroup()); in the application's construction the model is in there.
thanks,
Johnny
On Nov 16, 2010, at 1:43 PM, Chuck Hill wrote: On Nov 16, 2010, at 2:21 PM, Johnny Miller wrote: Hi,
I'm trying to run some unit tests on a new model but for some reason the model is not getting loaded into the default model group.
If I put System.out.println(EOModelGroup.defaultGroup()); in the static initializer I can see that the model is not in there. How do I get the model into the defaultGroup?
I think this happened because I originally added the model to the wrong framework and then I moved it over via copy/paste.
Is it in the Resources/ folder of the project? -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects
Johnny Miller Kahalawai Media Corp
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden