[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.emf] Re: Suppress EMF Types=true, Root Extends Class="", Root Extends Interface=""

Michael Vorburger wrote:

thanks for the explanations.  I have tried pursuing the option of using my
own templates, but still leveraging genmodel (and not "raw" JET as per the
two JET Tutorial articles) but can't seem to get this to work... I suspect
it's got something to do with how I set the Template Directory. Exact
details below, but basically first I set it just to "templates", then I saw
in Book p. 252 that's it's relative to Workspace, so I set it to
"{myprojectname}/templates", lastly tried absolute path, still not luck.

Michael,

Just to add what Frank said, if you use a value like "/{myprojectname}/templates", and ensure that you mirror the subdirectory structure under that directory, it should work. For example, if you only wish to change the class implementation template, create a subdirectory of "templates" called "model", and place your modified copy of Class.javajet there.

Cheers,
Dave