• 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: There are no models in the current EOModelGroup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: There are no models in the current EOModelGroup


  • Subject: Re: There are no models in the current EOModelGroup
  • From: Art Isbell <email@hidden>
  • Date: Wed, 12 Feb 2003 15:22:06 -1000

On Wednesday, February 12, 2003, at 01:42  PM, Jevon Hills wrote:

My project now cant find it's model it seems.  I printed out
System.out.println( "model:" + EOModelGroup.defaultGroup() ); and get
'There are no models in the current EOModelGroup' in response.

Ensure that EOModeler open the model that's a Resource in either a framework or your app. If a model gets corrupted somehow, it can appear to be in your project and product, but can't be loaded at runtime.


When I commandline build and run there doesn't seem to be any issue.
So it appears that the problem is with a change in my project builder
files.

This is odd because pbxbuild uses Project Builder's *.pbproj's contents.


Just before this problem showed up I 'cleaned' all targets, just to
insure that I was getting accurate builds.

This might suggest that a model that is no longer in your project remained in your project's "build" directory and was found at runtime. Cleaning removed that model, but subsequent builds didn't replace it.


Check your project(s) to ensure that your model is in the Resources folder. Verify that the model can be opened in EOModeler. Maybe delete your project's "build" (a more severe version of cleaning). Rebuild using Project Builder which will result in a valid build unlike pbxbuild which can do the wrong thing if its arguments aren't correct.

Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >There are no models in the current EOModelGroup (From: Jevon Hills <email@hidden>)

  • Prev by Date: Re: Traversing keys or EOEntities
  • Next by Date: Re: Traversing keys or EOEntities
  • Previous by thread: There are no models in the current EOModelGroup
  • Next by thread: Re: There are no models in the current EOModelGroup
  • Index(es):
    • Date
    • Thread