Re: There are no models in the current EOModelGroup
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.