Using Custom EOGenerator Templates

Version 8.1 by David Avendasora on 2011/05/24 14:07

  1. Add your custom EOGenerator Templates to your project by creating a new Folder in the root of your project and putting your custom templates in it. Name it something descriptive like "EOGenerator" or "EOGenTemplates"
  2. Open the .eogen file you want to use the custom templates and in the section marked titled "Templates" change the values for:
    1. Template Folder - the folder you just created
    2. Template - the template file that will create the EntityName.java file
    3. Subclass Template - the template file that will create the EntityName.java file.
      Picture 1.png
  3. Save and close the .eogen fileand right click your .eogen file and select eogenerate to get freshly generated classes if you are not using the automatic eogen option in Eclipse.
    Picture 2.png