Protecting changes to generated JET transformation
code
To prevent changes to the main.jet template from being
overwritten when you modify the main.jet template directly, you must modify
or remove the <%--@generated--%> comment that corresponds
to the change that you want to protect.
To protect the changes to the main.jet template:
In the Project Explorer view, in the transformation
project, right-click the main.jet file; then click Open.
Search for the c:set JET tag that contains the
name of the input schema element or action that you want to modify.
Remove or modify the <%--@generated--%> tag.
For example, you might change this tag to <%--@!generated--%>.
Edit the element or action.
Click File > Save.
The
next time that you run the Update Project command, code is not generated for
the schema element or attribute.