• 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: Eclipse/WOLips not seeing multiple databases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eclipse/WOLips not seeing multiple databases


  • Subject: Re: Eclipse/WOLips not seeing multiple databases
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 19 Jan 2009 12:38:24 -0800


On Jan 19, 2009, at 5:56 AM, David Ress wrote:

I have finally ported a large project over to the Eclipse/WOLips (3.3.2/3.3.5563) environment.

The 3.4 version of Eclipse with the WOLips nightly makes all this path and framework handling MUCH MUCH MUCH nicer. I suggest moving to that now. It is stable and ready for use.



However, I am still not able to run the program.

When I try running the program, I see messages in the console like

<main> Failed to load file:////Library/Framework/xxxxxEO.framework/Resources/Info.plist . Treating as empty.

Not sure if it makes any difference, but there is an extra / after file:


I see the above the message for 5 frameworks, each of which contains EOModels of a database (yes, this program actively connects to 5 databases concurrently). The 5 EO frameworks are built with XCode 3, and yes, the file is in the Resources directory.

Is it possible that it is corrupt or invalid?


Oh, I have these frameworks installed in the WebObjects Frameworks "directory" in the eclipse project, correct?

I am not sure what you mean by that, but it sounds wrong. They should be in /Library/Frameworks or ~/Library/Frameworks



In the Application class, I have a line to print out the model names in the default group of EOModelGroup. I see in this listing only 1 model instead of the 5 I have seen when the project ran in XCode. The program then terminates saying it does not have a model for a particular table which it is trying to read from.

Any ideas why the program is not seeing the Info.plist? I cannot figure out why I see 4 forward-slashes after "file:" - are they a


Check in ~/Library/wobuild.properties, see if there is an extra slash in there.


I believe that since the Info.plist are not loading, the EOModelGroup is not seeing all the databases. Do you concur? Is there something I might try?


That seems like a reasonable belief.

Chuck


-- 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







_______________________________________________ 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: Eclipse/WOLips not seeing multiple databases
      • From: Mike Schrag <email@hidden>
References: 
 >Eclipse/WOLips not seeing multiple databases (From: David Ress <email@hidden>)

  • Prev by Date: Re: a nice SVN GUI client ?
  • Next by Date: Re: Handling Session timeout with ajax
  • Previous by thread: Re: Eclipse/WOLips not seeing multiple databases
  • Next by thread: Re: Eclipse/WOLips not seeing multiple databases
  • Index(es):
    • Date
    • Thread