Re: Standalone Cocoa EOF Application Deployment
Re: Standalone Cocoa EOF Application Deployment
- Subject: Re: Standalone Cocoa EOF Application Deployment
- From: Pierre Frisch <email@hidden>
- Date: Tue, 28 Jun 2005 08:16:34 -0700
Hi Doug,
You need to fix the path or to include the adequate library in your
application.
The jar that you need are in /Library/WebObjects/lib/. Note that
these are not the same than the one in the Frameworks, Those are full
archive of the Frameworks and contains all the necessary resources. I
would include the one you need in the application package and include
them in the application path. That makes you completely independent
of WebObjects installation. If you are using the Apple supplied
bootstrap class you can achieve this very easily by copying the jar
in Content/Extensions and they will automatically be loaded by the
bootstrap class. This is a supported but undocumented behavior.
Pierre
On 28-Jun-05, at 5:14 AM, email@hidden wrote:
I am evaluating EOF for a project that involves multiple users
connecting
to a central database.
I have created a Cocoa EOF application using XCode 2.1 and Tiger,
and this
runs perfectly on the development Mac. However, if I copy the
application
to another Mac (which does not have the WebObjects development tools
installed), my Cocoa EOF application does not run, and the
following error
is printed to the console:
Link (dyld) error:
Library not loaded:
/System/Library/Frameworks/JavaEOCocoa.framework/Versions/A/
JavaEOCocoa
I have tried removing the JavaEOCocoa framework from the project,
but this
results in another error (unable to unarchive EODisplayGroup).
Merging
the framework .jar files into the build target does not help.
How do I make my application standalone so that it does not require
the
WebObjects tools to run?
Thanks,
Doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40spearway.com
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