Running JET Transformations

While the Design Pattern Toolkit (DPTK) uses the Apply Pattern command to open a pattern, JET makes use of the Eclipse Run infrastructure.
To run a JET transformation:
  1. In your workspace, select the input.
  2. Right-click and click Run As > Run. The standard Eclipse Run window opens. The window creates a run configuration that is named, and it can be reused.
  3. In the tree list on the left, select JET Transformation, and click the New launch configuration icon.

    The standard Eclipse Run configuration dialog

    Depending on the project containing your selection, the transformation ID may or may not be selected. If the ID is not selected, select it.

  4. Click Run.

    If the selected input has an XML extension, you can select Run As > Input for JET Transformation. The JET transformations will display all execution error messages in the Console view.

Note: Prompts can occur because there are multiple run configurations that use the selected input (in which case, you will have to choose which one to run). If no transformation configuration used the selected input, and it is not located in a JET project, you will be prompted to supply the transformation ID.

The Eclipse Run infrastructure keeps track of the last run action, and it provides several mechanisms for rerunning the action; for example, you can click the Run icon on the toolbar, press CTRL-F11, or click Run > Run Last Launched.


Feedback