Re: Standalone Cocoa EOF Application Deployment
Re: Standalone Cocoa EOF Application Deployment
- Subject: Re: Standalone Cocoa EOF Application Deployment
- From: Doug C <email@hidden>
- Date: Wed, 29 Jun 2005 22:43:21 +1000
Hi Pierre,
On 29/06/2005, at 1:16 AM, Pierre Frisch wrote:
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.
Thanks for these suggestions. Unfortunately, I still cannot get my
application to run on a Mac without the WebObjects development tools
installed. I tried including all the .jar files from
/Library/WebObjects/lib/ into my project (and merging them into the
application), and also copying all of the .jar files into the
application bundle's Resources/Java/ directory, however, in both cases
the application does not launch with the error that EODisplayGroup
cannot be unarchived.
The launch error does not occur if I include
/System/Library/Frameworks/JavaEOCocoa.framework in the project, but
this then prevents the application from being run without WebObjects.
Does Apple provide any sample projects for an EOF Cocoa application
(that can be deployed without a WebObjects installation) that I could
examine and use as the basis for my project?
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:
This email sent to email@hidden