This is how to customize the JET2 templates.
Use the following procedure to override the JET2 transformations:
- Create a JET project. For specific information, see the JET Tutorial.
- Define the overrides attribute to the transform extension
point. Set the template ID to com.ibm.etools.wdz.uml.transform.templates.
For specific information, see the JET Tutorial.
- Specify a simple JET Dump command in the control.jet file.
Use this as a starting point for your customized template so that
you can understand the input model. The control.jet file
contents is as follows: <%@taglib prefix="c" id="org.eclipse.jet.controlTags"
%> <c:dump select="/ZapgModel"/>
- Customize the control.jet template
file to generate the output that you want. Remove the <c:dump> tag
when you no longer need it.
The
Dump command outputs the entire model.
Note: If you override any templates, you will not receive standard
JCL or COBOL output.
For additional information, see the JET Tutorial.