Re: creating first framework
Re: creating first framework
- Subject: Re: creating first framework
- From: Klaus Berkling <email@hidden>
- Date: Thu, 29 Sep 2011 12:18:46 -0700
On Sep 29, 2011, at 11:58 AM, Pascal Robert wrote: 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.
And don't forget to include the Project, User, Local, or System frameworks depending on where you put the framework if you embed your frameworks. I believe WOLips Ant Tools/Install will place your framework in /Library/Frameworks by default.
kib
"Live as if you were to die tomorrow. Learn as if you were to live forever." Mahatma Gandhi
Klaus Berkling Web Application Dev. & Systems Analyst DynEd International, Inc.
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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