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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to