• 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 create package problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Velocity EOGenerator create package problem


  • Subject: RE: Velocity EOGenerator create package problem
  • From: "Ren, Kevin" <email@hidden>
  • Date: Thu, 20 Dec 2007 16:33:23 +1300
  • Thread-topic: Velocity EOGenerator create package problem

from i understood today:
I have to put the whole class name in eomodel like recipe.eo.Recipe instead of just recipe. is that right?
 
Now i clean my old recipe/eo folder. sorry make confused i have one Recipe table/class and use package name recipe as well.
 
built with superclass package=base, then I got two folders/packages. one recipe.eo and recipe.eo.base.
 

1)  When you say you "from recipe.eo package could not access recipe.eo.base package", I'm not sure what this means.  EXACTLY what error are you getting. 
 
for example in my Ingredient class:
public class Ingredient extends _Ingredient{
 
}
error message: "_Ingredient class cannot be resolved to a type"
because it's sit in recipe.eo.base folder/package.
 
2) If your underscore file is generating a package name that is wrong, then your templates are wrong.  Either you are overriding the default templates that are inside of WOLips with your own that are old and wrong, or you are not up-to-date on your WOlips. 
 
 templates download from http://webobjects.mdimension.com/wolips/EOGenerator/Velocity EOGenerator Templates/
 
in the templates they are same as

#if ($entity.packageName)
package $entity.packageName;

#end
WOlips version is 3.3.4750

 thanks
 
kevin 

 

"This communication is confidential and may contain privileged and/or copyright material. If you are not the intended recipient you must not use, disclose, copy or retain it. If you have received it in error please immediately notify me by return email, delete the emails and destroy any hard copies. ANZ National Bank Limited does not guarantee the integrity of this communication, or that it is free from errors, viruses or interference."

 _______________________________________________
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: Velocity EOGenerator create package problem
      • From: Mike Schrag <email@hidden>
  • Prev by Date: RE: Migration code to Eclips/Wolips question
  • Next by Date: Re: Velocity EOGenerator create package problem
  • Previous by thread: Re: Velocity EOGenerator create package problem
  • Next by thread: Re: Velocity EOGenerator create package problem
  • Index(es):
    • Date
    • Thread