4

What is the most useful code generation tool in eclipse, velocity or jet templates? Anybody has experience with both of them and know the pro and cons?

Veger
  • 37,240
  • 11
  • 105
  • 116
fastcodejava
  • 39,895
  • 28
  • 133
  • 186

3 Answers3

6

In the Telosys Eclipse plugin we are using Velocity 1.7 ( for scaffolding and for wizards )

It works fine and it can be embedded in a plugin

To try it : http://marketplace.eclipse.org/content/telosys-tools
For more information : http://www.telosys.org/

lgu
  • 2,342
  • 21
  • 29
1

I don't know about Jet, but I like Velocity very much. I especially like the fact that it looks so much like the end product. I think it makes things easier than something like JSP for generating HTML.

duffymo
  • 305,152
  • 44
  • 369
  • 561
1

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

ovunccetin
  • 8,443
  • 5
  • 42
  • 53