• 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: velocity eogenerator problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: velocity eogenerator problem


  • Subject: Re: velocity eogenerator problem
  • From: Mike Schrag <email@hidden>
  • Date: Mon, 23 Jun 2008 11:39:44 -0400

The default eogenerator templates use generics. NSArray/Set/etc is only generic in WO 5.4 or Project Wonder. If you are using WO 5.3 without Wonder, then your NS* is not generic and cannot use the generic templates, so you must use the 1.4 templates.

ms

On Jun 23, 2008, at 11:33 AM, Patrick Robinson wrote:

I'm converting an old Xcode project to WOLips (using Tiger, java 1.5, Eclipse 3.3.2, WOLips 3.3.5266, and WO 5.3.3).

I reached the point where I made a change to my model which resulted in velocity EOGenerator being run, and now I have a bunch of code that won't compile. I'm getting:

The type NSArray is not generic; it cannot be parameterized with arguments <Award>

All my WOLips EOGenerator system preferences are blank (i.e. default). In my eogen file, I've specified the superclass package, and the Destination and Subclass Destination folders, and that's it.

Project Wonder is not involved at all.

I've seen that others have had this problem, and the solution for them has always seemed to involved use of the 5.4 vs 5.3 versions of Wonder - but this project doesn't use Wonder.

If I check the EOGenerator preference box for "Use Java 1.4 Templates (Velocity only)", then this problem goes away. But, why? I'm using java 1.5.

What's the problem here?

--
Patrick Robinson
AHNR Info Technology, Virginia Tech
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


_______________________________________________
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


References: 
 >velocity eogenerator problem (From: Patrick Robinson <email@hidden>)

  • Prev by Date: velocity eogenerator problem
  • Next by Date: Re: Generics and Filtering on a Subclass
  • Previous by thread: velocity eogenerator problem
  • Next by thread: WO 5.4 form value encoding problem
  • Index(es):
    • Date
    • Thread