*Java Emitter Templates* (JET) is an Eclipse framework that can generate Eclipse resources (projects, folders and files) from an input model. It is part of the *Model To Text* project (M2T).
Java Emitter Templates (JET) is an Eclipse framework that can generate Eclipse resources (projects, folders and files) from an input model. It is part of the Model To Text project (M2T).
Most popular use is for code generation (model-to-text), but it can be used to convert any model-based input to any output (model-to-model). The models currently supported include XML, EMF and the current Eclipse workspace resource hierarchy. It is possible to add custom loaders to use other input formats with the framework.
A JET transform consists of a collection of text templates. One template, usually called main.jet
, acts as the controller template for the transform. The controller template doesn't produce any Eclipse files directly, but it does create projects, folders and files through the application of other templates to the model.
Questions related to the M2T-JET framework should use this tag.
For more information on the Eclipse M2T JET framework:
- JET Homepage
- JET Developer Guide
- M2T-JET on Eclipsepedia
- JET tutorial Part 1 and Part 2