By authoring Java Emitter Template (JET) transformations,
you can quickly create template-based model-to-text transformations.
By using JET tools, you can generate files from a model by using templates,
which contain text and JET commands, which are also called tags. Learn
about JET syntax and transformation structure, transforming models
into text using JET transformations, and the compatibility of Design
Pattern Toolkit (DPTK) tags and JET tags.
About this task
You can use these items to create and customize JET templates
that generate source code; you can also create JET transformations,
which use JET templates to automate repetitive activities to generate
more consistent solutions.
Note: If you use the hot method replace
feature, also called hot code replace, when you debug compiled JET
templates, you can enforce stricter error checking during hot method
replacement:
- Open the launch configuration for the runtime environment.
- On the Arguments page, in the VM arguments field,
add the -Xfuture parameter.
If an error occurs the next time that you perform a hot method
replacement, an error message is displayed. For more information about
the error, check the Error Log view and the workspace log file
installation_directory/workspace/.metadata/.log.