Sorry .. You're beyond my JavaEOGenerator experience at this point. I use Velocity EOGenerator.

ms

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com

This email sent to [EMAIL PROTECTED]



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to