add the '@' sign, try "[EMAIL PROTECTED]" instead of "aa.count".

- jfv

Le 07-09-24 à 08:49, Mike Schrag a écrit :

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 PROTECTED]> 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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag% 40mdimension.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ jean_francois_veillette%40yahoo.ca

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to