Re: webobject framework
Re: webobject framework
- Subject: Re: webobject framework
- From: Chuck Hill <email@hidden>
- Date: Fri, 28 Apr 2006 09:35:34 -0700
On Apr 28, 2006, at 2:40 AM, .::welemski::. wrote:
:D Sorry... I thought this will send to everybody
Hi Lists,
I have another concern about frameworks on webobjects. I added an
EOModel in my framework then i also added the classes that the EOModel
generated for me. My framework compiled sucessfully without errors. So
i made a another project that deals with database and added the
framework.
That should "just work". Have you installed the framework in /
Library/Frameworks? Perhaps it is picking up an older version from
there.
When I compiled my application it shows no error which
means the classes and the EOModel within the framework has been
detected. But when I tried to run and login to the database it has a
lot of errors. It shows that It cannot connect to the database and
that it can not find that particular entity...
That sounds like either the framework is not on the classpath at run
time or that the wrong version is on the classpath.
But when I added the class files in my project and the my framework as
is... and then recompile my project again... it works... but sometimes
it also looks for that eomodel and that It can't find it.
That sounds like something is wrong in that project or on you
machine. I don't have any idea what
Now i have redundant class files and sometimes redundant eomodels...
one in my framework and one in my new project.
You should not do that and should not have to do that.
Is there a way to solve this problem?
Probably, but it is not clear what the actual problem is.
Chuck
--
Coming in late 2006 - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden