Re: Using JavaEOGenerator w/ WOLips
Re: Using JavaEOGenerator w/ WOLips
- Subject: Re: Using JavaEOGenerator w/ WOLips
- From: Ken Anderson <email@hidden>
- Date: Mon, 21 Jan 2008 11:08:07 -0500
Looks like I'll have to go Velocity as well. I have comparisons in my
EOGenerator templates like:
<$if Attribute.prototypeName eq 'boolean'$>
Which doesn't have an equivalent that I know of in the WO template
world.
Any suggestions from people using JavaEOGenerator ?
Ken
On Jan 21, 2008, at 9:37 AM, Mike Schrag wrote:
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@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
_______________________________________________
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