• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOGenerator Almost Working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOGenerator Almost Working


  • Subject: Re: EOGenerator Almost Working
  • From: Joe Moreno <email@hidden>
  • Date: Sat, 26 Jan 2008 23:22:40 -0800

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
  • Follow-Ups:
    • Re: EOGenerator Almost Working
      • From: Guido Neitzer <email@hidden>
References: 
 >EOGenerator Almost Working (From: Joe Moreno <email@hidden>)

  • Prev by Date: Re: EOGenerator Almost Working
  • Next by Date: Re: EOGenerator Almost Working
  • Previous by thread: Re: EOGenerator Almost Working
  • Next by thread: Re: EOGenerator Almost Working
  • Index(es):
    • Date
    • Thread