JET Transformation Project Structure
The new transformation includes two templates, in a directory called templates:
-
main.jet - which serves an entry point to the transformation, and generally invokes one
or more templates that write content.
-
dump.jet - which merely writes the input model to a file dump.xml in the
JET project's root. The dump.jet template is invoked by main.jet.
Other files found in the project are:
-
META-INF/MANIFEST.MF - the project 'manifest', which declares unique identifier of the
transformation (which, by default, is the project name, too).
-
build.properties - a text file that defines information for correctly building a
distributable version of the transformation.
-
plugin.xml - a supplement to MANIFEST.MF, which declares additional information about the
transformation.
-
sample.xml - an XML document that can be used as test input to the transformation.
JET Templates are automatically compiled into Java classes. By default, these are hidden from view by
a Package Explorer filter.