Re: webobject framework
Re: webobject framework
- Subject: Re: webobject framework
- From: ".::welemski::." <email@hidden>
- Date: Sat, 29 Apr 2006 14:43:34 +0800
I forgot to add this one;
This maybe the reason why I have to added my java class files to both
in my framework and in my project because of this unupdated object or
configuration or something in my project.
On 4/29/06, .::welemski::. <email@hidden> wrote:
Hi Lists,
This is my problem actually;
I have my framework compiled succesfully and before that I set my
Development Build configuration to install the product in
"/Library/Frameworks/";
Inside that custom framework I put two EOModels; EOMySQLDB and EOLDAP
along with their Java generated class and my own java class to do
specific task.
Then in my separate project I added that framework which is in
"/Library/Framework
When I compiled my project it still generate an error "cannot resolve
symbol" so then I added the Java generated classes of my EOMySQLDB the
same java class that is in my custom framework. I then recompiled my
project and then it works fine.
From my description above I don't seem to understand why do I have to
add the generated java classes of my EOMySQLDB in to my project when
that java classes already exists on my custom framework.
Here's another one. I changed and added some of the attributes in my
E_Enity of EOMySQLDB and my Java classes in my framework and my java
classes in my project then I recompiled my custom framework. In my
XCode the code sense updated and it detected the new attributes but in
WOBuilder the attributes that I deleted were still there and some of
the attributes were not there although it compiled succesfully.
So then I deleted all the java class files in my project except for
the ones in my custom framework then I recompiled it. XCode generated
an error. I then ignored this and proceed to WOBuilder and added a new
variable of type E_MyEntity but still it detected the old attributes
that I already deleted.
My project has gone crazy and I dunno what to do.
Can anyone help me?
On 4/29/06, Chuck Hill <email@hidden> wrote:
>
> 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
>
>
>
>
>
--
-- -- -- -- -- -- -- -- -- -- --
welemski
-- -- -- -- -- -- --
--
-- -- -- -- -- -- -- -- -- -- --
welemski
-- -- -- -- -- -- --
_______________________________________________
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