Skip to main content
summaryrefslogtreecommitdiffstats
blob: 0bb381b95fd7060c3be251890f7e1086f7e88021 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2006. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css"/>
<title>JET Transformation Project Structure</title>
</head>
<body>
<h2>JET Transformation Project Structure</h2>
<p>The new transformation includes two templates, in a directory called <code>templates</code>:
<ul>
  <li> <code>main.jet</code> - which serves an entry point to the transformation, and generally invokes one 
  or more templates that write content.</li>
  <li> <code>dump.jet</code> - which merely writes the input model to a file <code>dump.xml</code> in the
  JET project's root. The dump.jet template is invoked by <code>main.jet</code>.</li>
</ul>
</p>
<p>Other files found in the project are:
<ul>
  <li> <code>META-INF/MANIFEST.MF</code> - the project 'manifest', which declares unique identifier of the
  transformation (which, by default, is the project name, too). </li>
  <li> <code>build.properties</code> - a text file that defines information for correctly building a
  distributable version of the transformation.</li>
  <li> <code>plugin.xml</code> - a supplement to MANIFEST.MF, which declares additional information about the 
  transformation.</li>
  <li> <code>sample.xml</code> - an XML document that can be used as test input to the transformation.</li>
</ul>
</p>
<p>JET Templates are automatically compiled into Java classes. By default, these are hidden from view by 
a Package Explorer filter.</p>
</body>
</html>

Back to the top