• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOModel is not in EOModelGroup's defaultGroup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
http://www.kahalawai.com



 _______________________________________________
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

  • Follow-Ups:
    • Re: EOModel is not in EOModelGroup's defaultGroup
      • From: Chuck Hill <email@hidden>
References: 
 >EOModel is not in EOModelGroup's defaultGroup (From: Johnny Miller <email@hidden>)
 >Re: EOModel is not in EOModelGroup's defaultGroup (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WebObjects scalability question - WOSession?
  • Next by Date: Re: EOModel is not in EOModelGroup's defaultGroup
  • Previous by thread: Re: EOModel is not in EOModelGroup's defaultGroup
  • Next by thread: Re: EOModel is not in EOModelGroup's defaultGroup
  • Index(es):
    • Date
    • Thread