blob: d2f59b691d12cc3925d33558154341ce5a99fdbe [file] [log] [blame]
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 11">
<meta name=Originator content="Microsoft Word 11">
<link rel=File-List href="antlr3-task-Dateien/filelist.xml">
<title>&lt;project name=&quot;D2U&quot; default=&quot;dist&quot; basedir=&quot;</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Juergen</o:Author>
<o:LastAuthor>Juergen</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:Created>2008-08-25T22:53:00Z</o:Created>
<o:LastSaved>2008-08-25T22:53:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>1696</o:Words>
<o:Characters>10685</o:Characters>
<o:Company>Private</o:Company>
<o:Lines>89</o:Lines>
<o:Paragraphs>24</o:Paragraphs>
<o:CharactersWithSpaces>12357</o:CharactersWithSpaces>
<o:Version>11.9999</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:HyphenationZone>21</w:HyphenationZone>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:SelectEntireFieldWithStartOrEnd/>
<w:UseWord2002TableStyleRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
h2
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
mso-outline-level:2;
font-size:18.0pt;
font-family:"Times New Roman";
font-weight:bold;}
h3
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
mso-outline-level:3;
font-size:13.5pt;
font-family:"Times New Roman";
font-weight:bold;}
h4
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
mso-outline-level:4;
font-size:12.0pt;
font-family:"Times New Roman";
font-weight:bold;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
code
{font-family:"Courier New";
mso-ascii-font-family:"Courier New";
mso-fareast-font-family:"Courier New";
mso-hansi-font-family:"Courier New";
mso-bidi-font-family:"Courier New";}
pre
{margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-font-family:"Courier New";}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Normale Tabelle";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body lang=DE link=blue vlink=purple style='tab-interval:35.4pt'>
<div class=Section1>
<h2><span lang=EN-GB style='mso-ansi-language:EN-GB'>ANTLR3<o:p></o:p></span></h2>
<h3><span lang=EN-GB style='mso-ansi-language:EN-GB'>Description<o:p></o:p></span></h3>
<p><span class=GramE><span lang=EN-GB style='mso-ansi-language:EN-GB'>Invokes
the <a href="http://www.antlr.org/v3/index.html" target="_top">ANTLR3</a>
Translator generator on a grammar file.</span></span><span lang=EN-GB
style='mso-ansi-language:EN-GB'> <o:p></o:p></span></p>
<h3><span lang=EN-GB style='mso-ansi-language:EN-GB'>Prerequisites<o:p></o:p></span></h3>
<h3><span lang=EN-GB style='font-size:12.0pt;mso-ansi-language:EN-GB;
font-weight:normal'>Apache ant version 1.7.0 and later is required, but ant
version 1.6.5 should support <span class=SpellE>antlibs</span>, too.</span><span
lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></h3>
<h3><span lang=EN-GB style='mso-ansi-language:EN-GB'>Installation<o:p></o:p></span></h3>
<h3><span lang=EN-GB style='font-size:12.0pt;mso-ansi-language:EN-GB;
font-weight:normal'>The recommended procedure is to copy the antlr3.jar in your
$ANT_HOME/lib directory, but it suffices to have it in your <span class=SpellE>classpath</span>.</span><span
lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></h3>
<h3><span lang=EN-GB style='mso-ansi-language:EN-GB'>Parameters<o:p></o:p></span></h3>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0
style='mso-cellspacing:0cm;mso-padding-alt:1.2pt 1.2pt 1.2pt 1.2pt'>
<tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><b><span lang=EN-GB style='mso-ansi-language:EN-GB'>Attribute</span></b><span
lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><b><span lang=EN-GB style='mso-ansi-language:EN-GB'>Description</span></b><span
lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><b><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Required</span></b><span
lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:1'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>target<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>The
grammar file to process.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>Yes<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:2'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language:
EN-GB'>outputdirectory</span></span><span lang=EN-GB style='mso-ansi-language:
EN-GB'><o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>The
directory to write the generated files to. If not set, the files are written
to the directory containing the grammar file. <o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:3'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language:
EN-GB'>libdirectory</span></span><span lang=EN-GB style='mso-ansi-language:
EN-GB'><o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>The
directory where to find token files.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:4'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>depend<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set
to “true”, <span class=SpellE>ANTLRs</span> ‘depend’ option is used to
resolve dependencies and to decide whether to invoke ANTLR for compilation.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set
to “false”, try to figure out if an ANTLR generated file is out of date
without invoking ANTLR with its ‘depend’ option.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
setting is “false” to keep backwards compatibility.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:5'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>report<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set
to &quot;true&quot;, prints out a report about the grammar processed.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
is “false”.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:6'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>print<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set
to &quot;true&quot;, print out the grammar without actions.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
is “false”.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:7'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>debug<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set
to &quot;true&quot;, the generated parser emits debugging events.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
is “false”<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:8'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>profile<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set
to &quot;true&quot;, generates a parser that computes profiling information. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
is “false”.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=IT
style='mso-ansi-language:IT'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:9'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=IT style='mso-ansi-language:IT'>nfa<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set
to &quot;true&quot;, generate an NFA for each rule.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
is “false”.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:10'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language:
EN-GB'>dfa</span></span><span lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set
to &quot;true&quot;, generate <span class=GramE>an</span> DFA for each rule.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
is “false”.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:11'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language:
EN-GB'>messageFormat</span></span><span lang=EN-GB style='mso-ansi-language:
EN-GB'><o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set
to a message format the specified output style for messages is used.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
is “false”.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:12'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>multithreaded<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set
to &quot;true&quot;, run the analysis in 2 threads.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
is “false”.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:13'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>dir<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>The
directory to invoke the VM in.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:14'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language:
EN-GB'>dbgST</span></span><span lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set
to “true”, put tags at start/stop of all templates in output.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
is “false”.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:15'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language:
EN-GB'>noprune</span></span><span lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Test <span
class=SpellE>lookahead</span> against EBNF block exit branches.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
is “false”.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:16'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language:
EN-GB'>nocollapse</span></span><span lang=EN-GB style='mso-ansi-language:
EN-GB'><o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>collapse
incident edges into DFA states<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
is “false”.<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:17;mso-yfti-lastrow:yes'>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language:
EN-GB'>conversiontimeout</span></span><span lang=EN-GB style='mso-ansi-language:
EN-GB'><o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Set the
NFA conversion timeout for each <span class=SpellE>decisition</span> to the
supplied number of milliseconds.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default
is 100 as per ANTLR3<o:p></o:p></span></p>
</td>
<td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p>
</td>
</tr>
</table>
<h3><span lang=EN-GB style='font-size:12.0pt;mso-ansi-language:EN-GB;
font-weight:normal'>As nearly everywhere in ant “true” respectively “false” can
be used instead of “yes” and “no” to activate or deactivate an attribute.<o:p></o:p></span></h3>
<h3><span lang=EN-GB style='mso-ansi-language:EN-GB'>Nested Elements<o:p></o:p></span></h3>
<p><code><span lang=EN-GB style='font-size:10.0pt;mso-ansi-language:EN-GB'>ANTLR3</span></code><span
lang=EN-GB style='mso-ansi-language:EN-GB'> supports a nested </span><code><span
lang=EN-GB style='font-size:10.0pt;mso-ansi-language:EN-GB'>&lt;<span
class=SpellE>classpath</span>&gt;</span></code><span lang=EN-GB
style='mso-ansi-language:EN-GB'> <span class=GramE>element, that represents a <span
lang=DE style='mso-ansi-language:DE'><a
href="http://ant.apache.org/manual/using.html#path"><span lang=EN-GB
style='mso-ansi-language:EN-GB'>PATH</span></a></span></span><span
class=MsoHyperlink> like structure</span></span></p>
<span lang=EN-GB style='font-size:12.0pt;font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-GB;mso-fareast-language:
DE;mso-bidi-language:AR-SA'>. It is given as a convenience if you have to
specify the original ANTLR directory. In most cases, having the antlr-3.x.jar,
the antlr-2.7.7.jar and the stringtemplate-3.x.jar referenced in the <span
class=SpellE>classpath</span> or via the ANTLR_HOME environment variable will
be enough.</span><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
mso-ansi-language:EN-GB;mso-fareast-language:DE;mso-bidi-language:AR-SA'><o:p></o:p></span>
<h4><span lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#path"><span class=SpellE><span
class=GramE><span style='color:windowtext;text-decoration:none;text-underline:
none'>jvmarg</span></span></span><span style='color:windowtext;text-decoration:
none;text-underline:none'><o:p></o:p></span></a></span></h4>
<p><span lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#path"><span style='color:windowtext;
text-decoration:none;text-underline:none'>Additional parameters may be passed
to the new VM via nested </span><code><span style='font-size:10.0pt;color:windowtext;
text-decoration:none;text-underline:none'>&lt;<span class=SpellE>jvmarg</span>&gt;</span></code><span
style='color:windowtext;text-decoration:none;text-underline:none'> attributes,
for example:<o:p></o:p></span></a></span></p>
<pre><span lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#path"><span style='color:windowtext;
text-decoration:none;text-underline:none'>&lt;antlr<span class=GramE>:antlr3</span> <span
class=SpellE>xmlns:antlr</span>=&quot;<span class=SpellE>antlib:org/apache/tools/ant/antlr</span>&quot; target=&quot;...&quot;&gt;<o:p></o:p></span></a></span></pre><pre><span
lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#path"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>  </span>&lt;<span
class=SpellE>jvmarg</span> value=&quot;-Xmx512M&quot;/&gt;<o:p></o:p></span></a></span></pre><pre><span
lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#path"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>  </span>...<o:p></o:p></span></a></span></pre><pre><span
lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#path"><span style='color:windowtext;
text-decoration:none;text-underline:none'>&lt;/antlr<span class=GramE>:antlr3</span>&gt;<o:p></o:p></span></a></span></pre>
<p><span lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#path"><span class=GramE><span
style='color:windowtext;text-decoration:none;text-underline:none'>would</span></span><span
style='color:windowtext;text-decoration:none;text-underline:none'> set the
maximum Java heap size to 512 Megabyte when running ANTLR3.<o:p></o:p></span></a></span></p>
<p><code><span lang=EN-GB style='font-size:10.0pt;mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#path"><span style='color:windowtext;
text-decoration:none;text-underline:none'>&lt;<span class=SpellE><span
class=GramE>jvmarg</span></span>&gt;</span><span style='font-size:12.0pt;
font-family:"Times New Roman";mso-fareast-font-family:"Times New Roman";
color:windowtext;text-decoration:none;text-underline:none'> allows all
attributes described in </span><span lang=DE style='font-size:12.0pt;
font-family:"Times New Roman";mso-fareast-font-family:"Times New Roman";
color:windowtext;mso-ansi-language:DE;text-decoration:none;text-underline:none'><span
style='mso-field-code:" HYPERLINK \0022http\:\/\/ant\.apache\.org\/manual\/using\.html\0022 \\l \0022arg\0022 "'><u><span
lang=EN-GB style='color:blue;mso-ansi-language:EN-GB'>Command line arguments</span></u></span></span><span
style='font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family:
"Times New Roman";color:windowtext;text-decoration:none;text-underline:none'>.</span><span
style='font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family:
"Times New Roman";color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></a></span></code></p>
<h3><span lang=FR style='mso-ansi-language:FR'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>Example<o:p></o:p></span></a></span></h3>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>&lt;antlr<span class=GramE>:antlr3</span>
<span class=SpellE>xmlns:antlr</span>=&quot;<span class=SpellE>antlib:org/apache/tools/ant/antlr</span>&quot;<br>
</span><span style='font-size:12.0pt;font-family:"Times New Roman";color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span></span><span style='color:windowtext;text-decoration:none;text-underline:
none'>target=&quot;etc/<span class=SpellE>java.g</span>&quot;<br>
</span><span style='font-size:12.0pt;font-family:"Times New Roman";color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span></span><span class=SpellE><span style='color:windowtext;text-decoration:
none;text-underline:none'>outputdirectory</span></span><span style='color:windowtext;
text-decoration:none;text-underline:none'>=&quot;build/<span class=SpellE>src</span>&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span></span><span class=SpellE><span class=GramE><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt;font-family:"Courier New";color:windowtext;
text-decoration:none;text-underline:none'>libdirectory</span></span></span><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Courier New";
color:windowtext;text-decoration:none;text-underline:none'>=&quot;build/<span
class=SpellE>src</span>&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span></span><span class=GramE><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";color:windowtext;text-decoration:none;
text-underline:none'>multithreaded</span></span><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt;font-family:"Courier New";color:windowtext;
text-decoration:none;text-underline:none'>=&quot;true&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>&lt;/antlr<span class=GramE>:antlr3</span>&gt;<o:p></o:p></span></a></span></p>
<p><span lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>This invokes ANTLR3 on grammar file
etc/<span class=SpellE>java.g</span>, writing the generated files to build/<span
class=SpellE>src</span>. The analysis is being done in two threads.<br
clear=all style='page-break-before:always'>
A complete build file showing the usage of the ANTLR3 task might look like
this:</span><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
"Courier New";color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>&lt;project name=&quot;d2u&quot;
default=&quot;dist&quot; <span class=SpellE>basedir</span>=&quot;.&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;<span class=GramE>description</span>&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>More than a DOS to UNIX conversion of
line ends.<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;/description&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;<span class=SpellE>project.name</span>&quot;
value=&quot;d2u&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> program version --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;version&quot; value=&quot;1.00&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> set global properties for this build
--&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;build&quot; location=&quot;.&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;<span class=SpellE>src</span>&quot;
location=&quot;<span class=SpellE>src</span>&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;classes&quot; location=&quot;classes&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;dist&quot; location=&quot;dist&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;doc&quot; location=&quot;docs/<span
class=SpellE>api</span>&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;grammar&quot; location=&quot;grammar&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;package&quot; value=&quot;org/<span
class=SpellE>myorg</span>/${<span class=SpellE>project.name</span>}&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> where to write/find token files --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;<span class=SpellE>token.lib</span>&quot;
location=&quot;${<span class=SpellE>src</span>}/${package}&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> <span class=SpellE>antlr</span> options
--&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;profile&quot; value=&quot;false&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;report&quot; value=&quot;true&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;multithreaded&quot; value=&quot;true&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> where to find <span class=SpellE>antlr</span>
and associates --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> If the jar-archives listed below are
already in the <span class=SpellE>classpath</span> --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> the definition of <span class=SpellE>antlr.path</span>
could be dropped, because --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> antlr3.jar will resolve the libraries
by itself. --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> As <span class=SpellE>antlr.libdir</span>
and <span class=SpellE>antlr.libs</span> are just auxiliary --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> parameters helping to create <span
class=SpellE>antlr.path</span>, --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> they could be eliminated in this case,
too. --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;<span class=SpellE>antlr.libdir</span>&quot;
location=&quot;C<span class=GramE>:/</span>Programme/<span class=SpellE>antlr</span>/lib&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;<span class=SpellE>patternset</span> id=&quot;<span class=SpellE>antlr.libs</span>&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>     
</span><span style='mso-spacerun:yes'>  </span>&lt;include name=&quot;antlr-3.1.jar&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;include
name=&quot;antlr-2.7.7.jar&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;include
name=&quot;stringtemplate-3.2.jar&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;include name=&quot;antlr-runtime-3.1.jar&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;/<span class=SpellE>patternset</span>&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;path id=&quot;<span class=SpellE>antlr.path</span>&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;<span class=SpellE>fileset</span>
dir=&quot;${<span class=SpellE>antlr.libdir</span>}&quot; <span class=SpellE>casesensitive</span>=&quot;yes&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>           </span>&lt;<span class=SpellE>patternset</span>
<span class=SpellE>refid</span>=&quot;<span class=SpellE>antlr.libs</span>&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;/<span class=SpellE>fileset</span>&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;/path&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;target name=&quot;init&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span><span class=GramE>&lt;!--</span> Create
the time stamp --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;<span class=SpellE>tstamp</span>
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span><span class=GramE>&lt;!--</span> Create
the build directory structure used by compile --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span></span><span lang=DE style='color:windowtext;
mso-ansi-language:DE;text-decoration:none;text-underline:none'>&lt;<span
class=SpellE>mkdir</span> dir=&quot;${<span class=SpellE>grammar</span>}&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:"Courier New"'><a href="http://ant.apache.org/manual/using.html#arg"><span
style='color:windowtext;text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;<span class=SpellE>mkdir</span>
dir=&quot;${<span class=SpellE>src</span>}/${<span class=SpellE>package</span>}&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:"Courier New"'><a href="http://ant.apache.org/manual/using.html#arg"><span
style='color:windowtext;text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;<span class=SpellE>mkdir</span>
dir=&quot;${<span class=SpellE>classes</span>}/${<span class=SpellE>package</span>}&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:"Courier New"'><a href="http://ant.apache.org/manual/using.html#arg"><span
style='color:windowtext;text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span></span><span lang=IT style='color:windowtext;
mso-ansi-language:IT;text-decoration:none;text-underline:none'>&lt;mkdir
dir=&quot;${classes}/META-INF&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;mkdir dir=&quot;${dist}/lib&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;mkdir
dir=&quot;${doc}/${package}&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span></span><span lang=EN-GB style='color:windowtext;mso-ansi-language:EN-GB;
text-decoration:none;text-underline:none'>&lt;/target&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;target name=&quot;<span class=SpellE>antlr</span>&quot;
depends=&quot;init&quot; description=&quot;run <span class=SpellE>antlr</span>
on grammar&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;echo message=&quot;<span
class=SpellE>antlr</span> ${grammar}/${<span class=SpellE>grammar.name</span>}&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;antlr<span class=GramE>:antlr3</span>
<span class=SpellE>xmlns:antlr</span>=&quot;<span class=SpellE>antlib:org/apache/tools/ant/antlr</span>&quot;
<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>            </span><span class=GramE>target</span>=&quot;${grammar}/${<span
class=SpellE>grammar.name</span>}&quot; <o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>               </span><span class=SpellE><span
class=GramE>outputdirectory</span></span>=&quot;${<span class=SpellE>src</span>}/${package}&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>               </span><span class=GramE>multithreaded</span>=&quot;${multithreaded}&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>               </span><span class=GramE>report</span>=&quot;${report}&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>               </span><span class=GramE>profile</span>=&quot;${profile}&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;/antlr<span class=GramE>:antlr3</span>&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;/target&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;target name=&quot;compile&quot; depends=&quot;<span class=SpellE>antlr</span>&quot;
description=&quot;compile&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span><span class=GramE>&lt;!--</span>
Compile the java code from ${<span class=SpellE>src</span>} into ${classes}
--&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;<span class=SpellE>javac</span>
debug=&quot;true&quot; <span class=SpellE>srcdir</span>=&quot;${<span
class=SpellE>src</span>}&quot; <span class=SpellE>destdir</span>=&quot;${classes}&quot;<span
style='mso-spacerun:yes'>             </span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>               </span><span class=SpellE><span
class=GramE>listfiles</span></span>=&quot;Yes&quot;
deprecation=&quot;Yes&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>            </span>&lt;<span class=SpellE><span
class=GramE>classpath</span></span>&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>             </span><span
style='mso-spacerun:yes'>   </span>&lt;path <span class=SpellE>refid</span>=&quot;<span
class=SpellE>antlr.path</span>&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>            </span>&lt;/<span class=SpellE>classpath</span>&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>            </span>&lt;<span class=SpellE>compilerarg</span>
value=&quot;-<span class=SpellE>Xlint<span class=GramE>:unchecked</span></span>&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;/<span class=SpellE>javac</span>&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;/target&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;target name=&quot;manifest&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;manifest
file=&quot;${classes}/META-INF/MANIFEST.MF&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>            </span>&lt;attribute name=&quot;Main-Class&quot;
value=&quot;${package}.Main&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;/manifest&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;/target&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;target name=&quot;dist&quot; depends=&quot;compile, manifest&quot; <o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>      
</span><span class=GramE>description</span>=&quot;generate for
distribution&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>      
</span>&lt;jar <span class=SpellE>jarfile</span>=&quot;${dist}/lib/${<span
class=SpellE>project.name</span>}.jar&quot; <span class=SpellE>basedir</span>=&quot;${classes}&quot;
<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>     
</span><span style='mso-spacerun:yes'>      </span></span><span lang=IT
style='color:windowtext;mso-ansi-language:IT;text-decoration:none;text-underline:
none'>manifest=&quot;${classes}/META-INF/MANIFEST.MF&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span></span><span lang=EN-GB style='color:windowtext;mso-ansi-language:EN-GB;
text-decoration:none;text-underline:none'>&lt;/target&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;target name=&quot;doc&quot; description=&quot;generate
documentation&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>      
</span>&lt;<span class=SpellE>javadoc</span> <span class=SpellE>destdir</span>=&quot;${doc}&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>                </span><span class=GramE>author</span>=&quot;true&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>                </span><span class=GramE>version</span>=&quot;true&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>                </span><span class=GramE>use</span>=&quot;true&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span><span
style='mso-spacerun:yes'>        </span><span class=SpellE><span class=GramE>windowtitle</span></span>=&quot;${<span
class=SpellE>project.name</span>}&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>                </span><span class=SpellE><span
class=GramE>sourcefiles</span></span>=&quot;${<span class=SpellE>src</span>}/${package}/*.java&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>                </span>Protected=&quot;All&quot;
Private=&quot;All&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>                </span>Public=&quot;All&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>                </span><span class=SpellE><span
class=GramE>linksource</span></span>=&quot;yes&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>                </span><span class=SpellE><span
class=GramE>breakiterator</span></span>=&quot;Yes&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;/target&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>  
</span>&lt;target name=&quot;clean&quot; description=&quot;clean up&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>      
</span>&lt;<span class=GramE>delete</span>&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>          </span>&lt;<span class=SpellE>fileset</span>
dir=&quot;${<span class=SpellE>src</span>}&quot; <o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>                </span><span class=GramE>includes</span>=&quot;**/*.class,**/*.tokens,**/*.g*&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>          </span>&lt;<span class=SpellE>fileset</span>
dir=&quot;${classes}&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>          </span>&lt;<span class=SpellE>fileset</span>
dir=&quot;${dist}&quot; includes=&quot;**/*.jar&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>  
</span><span style='mso-spacerun:yes'>       </span>&lt;<span class=SpellE>fileset</span>
dir=&quot;${doc}&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>      
</span>&lt;/delete&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;/target&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;target name=&quot;all&quot; depends=&quot;clean, dist, doc&quot;
description=&quot;clean up&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>            </span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=FR style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:FR'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>&lt;/project&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=FR style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:FR'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>The same build file assuming
antlr-3.1.jar, stringtemplate-3.2.jar and antlr-2.7.7.jar are part of the java <span
class=SpellE>classpath</span>. Have a look at the <span class=SpellE>antlr</span>
and compile targets which don’t reference <span class=SpellE>antlr.path</span>
any more.</span><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:"Courier New";color:windowtext;text-decoration:none;text-underline:
none'><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>&lt;project name=&quot;d2u&quot;
default=&quot;dist&quot; <span class=SpellE>basedir</span>=&quot;.&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;<span class=GramE>description</span>&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>More than a DOS to UNIX conversion of
line ends.<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;/description&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;<span class=SpellE>project.name</span>&quot;
value=&quot;d2u&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> program version --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;version&quot; value=&quot;1.00&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> set global properties for this build
--&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;build&quot; location=&quot;.&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;<span class=SpellE>src</span>&quot;
location=&quot;<span class=SpellE>src</span>&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;classes&quot; location=&quot;classes&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;dist&quot; location=&quot;dist&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;doc&quot; location=&quot;docs/<span
class=SpellE>api</span>&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;grammar&quot; location=&quot;grammar&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;package&quot; value=&quot;org/<span
class=SpellE>myorg</span>/${<span class=SpellE>project.name</span>}&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> where to write/find token files --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;<span class=SpellE>token.lib</span>&quot;
location=&quot;${<span class=SpellE>src</span>}/${package}&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span><span class=GramE>&lt;!--</span> <span class=SpellE>antlr</span> options
--&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;profile&quot; value=&quot;false&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;report&quot; value=&quot;true&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>  
</span>&lt;property name=&quot;multithreaded&quot; value=&quot;true&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;property name=&quot;depend&quot; value=&quot;true&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;target name=&quot;init&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span><span class=GramE>&lt;!--</span> Create
the time stamp --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;<span class=SpellE>tstamp</span>
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span><span class=GramE>&lt;!--</span> Create
the build directory structure used by compile --&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span></span><span lang=DE style='color:windowtext;
mso-ansi-language:DE;text-decoration:none;text-underline:none'>&lt;<span
class=SpellE>mkdir</span> dir=&quot;${<span class=SpellE>grammar</span>}&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:"Courier New"'><a href="http://ant.apache.org/manual/using.html#arg"><span
style='color:windowtext;text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;<span class=SpellE>mkdir</span>
dir=&quot;${<span class=SpellE>src</span>}/${<span class=SpellE>package</span>}&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:"Courier New"'><a href="http://ant.apache.org/manual/using.html#arg"><span
style='color:windowtext;text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;<span class=SpellE>mkdir</span>
dir=&quot;${<span class=SpellE>classes</span>}/${<span class=SpellE>package</span>}&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:"Courier New"'><a href="http://ant.apache.org/manual/using.html#arg"><span
style='color:windowtext;text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span></span><span lang=IT style='color:windowtext;
mso-ansi-language:IT;text-decoration:none;text-underline:none'>&lt;mkdir
dir=&quot;${classes}/META-INF&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;mkdir dir=&quot;${dist}/lib&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;mkdir
dir=&quot;${doc}/${package}&quot; /&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span></span><span lang=EN-GB style='color:windowtext;mso-ansi-language:EN-GB;
text-decoration:none;text-underline:none'>&lt;/target&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;target name=&quot;<span class=SpellE>antlr</span>&quot;
depends=&quot;init&quot; description=&quot;run <span class=SpellE>antlr</span>
on grammar&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;echo message=&quot;<span
class=SpellE>antlr</span> ${grammar}/${<span class=SpellE>project.name</span>}.g&quot;
/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;antlr<span class=GramE>:antlr3</span>
<span class=SpellE>xmlns:antlr</span>=&quot;<span class=SpellE>antlib:org/apache/tools/ant/antlr</span>&quot;
<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>            </span><span class=GramE>target</span>=&quot;${grammar}/${<span
class=SpellE>project.name</span>}.g&quot; <o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>               </span><span class=SpellE><span
class=GramE>outputdirectory</span></span>=&quot;${<span class=SpellE>src</span>}/${package}&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>               </span><span class=SpellE><span
class=GramE>libdirectory</span></span>=&quot;${<span class=SpellE>token.lib</span>}&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>               </span><span class=GramE>multithreaded</span>=&quot;${multithreaded}&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>               </span><span class=GramE>report</span>=&quot;${report}&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>               </span><span class=GramE>profile</span>=&quot;${profile}&quot;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>               </span><span class=GramE>depend</span>=&quot;${depend}&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;/antlr<span class=GramE>:antlr3</span>&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;/target&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><o:p>&nbsp;</o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;target name=&quot;compile&quot; depends=&quot;<span class=SpellE>antlr</span>&quot;
description=&quot;compile&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span><span class=GramE>&lt;!--</span>
Compile the java code from ${<span class=SpellE>src</span>} into ${classes}
--&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;<span class=SpellE>javac</span>
debug=&quot;true&quot; <span class=SpellE>srcdir</span>=&quot;${<span
class=SpellE>src</span>}&quot; <span class=SpellE>destdir</span>=&quot;${classes}&quot;<span
style='mso-spacerun:yes'>             </span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>               </span><span class=SpellE><span
class=GramE>listfiles</span></span>=&quot;Yes&quot;
deprecation=&quot;Yes&quot;&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>            </span>&lt;<span class=SpellE>compilerarg</span>
value=&quot;-<span class=SpellE>Xlint<span class=GramE>:unchecked</span></span>&quot;/&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>        </span>&lt;/<span class=SpellE>javac</span>&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'>   
</span>&lt;/target&gt;<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>.<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>.<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>.<o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'><span
style='mso-spacerun:yes'>            </span><o:p></o:p></span></a></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>&lt;/project&gt;<o:p></o:p></span></a></span></p>
<h3><span lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>How does the ant task for Antlr3
finds the Antlr3 libraries<o:p></o:p></span></a></span></h3>
<h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ansi-language:EN-GB;font-weight:normal'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>The ant task for Antlr3 inspects the
environment variable ANTLR_HOME. It looks in the ANTLR_HOME/lib directory and
adds the libraries which fit the patterns “<span class=SpellE>antlr</span>-*.jar”
and “<span class=SpellE>stringtemplate</span>-*.jar” to the <span class=SpellE>classpath</span>.<br>
Then it <span class=SpellE>checkes</span> if <span class=SpellE>ANTLRGrammarParseBehavior.class</span>,
<span class=SpellE>ANTLRParser.class</span> and <span class=SpellE>StringTemplate.class</span>
can be resolved via the <span class=SpellE>classpath</span>.<o:p></o:p></span></a></span></h3>
<h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ansi-language:EN-GB;font-weight:normal'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>Warning: If the Anltr3 libraries have
already been listed in the <span class=SpellE>classpath</span> make sure they
point to the same version ANTLR_HOME refers to, else you might get unexpected
results.<br>
Either use ANTLR_HOME to resolve the ANTLR3 libraries or add them to the
CLASSPATH environment variable, but do not use both ways at the same time.<o:p></o:p></span></a></span></h3>
<h3><span lang=EN-GB style='mso-ansi-language:EN-GB'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>Trouble-Shooting<o:p></o:p></span></a></span></h3>
<h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ansi-language:EN-GB;font-weight:normal'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>First check if the antlr3.jar can be
resolved by ant. The command<o:p></o:p></span></a></span></h3>
<h3><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:"Courier New";mso-ansi-language:EN-GB;font-weight:normal'><a
href="http://ant.apache.org/manual/using.html#arg"><span class=GramE><span
style='color:windowtext;text-decoration:none;text-underline:none'>ant</span></span><span
style='color:windowtext;text-decoration:none;text-underline:none'> –diagnostics<o:p></o:p></span></a></span></h3>
<h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ansi-language:EN-GB;font-weight:normal'><a
href="http://ant.apache.org/manual/using.html#arg"><span class=GramE><span
style='color:windowtext;text-decoration:none;text-underline:none'>should</span></span><span
style='color:windowtext;text-decoration:none;text-underline:none'> list
antlr3.jar in the “ANT_HOME/lib jar listing” section, if<span
style='mso-spacerun:yes'>  </span>the installation recommendation had been
adhered to.<o:p></o:p></span></a></span></h3>
<h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ansi-language:EN-GB;font-weight:normal'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>Second try the ant verbose option
“-v”:</span><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
"Courier New";color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></a></span></h3>
<h3><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:"Courier New";mso-ansi-language:EN-GB;font-weight:normal'><a
href="http://ant.apache.org/manual/using.html#arg"><span class=GramE><span
style='color:windowtext;text-decoration:none;text-underline:none'>ant</span></span><span
style='color:windowtext;text-decoration:none;text-underline:none'> –v<o:p></o:p></span></a></span></h3>
<h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ansi-language:EN-GB;font-weight:normal'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>This will output some information of
the internal <span class=SpellE>processings</span> of the ANTLR3 task.<o:p></o:p></span></a></span></h3>
<h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt;
mso-ansi-language:EN-GB;font-weight:normal'><a
href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext;
text-decoration:none;text-underline:none'>Third make sure that the jar-archives
of the actual <span class=SpellE>antlr</span> distribution are contained in
your <span class=SpellE>classpath</span>. At the moment this would refer to
antlr-3.x.jar, antlr-2.7.7.jar and stringtemplate-3.x.jar. As a consequence the
definition of the </span><span class=SpellE><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt;font-family:"Courier New";color:windowtext;
text-decoration:none;text-underline:none'>antlr.path</span></span><span
style='color:windowtext;text-decoration:none;text-underline:none'> <span
class=GramE>property ,</span> as shown in the example, is not required and the
build file has no dependency on the <span class=SpellE>antlr</span> version.
The advantage of this approach is that updates of <span class=SpellE>antlr</span>
and possibly linked changes in the naming of the before mentioned <span
class=SpellE>antlr</span> jar-archives result in no changes of existing ant
build-files. Solely the modification of the <span class=SpellE>classpath</span>
variable enables you to switch to a different version of <span class=SpellE>antlr</span>.<o:p></o:p></span></a></span></h3>
</div>
</body>
</html>