Re: EOGenerator Error
Re: EOGenerator Error
- Subject: Re: EOGenerator Error
- From: Mike Schrag <email@hidden>
- Date: Mon, 24 Sep 2007 08:49:32 -0400
It sounds like you are calling "count" on a relationship in your
template, which is not a method on eorelationship.
ms
On Sep 24, 2007, at 5:04 AM, Jan Grathwohl <email@hidden>
wrote:
Hi,
I am currently trying to set up a new development system with WO
5.3.3, OS X 10.4, but EOGenerator won't work (Version 1.7 downloaded
from rubicode.com).
If I run it from within Eclipse, I get a blank error message, and if
I copy the content of the .eogen file to the command line and
execute it there, I get the following error output:
janbook:~/workspace/SSOBusinessLogic jangrathwohl$ /Developer/bin/
eogenerator -destination generated -java -javaTemplate
SSOJavaSource.eotemplate -model Resources/SSO.eomodeld -
subclassDestination src -subclassJavaTemplate
SSOJavaSubclassSource.eotemplate -templatedir etc/eogenerator -verbose
Search path is:
(
"etc/eogenerator",
"/Users/jangrathwohl/Library/EOGenerator",
"/Users/jangrathwohl/Developer/EOGenerator",
"/Library/EOGenerator",
"/Developer/EOGenerator",
"/Network/Library/EOGenerator",
"/Network/Developer/EOGenerator",
"/Developer/bin"
)
Generating class file generated/_ApplicationUserData.java from
template SSOJavaSource.eotemplate
Using template at path etc/eogenerator/SSOJavaSource.eotemplate
2007-09-24 10:31:05.450 eogenerator[2287] *** Uncaught exception:
<NSUnknownKeyException> [<EORelationship 0x371d00>
valueForUndefinedKey:]: this class is not key value coding-compliant
for the key count.
Trace/BPT trap
I have tried it with several different EOModels, which all generate
without problems on our old systems with WO 5.2, OS X 10.3
Can someone on this list give me some hints what this error message
means or how it can be fixed?
Thanks
Jan
_______________________________________________
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
_______________________________________________
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