Changes for page EOGenerator

Last modified by David Avendasora on 2011/08/25 00:02

From version 48.1
edited by cornelius
on 2007/12/01 03:44
Change comment: There is no comment for this version
To version 47.1
edited by cornelius
on 2007/12/01 03:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Velocity EOGenerator (Veogen)
1 +Velocity EOGenerator
Content
... ... @@ -1,20 +4,12 @@
1 -This is a basic guide to getting the Velocity Generator to work under Leopard, using Eclipse 3.3.1.1 and WOLips 3.3.4669, later versions should work.
2 -The guide is basic in that it should work the way it's detailed below, it doesn't represent the only way, nor probably an optimized way to work with Velocity Generator
3 -
4 4  ~1. under preferences > WOLips > EOGenerator
5 5  -> remove all entries (this is not strictly necessary, but it rules out any errors at the project level)
6 -[[image:1. EOGenerator Project.png]]
7 7  
8 8  2. add a folder named templates in your project folder, inside of which you place your template files. for starters, don't rename them.
9 9  you can download them here:
10 10  http:~/~/webobjects.mdimension.com/wolips/EOGenerator/Velocity%20EOGenerator%20Templates/
11 -[[image:2. Directory Structure.png]]
12 12  
13 13  3. double check your model, so that no of your entities extend EOGenericRecord, otherwise the generation gap pattern won't work, as the velocity generator generates all files, rather than just those extending custom classes. this is a change from the old eogenerator.
14 -[[image:3. Entities Snapshot.png]]
15 15  
16 16  4. create or edit your .eogen file, mine looks like this:
17 -[[image:4. Config Overview.png]]
18 18  
19 -5. double check, and open the .eogen file using open with > text editor:
20 -[[image:5. Text Config.png]]
12 +-> double check, and open the .eogen file using open with > text editor: