Hi Pierre,
Thanks for your help.
1- I would really suggest that you place you code in a package, this is very strongly recommended by the Java language.
No problem. I did that and it still shows up in my generated EOs: package ${entity.packageName};
Here's the strange part, I've edited the _Entity.java and removed the following line but the package still shows up. package ${entity.packageName};
I can't figure out where EOGenerator is picking up its template files.
2- I have fond that problem too in the default templates open you eogen file and at the bottom define a variable EOGenericRecord with value EOGenericRecord. This looks silly but it is done so that you can have you own sub class of EOGenericRecord.
Oh, that helps! Thanks. I'm getting closer.
3- Which version of WebObjects are you using? You need WebObjects 5.4 or better for generics to work.
Ok, right – I forgot that. I've been using a script to switch between WO 5.3 & WO 5.4. Using 5.4, this problem goes away.
So, I'm very close. But, I still get this as my first line: package ${entity.packageName};
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
|