• 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: Using JavaEOGenerator w/ WOLips
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using JavaEOGenerator w/ WOLips


  • Subject: Re: Using JavaEOGenerator w/ WOLips
  • From: Ken Anderson <email@hidden>
  • Date: Mon, 21 Jan 2008 09:35:38 -0500

Mike,

OK - I'm still having trouble here. I can successfully run JavaEOGenerator the way I want (without the 'base' prepended before the filename) using this command line:

/Developer/Applications/JavaEOGenerator.woa/JavaEOGenerator -model ~/ testing/Commoditrack.eomodeld -templatedir ~/testing -javatemplate JavaSourceEOF52.eotemplate -subclassjavatemplate JavaSubclassSourceEOF5.eotemplate -packagedirs -java - subclassdestination ~/testing/GeneratedEOs -destination ~/testing/src - verbose -filenametemplate "<wo:WOString value= \"[entity.classPackageName]\"/>.<wo:WOString value= \"[entity.classNameWithoutPackage]\"/>"

The important part being the end, where I set the filenames to work the old EOGenerator way...

Unfortunately, when I put this into the Filename Template: field of the eogen inspector:

"<wo:WOString value=\"[entity.classPackageName]\"/>.<wo:WOString value= \"[entity.classNameWithoutPackage]\"/>"

(with or without the outside quotes)

it still generates the base dirs. Even more of an issue, it still generates a file for EOGenericRecord (just weird).

How can I get JavaEOGenerator to work from WOLips with the filenames the way I want? I can't find the command line WOLips is using anywhere to help debug...

Thanks,
Ken


On Jan 18, 2008, at 3:10 PM, Mike Schrag wrote:

I feel like an idiot, but I don't know what you're talking about. If you mean the EOGenerator prefs panel, I only have:

Executable Path
Template Folder
Java Template
Subclass Java Template

I'm using 2.0.0.4118 because of that problem I had with WOFrameworks not showing up...
http://wiki.objectstyle.org/confluence/display/WOL/Generating+EO+Java+Classes

I'm actually not sure that JavaEOGenerator works properly with 4118, actually ... I have a fuzzy memory of having to fix some things with path management for it to work properly.

ms

_______________________________________________
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
  • Follow-Ups:
    • Re: Using JavaEOGenerator w/ WOLips
      • From: Tobias Crawley <email@hidden>
    • Re: Using JavaEOGenerator w/ WOLips
      • From: Mike Schrag <email@hidden>
References: 
 >Using JavaEOGenerator w/ WOLips (From: Ken Anderson <email@hidden>)
 >Re: Using JavaEOGenerator w/ WOLips (From: Mike Schrag <email@hidden>)
 >Re: Using JavaEOGenerator w/ WOLips (From: Ken Anderson <email@hidden>)
 >Re: Using JavaEOGenerator w/ WOLips (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: NSTimestamp mapped to DATE for mysql
  • Next by Date: Re: Using JavaEOGenerator w/ WOLips
  • Previous by thread: Re: Using JavaEOGenerator w/ WOLips
  • Next by thread: Re: Using JavaEOGenerator w/ WOLips
  • Index(es):
    • Date
    • Thread