Code Generation in Eclipse

What is the most useful tool for creating code in eclipse, speed or jet templates ? Does anyone have experience with both of them and know about the disadvantages?

+3
source share
3 answers

I do not know about Jet, but I really like Velocity. I especially like the fact that it is very similar to the final product. I think this makes things easier than something like a JSP for generating HTML.

+1
source

In the Telosys Eclipse plugin, we use Velocity 1.7 (for forests and for wizards)

It works great and can be built into the plugin

: http://marketplace.eclipse.org/content/telosys-tools
: http://www.telosys.org/

+5

You can also use the AST API (Abstract Syntax Tree) in eclipse JDT.

+1
source

Source: https://habr.com/ru/post/1776104/


All Articles