Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2010-11-02 16:43:58 -0400
committerpelder2010-11-02 16:43:58 -0400
commit4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc (patch)
tree7b53d650e546f121613c0e080ea89f3789f177b2 /doc/org.eclipse.jet.doc/references/ant/antTasks.xhtml
parent15ccba1e74a55349bdce44c7e99858795f7925b1 (diff)
downloadorg.eclipse.jet-4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc.tar.gz
org.eclipse.jet-4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc.tar.xz
org.eclipse.jet-4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc.zip
This commit was manufactured by cvs2svn to create tag 'v201011021646'.v201011021646
Diffstat (limited to 'doc/org.eclipse.jet.doc/references/ant/antTasks.xhtml')
-rw-r--r--doc/org.eclipse.jet.doc/references/ant/antTasks.xhtml71
1 files changed, 0 insertions, 71 deletions
diff --git a/doc/org.eclipse.jet.doc/references/ant/antTasks.xhtml b/doc/org.eclipse.jet.doc/references/ant/antTasks.xhtml
deleted file mode 100644
index b8d3c58..0000000
--- a/doc/org.eclipse.jet.doc/references/ant/antTasks.xhtml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
-
- <head>
-
- <title>Ant Tasks provided by JET</title>
-
- <link charset="ISO-8859-1" href="../../book.css" rel="STYLESHEET"
- type="text/css"/>
-
- </head>
-
- <body>
-
- <h2>Ant Tasks Provided by JET</h2>
-
- <p>JET provides several ant tasks to faciliate the compilation of
- JET templates and execution of JET transformations in an Eclipse
- headless environment. These can be used with buildfiles that are
- set to build within the same JRE as the workspace.</p>
-
- <h3><a name="jet.compile"/>jet.compile</h3>
-
- <p>This task wraps the JET compiler
- <a href="PLUGINS_ROOT/org.eclipse.jet.doc/references/javadoc/org/eclipse/jet/compiler/JET2Compiler.html">
- JET2Compiler</a>. Typical usage is:</p>
-
- <pre>
-&lt;!-- Compile the JET templates in project my.jet.plugin --&gt;
-&lt;jet.compile project="my.jet.plugin" destdir="jet2java"&gt;
- &lt;srcdir dir="." includes="**/*.jet"/&gt;
-&lt;/jet.compile&gt;
- </pre>
- <ul>
-
- <li><b>project</b> is the name of the Eclipse project containing
- the compiled output.</li>
-
- <li><b>destDir</b> is the project relative directory where the
- Java code for the templates will be written. Package directories
- will be created under this directory.</li>
-
- <li><b>srcDir</b> is an Ant
- <a href="http://ant.apache.org/manual/CoreTypes/fileset.html">
- Fileset</a>, specifying template locations and file
- match rules. The <b>dir</b> attribute is required, an must be relative to the JET project path.</li>
-
- </ul>
-
- <h3><a name="jet.transform"/>jet.transform</h3>
-
- <p>This task wraps the method
- <a href="PLUGINS_ROOT/org.eclipse.jet.doc/references/javadoc/org/eclipse/jet/JET2Platform.html#runTransformOnResource(java.lang.String, org.eclipse.core.resources.IResource, org.eclipse.core.runtime.IProgressMonitor)">
- JET2Platform.runTransformationOnResource()</a>. Typical usage
- is:</p>
-
- <pre>&lt;jet.transform transformid=&quot;my.transform.id&quot; resource=&quot;myProject/myfile.ext&quot;/&gt;</pre>
- <ul>
-
- <li><b>transformid</b> is the id of the transformation to run</li>
-
- <li><b>resource</b> is a workspace relative path to the transform
- input.</li>
-
- </ul>
-
- </body>
-
-</html>
-

Back to the top