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 http://www.kahalawai.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com