• 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: Tobias Crawley <email@hidden>
  • Date: Mon, 21 Jan 2008 09:54:06 -0500

Ken:

The .eogen file is just the command line arguments to the generator. So looking at that file in a text editor will give you the command that wolips will use, without the /path/to/JavaEOGen prefix.

Tobias

On Jan 21, 2008, at 9:35 AM, Ken Anderson wrote:

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:
40anderhome.com


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:
40gmail.com


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: 
 >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>)
 >Re: Using JavaEOGenerator w/ WOLips (From: Ken Anderson <email@hidden>)

  • Prev by Date: Re: Writing a beginners tutorial, some D2W questions on Webassistant and ERAtachment
  • Next by Date: Re: Using JavaEOGenerator w/ WOLips
  • Previous by thread: Re: Using JavaEOGenerator w/ WOLips
  • Next by thread: re: No WOResponse?
  • Index(es):
    • Date
    • Thread