• 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: Tobias Crawley <email@hidden>
  • Date: Wed, 19 Dec 2007 18:30:37 -0500

Kevin: 

Did you specify package information in your eomodel? In the Class Name field for the entity, have to give the full package path, e.g.: recipe.eo.Ingredient instead of just Ingredient.

Then you would specify the destination and subclassDestination as Source/.

Tobias

On Dec 19, 2007, at 6:23 PM, Ren, Kevin wrote:


Hi,

This is my .eogen content:

-destination Source/recipe/eo -java -javaTemplate _Entity.java -model recipe.eomodeld -subclassDestination Source/recipe/eo -subclassTemplates Entity.java -templatedir Templates -verbose

Run EOGeberate command, all good created all java classes for me in recipe/eo dir, but without any package code on the top.

I selected create package option, but didn't put anything in "Superclass package".

Is this bug in Velgen not pick up package name in the code?

I tried different way to setup "superclass package" to recipe.eo, still couldn't get package detail on the top of generated java class.


Thanks


Kevin



 _______________________________________________
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 create package problem (From: "Ren, Kevin" <email@hidden>)

  • Prev by Date: Re: Wosid suppression broken in 5.4?
  • Next by Date: Re: Velocity EOGenerator create package problem
  • Previous by thread: Velocity EOGenerator create package problem
  • Next by thread: Re: Velocity EOGenerator create package problem
  • Index(es):
    • Date
    • Thread