Re: EOGenerator Almost Working

2008-01-28 Thread David Avendasora
Any chance of you adding them to the list of Templates at http:// wiki.objectstyle.org/confluence/display/WOL/*EOGenerator+Templates ? Or send them to me and I'll add them! Thanks, Dave On Jan 27, 2008, at 10:25 AM, Mr. Pierre Frisch wrote: I have build my own templates ___

Re: EOGenerator Almost Working

2008-01-27 Thread Joe Moreno
Thanks, all. I upgraded to the latest WOLips build and, with some helpful hints from cug (Guido Neitzer) I got it working. - Joe On Jan 27, 2008, at 07:54:18, Mike Schrag wrote: I just tested this now with totally stock templates (I only use the built-in ones) and it's working fine for me b

Re: EOGenerator Almost Working

2008-01-27 Thread Mike Schrag
I just tested this now with totally stock templates (I only use the built-in ones) and it's working fine for me both with _WonderEntity.java/WonderEntity.java (defaults to ERXGenericRecord) and _Entity.java/Entity.java (defaults to EOGenericRecord). Are you sure you're not accidentally over

Re: EOGenerator Almost Working

2008-01-27 Thread Mr. Pierre Frisch
Mike, I have build my own templates but I tried the default ones, they do not work if you do not define the $EOGenericRecord variable. The test to check if it is defined does not work. Pierre -- Pierre Frisch [EMAIL PROTECTED] On Jan 27, 2008, at 7:01, Mike Schrag wrote: Please try updat

Re: EOGenerator Almost Working

2008-01-27 Thread Mike Schrag
Please try updating WOLips to the current nightly and try again. You can do that on a different Eclipse install if you are afraid of breaking something else. Yes, there have been a significant number of updates to the default eogen templates ... ms _

Re: EOGenerator Almost Working

2008-01-27 Thread Guido Neitzer
On 27.01.2008, at 00:51, Joe Moreno wrote: Which version of WOLips are you using? 3.3.4574 You should definitely consider an update on that, current version is 4778 and as far as I remember there were some changes in that part, Mike will know more. I had strange behaviour with my

Re: EOGenerator Almost Working

2008-01-26 Thread Joe Moreno
Guido, Thanks for your tips. I know that putting the EOs in the default package is dirty, but I'm trying to simplify the problem. I've tried putting the EOs in a package and in the default package with the same problems. Which version of WOLips are you using? 3.3.4574 Here's

Re: EOGenerator Almost Working

2008-01-26 Thread Guido Neitzer
On 27.01.2008, at 00:22, Joe Moreno wrote: I can't figure out where EOGenerator is picking up its template files. That is configured in the eogen file that is named like your model. Oh, that helps! Thanks. I'm getting closer. Interesting enough - I didn't have to do that. So, I'm very cl

Re: EOGenerator Almost Working

2008-01-26 Thread Joe Moreno
Hi Pierre, Thanks for your help. 1- I would really suggest that you place you code in a package, this is very strongly recommended by the Java language. No problem. I did that and it still shows up in my generated EOs: package ${entity.packageName}; Here's the strange part, I've edi

Re: EOGenerator Almost Working

2008-01-26 Thread Guido Neitzer
On 26.01.2008, at 22:05, Joe Moreno wrote: 1. package ${entity.packageName}; I'd like the entities in the default package or at least not $ {entity.packageName} Putting everything in the default package is just plain dirty. You can either define the base package in the eogen file or in the

EOGenerator Almost Working

2008-01-26 Thread Joe Moreno
Hi All, I've followed the instructions here, but my generated files need some clean up to compile:http://wiki.objectstyle.org/confluence/display/WOL/Velocity+EOGenerator+(Veogen)Specifically, my generated _EO files have three errors that I can see:1.packageĀ ${entity.packageName};I'd like the entiti