• 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: The great disappearing model trick!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The great disappearing model trick!


  • Subject: Re: The great disappearing model trick!
  • From: John Clayton <email@hidden>
  • Date: Thu, 17 Feb 2005 18:46:55 -0500

Hi,

I found the solution, so I'll share it. XCode does not in fact seem to add the model to your project. You have to add it to your classes group, with folder references and to your App server target.


On Feb 17, 2005, at 10:35 AM, David Griffith wrote:

John,

I've noticed in Xcode 1.5 on Mac OS X, when it asks you if you want to
insert the model in your application, it actually does not do it. Don't
know why. I also noticed I started getting some odd 'couldn't save' errors
with the Unsaved name of the model, which didn't even exist anymore.


So, to answer your question, you should add the EOModel to the Resources
directory in your project. Be careful when adding it too. You need to
select the correct option (Create Folder References I believe) when you are
adding it.


Regards,
Dave.

Hi,

I had created an EOModel and saved/inserted it into my project.  All
was well, was able to use it, no problems.  Came back today, ran the
app, and WO reports that there is no model in the project when I
attempt fetches etc..  I can't find it anywhere in XCode's views,
true...but I couldn't before either  (Using XCode 1.5).  Where should
it be, in the App Server target under bundle resources?  I reinserted
it into the project from EOModeler, seemingly successfully, but still
the same error.  Getting the default model reports that there are no
models in the project.  Super-stumped here, any help greatly
appreciated.


One other odd thing: System.out.println stops working once in a
while—clean build has no effect. Oddly, I have to log out and log
back in. Some weird issue with file descriptors for STDOUT? Clueless.



Cheers, John

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
david.griffith@infinit
y.ie


This email sent to email@hidden




_______________________________________________ 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: The great disappearing model trick!
      • From: Art Isbell <email@hidden>
References: 
 >Re: The great disappearing model trick! (From: David Griffith <email@hidden>)

  • Prev by Date: Re: EOModel java type and Value Type Question?
  • Next by Date: Re: Determining if an image exists
  • Previous by thread: Re: The great disappearing model trick!
  • Next by thread: Re: The great disappearing model trick!
  • Index(es):
    • Date
    • Thread