Le 2011-09-29 à 14:54, Theodore Petrosky a écrit : > well, almost. > > everything works fine on my develop box but I don't get the deployment. > > Under the deployment section of Properties I selected the check boxes to > embed all frameworks. However, when I try to run the app, I see errors that > it can not find the models: > > Sep 29 14:45:06 ASEmployees[2004] DEBUG NSLog - Finished initialization > after launch: ERXExtensions > Sep 29 14:45:06 ASEmployees[2004] DEBUG NSLog - Finished initialization > after launch: ERPrototypes > Sep 29 14:45:06 ASEmployees[2004] DEBUG NSLog - Finished initialization > after launch: Ajax > Sep 29 14:45:06 ASEmployees[2004] INFO > er.extensions.appserver.ERXApplication - Welcome to ASEmployees ! > Sep 29 14:45:06 ASEmployees[2004] WARN er.extensions.eof.ERXModelGroup - > Clearing previous class descriptions > Sep 29 14:45:06 ASEmployees[2004] ERROR > er.extensions.eof.ERXEntityClassDescription - Error registering model: > ASEmployeeList > ClassNotFoundException: com.as.model.ASHolidays > > Obviously, I am missing some step
You need to build the framework before you can build the app. It's not needed when you are inside Eclipse in development, but Ant requires that the framework exists in the file system. Yes, this is confusing a lot of people. > Ted > > > --- On Wed, 9/28/11, Kieran Kelleher <[email protected]> wrote: > > From: Kieran Kelleher <[email protected]> > Subject: Re: creating first framework > To: "Paul Yu" <[email protected]> > Cc: "Theodore Petrosky" <[email protected]>, [email protected] > Date: Wednesday, September 28, 2011, 8:53 AM > > Minor typo Paul, > The answer is to use the /etc/WebObject/[ApplicationName]/Properties file > where ApplicationName is the exact application name given to the app in > WOMonitor. It is nothing to do with the bundle name. > Regards, Kieran :-) > On Sep 28, 2011, at 8:12 AM, Paul Yu wrote: > > The answer is to use the /etc/WebObject/[InstanceName]/Properties file > > > _______________________________________________ > 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/probert%40macti.ca > > This email sent to [email protected] _______________________________________________ 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]
