|
Re: JET EXTENSION! [message #95917 is a reply to message #95902] |
Wed, 05 September 2007 16:57 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Rafael,
I'll redirect your question to the M2T newsgroup which I've added to the
"to" list of my reply (so there's no need to repost the question).
Rafael Ribeiro wrote:
> Hello guys, i´ve trying to find material about JET Extension Points but its
> being really hard to find it. Got me questioning if anyone its using this
> wonderful feature. :D
>
> What i have to ask its this. I know that the JET engine translates text
> templates to a Java class that generates the real output.
>
> What i want to know its that there is a way to extend the code that the JET
> engine generates. Putting things simple, i want to put a tag in a template
> that will generate some code on the Java class. EX: A tag like
> <custom:Property name="FolderPath" type="String"> and when the JET compiles
> the template the JAVA class will have a attribute FolderPath, and with
> getter and setters.
>
> Until now i just found custom tags that transform the resulting
> transformation, not the java class itself. Can this be done?
>
> Thanks anyway, cya.
>
>
>
|
|
|
Re: JET EXTENSION! [message #95932 is a reply to message #95917] |
Wed, 05 September 2007 17:30 |
Eclipse User |
|
|
|
Originally posted by: fhenus.hotmail.com
Being diging around, and i saw some people asking abount custom directives.
Does the JET engine already support this?
I
|
|
|
|
|
|
|
Re: JET EXTENSION! [message #96285 is a reply to message #96109] |
Fri, 07 September 2007 14:05 |
Eclipse User |
|
|
|
Originally posted by: fhenus.hotmail.com
Hi Paul, i just finished the implementation. The problem now its to run the
JET compilation without building a plugin. As i now JET only runs on top of
eclipse or on a headless eclipse. Is there another way to run only the
compilation?
I want to do a simple unit test to my code that just receives the template
path, or stream, compile it and get the result. Could you help me with that?
PS: Sorry if this are really newbie questions... its that i
|
|
|
|
Re: JET EXTENSION! [message #609645 is a reply to message #95902] |
Wed, 05 September 2007 16:57 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Rafael,
I'll redirect your question to the M2T newsgroup which I've added to the
"to" list of my reply (so there's no need to repost the question).
Rafael Ribeiro wrote:
> Hello guys, i´ve trying to find material about JET Extension Points but its
> being really hard to find it. Got me questioning if anyone its using this
> wonderful feature. :D
>
> What i have to ask its this. I know that the JET engine translates text
> templates to a Java class that generates the real output.
>
> What i want to know its that there is a way to extend the code that the JET
> engine generates. Putting things simple, i want to put a tag in a template
> that will generate some code on the Java class. EX: A tag like
> <custom:Property name="FolderPath" type="String"> and when the JET compiles
> the template the JAVA class will have a attribute FolderPath, and with
> getter and setters.
>
> Until now i just found custom tags that transform the resulting
> transformation, not the java class itself. Can this be done?
>
> Thanks anyway, cya.
>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: JET EXTENSION! [message #609646 is a reply to message #95917] |
Wed, 05 September 2007 17:30 |
Eclipse User |
|
|
|
Originally posted by: fhenus.hotmail.com
Being diging around, and i saw some people asking abount custom directives.
Does the JET engine already support this?
I
|
|
|
|
|
|
|
Re: JET EXTENSION! [message #609664 is a reply to message #96109] |
Fri, 07 September 2007 14:05 |
Eclipse User |
|
|
|
Originally posted by: fhenus.hotmail.com
Hi Paul, i just finished the implementation. The problem now its to run the
JET compilation without building a plugin. As i now JET only runs on top of
eclipse or on a headless eclipse. Is there another way to run only the
compilation?
I want to do a simple unit test to my code that just receives the template
path, or stream, compile it and get the result. Could you help me with that?
PS: Sorry if this are really newbie questions... its that i
|
|
|
|
Powered by
FUDForum. Page generated in 0.04547 seconds