Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2007-02-01 13:22:57 -0500
committerpelder2007-02-01 13:22:57 -0500
commitb3d573b529e02f7979185e4f5cf8134468f8e19f (patch)
tree591c28797231aca7ed643a9ebf1586fb99e0b68a /doc/org.eclipse.jet.doc/references
parent4eabfe0db9c662996d5337977eb53b3c309c3146 (diff)
downloadorg.eclipse.jet-b3d573b529e02f7979185e4f5cf8134468f8e19f.tar.gz
org.eclipse.jet-b3d573b529e02f7979185e4f5cf8134468f8e19f.tar.xz
org.eclipse.jet-b3d573b529e02f7979185e4f5cf8134468f8e19f.zip
[172505] Merge 0.7.2 fix
Diffstat (limited to 'doc/org.eclipse.jet.doc/references')
-rw-r--r--doc/org.eclipse.jet.doc/references/ant/antTasks.xhtml13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/org.eclipse.jet.doc/references/ant/antTasks.xhtml b/doc/org.eclipse.jet.doc/references/ant/antTasks.xhtml
index 0474f8c..b8d3c58 100644
--- a/doc/org.eclipse.jet.doc/references/ant/antTasks.xhtml
+++ b/doc/org.eclipse.jet.doc/references/ant/antTasks.xhtml
@@ -26,9 +26,12 @@
<a href="PLUGINS_ROOT/org.eclipse.jet.doc/references/javadoc/org/eclipse/jet/compiler/JET2Compiler.html">
JET2Compiler</a>. Typical usage is:</p>
- <pre>&lt;jet.compile project=&quot;myProject&quot; destDir=&quot;src-gen&quot; srcDir=&quot;templates&quot;&gt;
- &lt;srcdir dir=&quot;templates&quot;/&gt;
-&lt;/jet.compile&gt;</pre>
+ <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
@@ -40,8 +43,8 @@
<li><b>srcDir</b> is an Ant
<a href="http://ant.apache.org/manual/CoreTypes/fileset.html">
- Fileset</a>, allowing specification template locations and file
- match rules.</li>
+ 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>

Back to the top