Re: Using JavaEOGenerator w/ WOLips

2008-01-21 Thread Ken Anderson
Thanks, but using Velocity now :) On Jan 21, 2008, at 4:22 PM, Lachlan Deck wrote: On 22/01/2008, at 6:44 AM, Ken Anderson wrote: A good shot - I had to do a bit more than that, but it doesn't throw an exception anymore. Unfortunately, it also fails to include the text inside the conditi

Re: Using JavaEOGenerator w/ WOLips

2008-01-21 Thread Lachlan Deck
On 22/01/2008, at 6:44 AM, Ken Anderson wrote: A good shot - I had to do a bit more than that, but it doesn't throw an exception anymore. Unfortunately, it also fails to include the text inside the conditional, whether or not negate="true" is there or not... Try: negate="[true]" On Jan

Re: Using JavaEOGenerator w/ WOLips

2008-01-21 Thread Ken Anderson
A good shot - I had to do a bit more than that, but it doesn't throw an exception anymore. Unfortunately, it also fails to include the text inside the conditional, whether or not negate="true" is there or not... Does anyone have an example similar to this? Thanks again all! Ken On Jan 21,

Re: Using JavaEOGenerator w/ WOLips

2008-01-21 Thread David Elliott
Hi Ken, A very quick look at the MacOSClassPath.txt file would seem to indicate they're not. You ought to be able to simply add them. -Dave On Jan 21, 2008, at 2:18 PM, Ken Anderson wrote: David, Seems like that is not supported... when I try this: value="boolean"> Test boolea

Re: Using JavaEOGenerator w/ WOLips

2008-01-21 Thread Ken Anderson
David, Seems like that is not supported... when I try this: value="boolean"> Test boolean stuff I get this: com.webobjects.appserver.parser.woml.WOMLTemplateParserException: Template: 71:1: wo:WOKeyValueConditional {null={key=[attribute.prototypeName], value=boolean}} has no

Re: Using JavaEOGenerator w/ WOLips

2008-01-21 Thread Mike Schrag
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 ? This is one of the re

Re: Using JavaEOGenerator w/ WOLips

2008-01-21 Thread Ken Anderson
Thanks David - shows you how much I use the front end part of WOF :) On Jan 21, 2008, at 11:26 AM, David LeBer wrote: On 21-Jan-08, at 11:08 AM, Ken Anderson wrote: Looks like I'll have to go Velocity as well. I have comparisons in my EOGenerator templates like: <$if Attribute.prototypeN

Re: Using JavaEOGenerator w/ WOLips

2008-01-21 Thread David LeBer
On 21-Jan-08, at 11:08 AM, Ken Anderson wrote: 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 pe

Re: Using JavaEOGenerator w/ WOLips

2008-01-21 Thread Ken Anderson
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, 200

Re: Using JavaEOGenerator w/ WOLips

2008-01-21 Thread Tobias Crawley
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 t

Re: Using JavaEOGenerator w/ WOLips

2008-01-21 Thread Mike Schrag
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

Re: Using JavaEOGenerator w/ WOLips

2008-01-21 Thread Ken Anderson
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 ~/te

Re: Using JavaEOGenerator w/ WOLips

2008-01-18 Thread Mike Schrag
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.ob

Re: Using JavaEOGenerator w/ WOLips

2008-01-18 Thread Ken Anderson
Mike, 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... Ken

Re: Using JavaEOGenerator w/ WOLips

2008-01-18 Thread Mike Schrag
If I go with #1, I don't see how I can pass JavaEOGenerator the right flags to use a different path for the underscore classes. In the "Destination Paths" section of the .eogen file editor there is a setting to specify the subclass destination folder. ms

Using JavaEOGenerator w/ WOLips

2008-01-18 Thread Ken Anderson
I'm trying to integrate JavaEOGenerator into my process, and I think I have 2 choices: 1. Use the prefs panel WOLips has to setup and use JavaEOGenerator 2. Continue with my old way of having an ant target do the generation I currently have my underscore classes in: GeneratedEOs/com.commodi