1 <html xmlns:v="urn:schemas-microsoft-com:vml" 2 xmlns:o="urn:schemas-microsoft-com:office:office" 3 xmlns:w="urn:schemas-microsoft-com:office:word" 4 xmlns="http://www.w3.org/TR/REC-html40"> 5 6 <head> 7 <meta http-equiv=Content-Type content="text/html; charset=windows-1252"> 8 <meta name=ProgId content=Word.Document> 9 <meta name=Generator content="Microsoft Word 11"> 10 <meta name=Originator content="Microsoft Word 11"> 11 <link rel=File-List href="antlr3-task-Dateien/filelist.xml"> 12 <title><project name="D2U" default="dist" basedir="</title> 13 <!--[if gte mso 9]><xml> 14 <o:DocumentProperties> 15 <o:Author>Juergen</o:Author> 16 <o:LastAuthor>Juergen</o:LastAuthor> 17 <o:Revision>2</o:Revision> 18 <o:Created>2008-08-25T22:53:00Z</o:Created> 19 <o:LastSaved>2008-08-25T22:53:00Z</o:LastSaved> 20 <o:Pages>1</o:Pages> 21 <o:Words>1696</o:Words> 22 <o:Characters>10685</o:Characters> 23 <o:Company>Private</o:Company> 24 <o:Lines>89</o:Lines> 25 <o:Paragraphs>24</o:Paragraphs> 26 <o:CharactersWithSpaces>12357</o:CharactersWithSpaces> 27 <o:Version>11.9999</o:Version> 28 </o:DocumentProperties> 29 </xml><![endif]--><!--[if gte mso 9]><xml> 30 <w:WordDocument> 31 <w:SpellingState>Clean</w:SpellingState> 32 <w:GrammarState>Clean</w:GrammarState> 33 <w:HyphenationZone>21</w:HyphenationZone> 34 <w:ValidateAgainstSchemas/> 35 <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> 36 <w:IgnoreMixedContent>false</w:IgnoreMixedContent> 37 <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> 38 <w:Compatibility> 39 <w:SelectEntireFieldWithStartOrEnd/> 40 <w:UseWord2002TableStyleRules/> 41 </w:Compatibility> 42 <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> 43 </w:WordDocument> 44 </xml><![endif]--><!--[if gte mso 9]><xml> 45 <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> 46 </w:LatentStyles> 47 </xml><![endif]--> 48 <style> 49 <!-- 50 /* Style Definitions */ 51 p.MsoNormal, li.MsoNormal, div.MsoNormal 52 {mso-style-parent:""; 53 margin:0cm; 54 margin-bottom:.0001pt; 55 mso-pagination:widow-orphan; 56 font-size:12.0pt; 57 font-family:"Times New Roman"; 58 mso-fareast-font-family:"Times New Roman";} 59 h2 60 {mso-margin-top-alt:auto; 61 margin-right:0cm; 62 mso-margin-bottom-alt:auto; 63 margin-left:0cm; 64 mso-pagination:widow-orphan; 65 mso-outline-level:2; 66 font-size:18.0pt; 67 font-family:"Times New Roman"; 68 font-weight:bold;} 69 h3 70 {mso-margin-top-alt:auto; 71 margin-right:0cm; 72 mso-margin-bottom-alt:auto; 73 margin-left:0cm; 74 mso-pagination:widow-orphan; 75 mso-outline-level:3; 76 font-size:13.5pt; 77 font-family:"Times New Roman"; 78 font-weight:bold;} 79 h4 80 {mso-margin-top-alt:auto; 81 margin-right:0cm; 82 mso-margin-bottom-alt:auto; 83 margin-left:0cm; 84 mso-pagination:widow-orphan; 85 mso-outline-level:4; 86 font-size:12.0pt; 87 font-family:"Times New Roman"; 88 font-weight:bold;} 89 a:link, span.MsoHyperlink 90 {color:blue; 91 text-decoration:underline; 92 text-underline:single;} 93 a:visited, span.MsoHyperlinkFollowed 94 {color:purple; 95 text-decoration:underline; 96 text-underline:single;} 97 p 98 {mso-margin-top-alt:auto; 99 margin-right:0cm; 100 mso-margin-bottom-alt:auto; 101 margin-left:0cm; 102 mso-pagination:widow-orphan; 103 font-size:12.0pt; 104 font-family:"Times New Roman"; 105 mso-fareast-font-family:"Times New Roman";} 106 code 107 {font-family:"Courier New"; 108 mso-ascii-font-family:"Courier New"; 109 mso-fareast-font-family:"Courier New"; 110 mso-hansi-font-family:"Courier New"; 111 mso-bidi-font-family:"Courier New";} 112 pre 113 {margin:0cm; 114 margin-bottom:.0001pt; 115 mso-pagination:widow-orphan; 116 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; 117 font-size:10.0pt; 118 font-family:"Courier New"; 119 mso-fareast-font-family:"Courier New";} 120 span.SpellE 121 {mso-style-name:""; 122 mso-spl-e:yes;} 123 span.GramE 124 {mso-style-name:""; 125 mso-gram-e:yes;} 126 @page Section1 127 {size:595.3pt 841.9pt; 128 margin:70.85pt 70.85pt 2.0cm 70.85pt; 129 mso-header-margin:35.4pt; 130 mso-footer-margin:35.4pt; 131 mso-paper-source:0;} 132 div.Section1 133 {page:Section1;} 134 --> 135 </style> 136 <!--[if gte mso 10]> 137 <style> 138 /* Style Definitions */ 139 table.MsoNormalTable 140 {mso-style-name:"Normale Tabelle"; 141 mso-tstyle-rowband-size:0; 142 mso-tstyle-colband-size:0; 143 mso-style-noshow:yes; 144 mso-style-parent:""; 145 mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 146 mso-para-margin:0cm; 147 mso-para-margin-bottom:.0001pt; 148 mso-pagination:widow-orphan; 149 font-size:10.0pt; 150 font-family:"Times New Roman"; 151 mso-ansi-language:#0400; 152 mso-fareast-language:#0400; 153 mso-bidi-language:#0400;} 154 </style> 155 <![endif]--><!--[if gte mso 9]><xml> 156 <o:shapedefaults v:ext="edit" spidmax="2050"/> 157 </xml><![endif]--><!--[if gte mso 9]><xml> 158 <o:shapelayout v:ext="edit"> 159 <o:idmap v:ext="edit" data="1"/> 160 </o:shapelayout></xml><![endif]--> 161 </head> 162 163 <body lang=DE link=blue vlink=purple style='tab-interval:35.4pt'> 164 165 <div class=Section1> 166 167 <h2><span lang=EN-GB style='mso-ansi-language:EN-GB'>ANTLR3<o:p></o:p></span></h2> 168 169 <h3><span lang=EN-GB style='mso-ansi-language:EN-GB'>Description<o:p></o:p></span></h3> 170 171 <p><span class=GramE><span lang=EN-GB style='mso-ansi-language:EN-GB'>Invokes 172 the <a href="http://www.antlr.org/v3/index.html" target="_top">ANTLR3</a> 173 Translator generator on a grammar file.</span></span><span lang=EN-GB 174 style='mso-ansi-language:EN-GB'> <o:p></o:p></span></p> 175 176 <h3><span lang=EN-GB style='mso-ansi-language:EN-GB'>Prerequisites<o:p></o:p></span></h3> 177 178 <h3><span lang=EN-GB style='font-size:12.0pt;mso-ansi-language:EN-GB; 179 font-weight:normal'>Apache ant version 1.7.0 and later is required, but ant 180 version 1.6.5 should support <span class=SpellE>antlibs</span>, too.</span><span 181 lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></h3> 182 183 <h3><span lang=EN-GB style='mso-ansi-language:EN-GB'>Installation<o:p></o:p></span></h3> 184 185 <h3><span lang=EN-GB style='font-size:12.0pt;mso-ansi-language:EN-GB; 186 font-weight:normal'>The recommended procedure is to copy the antlr3.jar in your 187 $ANT_HOME/lib directory, but it suffices to have it in your <span class=SpellE>classpath</span>.</span><span 188 lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></h3> 189 190 <h3><span lang=EN-GB style='mso-ansi-language:EN-GB'>Parameters<o:p></o:p></span></h3> 191 192 <table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 193 style='mso-cellspacing:0cm;mso-padding-alt:1.2pt 1.2pt 1.2pt 1.2pt'> 194 <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'> 195 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 196 <p class=MsoNormal><b><span lang=EN-GB style='mso-ansi-language:EN-GB'>Attribute</span></b><span 197 lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p> 198 </td> 199 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 200 <p class=MsoNormal><b><span lang=EN-GB style='mso-ansi-language:EN-GB'>Description</span></b><span 201 lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p> 202 </td> 203 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 204 <p class=MsoNormal align=center style='text-align:center'><b><span 205 lang=EN-GB style='mso-ansi-language:EN-GB'>Required</span></b><span 206 lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p> 207 </td> 208 </tr> 209 <tr style='mso-yfti-irow:1'> 210 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 211 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>target<o:p></o:p></span></p> 212 </td> 213 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 214 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>The 215 grammar file to process.<o:p></o:p></span></p> 216 </td> 217 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 218 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 219 style='mso-ansi-language:EN-GB'>Yes<o:p></o:p></span></p> 220 </td> 221 </tr> 222 <tr style='mso-yfti-irow:2'> 223 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 224 <p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language: 225 EN-GB'>outputdirectory</span></span><span lang=EN-GB style='mso-ansi-language: 226 EN-GB'><o:p></o:p></span></p> 227 </td> 228 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 229 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>The 230 directory to write the generated files to. If not set, the files are written 231 to the directory containing the grammar file. <o:p></o:p></span></p> 232 </td> 233 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 234 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 235 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 236 </td> 237 </tr> 238 <tr style='mso-yfti-irow:3'> 239 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 240 <p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language: 241 EN-GB'>libdirectory</span></span><span lang=EN-GB style='mso-ansi-language: 242 EN-GB'><o:p></o:p></span></p> 243 </td> 244 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 245 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>The 246 directory where to find token files.<o:p></o:p></span></p> 247 </td> 248 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 249 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 250 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 251 </td> 252 </tr> 253 <tr style='mso-yfti-irow:4'> 254 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 255 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>depend<o:p></o:p></span></p> 256 </td> 257 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 258 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set 259 to true, <span class=SpellE>ANTLRs</span> depend option is used to 260 resolve dependencies and to decide whether to invoke ANTLR for compilation.<o:p></o:p></span></p> 261 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set 262 to false, try to figure out if an ANTLR generated file is out of date 263 without invoking ANTLR with its depend option.<o:p></o:p></span></p> 264 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 265 setting is false to keep backwards compatibility.<o:p></o:p></span></p> 266 </td> 267 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 268 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 269 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 270 </td> 271 </tr> 272 <tr style='mso-yfti-irow:5'> 273 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 274 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>report<o:p></o:p></span></p> 275 </td> 276 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 277 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set 278 to "true", prints out a report about the grammar processed.<o:p></o:p></span></p> 279 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 280 is false.<o:p></o:p></span></p> 281 </td> 282 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 283 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 284 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 285 </td> 286 </tr> 287 <tr style='mso-yfti-irow:6'> 288 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 289 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>print<o:p></o:p></span></p> 290 </td> 291 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 292 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set 293 to "true", print out the grammar without actions.<o:p></o:p></span></p> 294 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 295 is false.<o:p></o:p></span></p> 296 </td> 297 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 298 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 299 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 300 </td> 301 </tr> 302 <tr style='mso-yfti-irow:7'> 303 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 304 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>debug<o:p></o:p></span></p> 305 </td> 306 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 307 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set 308 to "true", the generated parser emits debugging events.<o:p></o:p></span></p> 309 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 310 is false<o:p></o:p></span></p> 311 </td> 312 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 313 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 314 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 315 </td> 316 </tr> 317 <tr style='mso-yfti-irow:8'> 318 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 319 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>profile<o:p></o:p></span></p> 320 </td> 321 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 322 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set 323 to "true", generates a parser that computes profiling information. <o:p></o:p></span></p> 324 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 325 is false.<o:p></o:p></span></p> 326 </td> 327 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 328 <p class=MsoNormal align=center style='text-align:center'><span lang=IT 329 style='mso-ansi-language:IT'>No<o:p></o:p></span></p> 330 </td> 331 </tr> 332 <tr style='mso-yfti-irow:9'> 333 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 334 <p class=MsoNormal><span lang=IT style='mso-ansi-language:IT'>nfa<o:p></o:p></span></p> 335 </td> 336 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 337 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set 338 to "true", generate an NFA for each rule.<o:p></o:p></span></p> 339 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 340 is false.<o:p></o:p></span></p> 341 </td> 342 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 343 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 344 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 345 </td> 346 </tr> 347 <tr style='mso-yfti-irow:10'> 348 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 349 <p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language: 350 EN-GB'>dfa</span></span><span lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p> 351 </td> 352 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 353 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set 354 to "true", generate <span class=GramE>an</span> DFA for each rule.<o:p></o:p></span></p> 355 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 356 is false.<o:p></o:p></span></p> 357 </td> 358 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 359 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 360 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 361 </td> 362 </tr> 363 <tr style='mso-yfti-irow:11'> 364 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 365 <p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language: 366 EN-GB'>messageFormat</span></span><span lang=EN-GB style='mso-ansi-language: 367 EN-GB'><o:p></o:p></span></p> 368 </td> 369 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 370 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set 371 to a message format the specified output style for messages is used.<o:p></o:p></span></p> 372 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 373 is false.<o:p></o:p></span></p> 374 </td> 375 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 376 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 377 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 378 </td> 379 </tr> 380 <tr style='mso-yfti-irow:12'> 381 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 382 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>multithreaded<o:p></o:p></span></p> 383 </td> 384 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 385 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set 386 to "true", run the analysis in 2 threads.<o:p></o:p></span></p> 387 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 388 is false.<o:p></o:p></span></p> 389 </td> 390 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 391 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 392 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 393 </td> 394 </tr> 395 <tr style='mso-yfti-irow:13'> 396 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 397 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>dir<o:p></o:p></span></p> 398 </td> 399 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 400 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>The 401 directory to invoke the VM in.<o:p></o:p></span></p> 402 </td> 403 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 404 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 405 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 406 </td> 407 </tr> 408 <tr style='mso-yfti-irow:14'> 409 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 410 <p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language: 411 EN-GB'>dbgST</span></span><span lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p> 412 </td> 413 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 414 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>When set 415 to true, put tags at start/stop of all templates in output.<o:p></o:p></span></p> 416 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 417 is false.<o:p></o:p></span></p> 418 </td> 419 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 420 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 421 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 422 </td> 423 </tr> 424 <tr style='mso-yfti-irow:15'> 425 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 426 <p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language: 427 EN-GB'>noprune</span></span><span lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p> 428 </td> 429 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 430 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Test <span 431 class=SpellE>lookahead</span> against EBNF block exit branches.<o:p></o:p></span></p> 432 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 433 is false.<o:p></o:p></span></p> 434 </td> 435 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 436 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 437 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 438 </td> 439 </tr> 440 <tr style='mso-yfti-irow:16'> 441 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 442 <p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language: 443 EN-GB'>nocollapse</span></span><span lang=EN-GB style='mso-ansi-language: 444 EN-GB'><o:p></o:p></span></p> 445 </td> 446 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 447 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>collapse 448 incident edges into DFA states<o:p></o:p></span></p> 449 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 450 is false.<o:p></o:p></span></p> 451 </td> 452 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 453 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 454 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 455 </td> 456 </tr> 457 <tr style='mso-yfti-irow:17;mso-yfti-lastrow:yes'> 458 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 459 <p class=MsoNormal><span class=SpellE><span lang=EN-GB style='mso-ansi-language: 460 EN-GB'>conversiontimeout</span></span><span lang=EN-GB style='mso-ansi-language: 461 EN-GB'><o:p></o:p></span></p> 462 </td> 463 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 464 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Set the 465 NFA conversion timeout for each <span class=SpellE>decisition</span> to the 466 supplied number of milliseconds.<o:p></o:p></span></p> 467 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Default 468 is 100 as per ANTLR3<o:p></o:p></span></p> 469 </td> 470 <td valign=top style='padding:1.2pt 1.2pt 1.2pt 1.2pt'> 471 <p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB 472 style='mso-ansi-language:EN-GB'>No<o:p></o:p></span></p> 473 </td> 474 </tr> 475 </table> 476 477 <h3><span lang=EN-GB style='font-size:12.0pt;mso-ansi-language:EN-GB; 478 font-weight:normal'>As nearly everywhere in ant true respectively false can 479 be used instead of yes and no to activate or deactivate an attribute.<o:p></o:p></span></h3> 480 481 <h3><span lang=EN-GB style='mso-ansi-language:EN-GB'>Nested Elements<o:p></o:p></span></h3> 482 483 <p><code><span lang=EN-GB style='font-size:10.0pt;mso-ansi-language:EN-GB'>ANTLR3</span></code><span 484 lang=EN-GB style='mso-ansi-language:EN-GB'> supports a nested </span><code><span 485 lang=EN-GB style='font-size:10.0pt;mso-ansi-language:EN-GB'><<span 486 class=SpellE>classpath</span>></span></code><span lang=EN-GB 487 style='mso-ansi-language:EN-GB'> <span class=GramE>element, that represents a <span 488 lang=DE style='mso-ansi-language:DE'><a 489 href="http://ant.apache.org/manual/using.html#path"><span lang=EN-GB 490 style='mso-ansi-language:EN-GB'>PATH</span></a></span></span><span 491 class=MsoHyperlink> like structure</span></span></p> 492 493 <span lang=EN-GB style='font-size:12.0pt;font-family:"Times New Roman"; 494 mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-GB;mso-fareast-language: 495 DE;mso-bidi-language:AR-SA'>. It is given as a convenience if you have to 496 specify the original ANTLR directory. In most cases, having the antlr-3.x.jar, 497 the antlr-2.7.7.jar and the stringtemplate-3.x.jar referenced in the <span 498 class=SpellE>classpath</span> or via the ANTLR_HOME environment variable will 499 be enough.</span><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 500 12.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman"; 501 mso-ansi-language:EN-GB;mso-fareast-language:DE;mso-bidi-language:AR-SA'><o:p></o:p></span> 502 503 <h4><span lang=EN-GB style='mso-ansi-language:EN-GB'><a 504 href="http://ant.apache.org/manual/using.html#path"><span class=SpellE><span 505 class=GramE><span style='color:windowtext;text-decoration:none;text-underline: 506 none'>jvmarg</span></span></span><span style='color:windowtext;text-decoration: 507 none;text-underline:none'><o:p></o:p></span></a></span></h4> 508 509 <p><span lang=EN-GB style='mso-ansi-language:EN-GB'><a 510 href="http://ant.apache.org/manual/using.html#path"><span style='color:windowtext; 511 text-decoration:none;text-underline:none'>Additional parameters may be passed 512 to the new VM via nested </span><code><span style='font-size:10.0pt;color:windowtext; 513 text-decoration:none;text-underline:none'><<span class=SpellE>jvmarg</span>></span></code><span 514 style='color:windowtext;text-decoration:none;text-underline:none'> attributes, 515 for example:<o:p></o:p></span></a></span></p> 516 517 <pre><span lang=EN-GB style='mso-ansi-language:EN-GB'><a 518 href="http://ant.apache.org/manual/using.html#path"><span style='color:windowtext; 519 text-decoration:none;text-underline:none'><antlr<span class=GramE>:antlr3</span> <span 520 class=SpellE>xmlns:antlr</span>="<span class=SpellE>antlib:org/apache/tools/ant/antlr</span>" target="..."><o:p></o:p></span></a></span></pre><pre><span 521 lang=EN-GB style='mso-ansi-language:EN-GB'><a 522 href="http://ant.apache.org/manual/using.html#path"><span style='color:windowtext; 523 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> </span><<span 524 class=SpellE>jvmarg</span> value="-Xmx512M"/><o:p></o:p></span></a></span></pre><pre><span 525 lang=EN-GB style='mso-ansi-language:EN-GB'><a 526 href="http://ant.apache.org/manual/using.html#path"><span style='color:windowtext; 527 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> </span>...<o:p></o:p></span></a></span></pre><pre><span 528 lang=EN-GB style='mso-ansi-language:EN-GB'><a 529 href="http://ant.apache.org/manual/using.html#path"><span style='color:windowtext; 530 text-decoration:none;text-underline:none'></antlr<span class=GramE>:antlr3</span>><o:p></o:p></span></a></span></pre> 531 532 <p><span lang=EN-GB style='mso-ansi-language:EN-GB'><a 533 href="http://ant.apache.org/manual/using.html#path"><span class=GramE><span 534 style='color:windowtext;text-decoration:none;text-underline:none'>would</span></span><span 535 style='color:windowtext;text-decoration:none;text-underline:none'> set the 536 maximum Java heap size to 512 Megabyte when running ANTLR3.<o:p></o:p></span></a></span></p> 537 538 <p><code><span lang=EN-GB style='font-size:10.0pt;mso-ansi-language:EN-GB'><a 539 href="http://ant.apache.org/manual/using.html#path"><span style='color:windowtext; 540 text-decoration:none;text-underline:none'><<span class=SpellE><span 541 class=GramE>jvmarg</span></span>></span><span style='font-size:12.0pt; 542 font-family:"Times New Roman";mso-fareast-font-family:"Times New Roman"; 543 color:windowtext;text-decoration:none;text-underline:none'> allows all 544 attributes described in </span><span lang=DE style='font-size:12.0pt; 545 font-family:"Times New Roman";mso-fareast-font-family:"Times New Roman"; 546 color:windowtext;mso-ansi-language:DE;text-decoration:none;text-underline:none'><span 547 style='mso-field-code:" HYPERLINK \0022http\:\/\/ant\.apache\.org\/manual\/using\.html\0022 \\l \0022arg\0022 "'><u><span 548 lang=EN-GB style='color:blue;mso-ansi-language:EN-GB'>Command line arguments</span></u></span></span><span 549 style='font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family: 550 "Times New Roman";color:windowtext;text-decoration:none;text-underline:none'>.</span><span 551 style='font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family: 552 "Times New Roman";color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></a></span></code></p> 553 554 <h3><span lang=FR style='mso-ansi-language:FR'><a 555 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 556 text-decoration:none;text-underline:none'>Example<o:p></o:p></span></a></span></h3> 557 558 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 559 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 560 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 561 text-decoration:none;text-underline:none'><antlr<span class=GramE>:antlr3</span> 562 <span class=SpellE>xmlns:antlr</span>="<span class=SpellE>antlib:org/apache/tools/ant/antlr</span>"<br> 563 </span><span style='font-size:12.0pt;font-family:"Times New Roman";color:windowtext; 564 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 565 </span></span><span style='color:windowtext;text-decoration:none;text-underline: 566 none'>target="etc/<span class=SpellE>java.g</span>"<br> 567 </span><span style='font-size:12.0pt;font-family:"Times New Roman";color:windowtext; 568 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 569 </span></span><span class=SpellE><span style='color:windowtext;text-decoration: 570 none;text-underline:none'>outputdirectory</span></span><span style='color:windowtext; 571 text-decoration:none;text-underline:none'>="build/<span class=SpellE>src</span>"<o:p></o:p></span></a></span></p> 572 573 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><a 574 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 575 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 576 </span></span><span class=SpellE><span class=GramE><span style='font-size:10.0pt; 577 mso-bidi-font-size:12.0pt;font-family:"Courier New";color:windowtext; 578 text-decoration:none;text-underline:none'>libdirectory</span></span></span><span 579 style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Courier New"; 580 color:windowtext;text-decoration:none;text-underline:none'>="build/<span 581 class=SpellE>src</span>"<o:p></o:p></span></a></span></p> 582 583 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><a 584 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 585 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 586 </span></span><span class=GramE><span style='font-size:10.0pt;mso-bidi-font-size: 587 12.0pt;font-family:"Courier New";color:windowtext;text-decoration:none; 588 text-underline:none'>multithreaded</span></span><span style='font-size:10.0pt; 589 mso-bidi-font-size:12.0pt;font-family:"Courier New";color:windowtext; 590 text-decoration:none;text-underline:none'>="true"<o:p></o:p></span></a></span></p> 591 592 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 593 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 594 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 595 text-decoration:none;text-underline:none'></antlr<span class=GramE>:antlr3</span>><o:p></o:p></span></a></span></p> 596 597 <p><span lang=EN-GB style='mso-ansi-language:EN-GB'><a 598 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 599 text-decoration:none;text-underline:none'>This invokes ANTLR3 on grammar file 600 etc/<span class=SpellE>java.g</span>, writing the generated files to build/<span 601 class=SpellE>src</span>. The analysis is being done in two threads.<br 602 clear=all style='page-break-before:always'> 603 A complete build file showing the usage of the ANTLR3 task might look like 604 this:</span><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: 605 "Courier New";color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></a></span></p> 606 607 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><a 608 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 609 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 610 611 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 612 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 613 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 614 text-decoration:none;text-underline:none'><project name="d2u" 615 default="dist" <span class=SpellE>basedir</span>="."><o:p></o:p></span></a></span></p> 616 617 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 618 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 619 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 620 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 621 </span><<span class=GramE>description</span>><o:p></o:p></span></a></span></p> 622 623 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 624 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 625 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 626 text-decoration:none;text-underline:none'><span 627 style='mso-spacerun:yes'> </span>More than a DOS to UNIX conversion of 628 line ends.<o:p></o:p></span></a></span></p> 629 630 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 631 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 632 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 633 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 634 </span></description><o:p></o:p></span></a></span></p> 635 636 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 637 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 638 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 639 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 640 </span><o:p></o:p></span></a></span></p> 641 642 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 643 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 644 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 645 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 646 </span><property name="<span class=SpellE>project.name</span>" 647 value="d2u" /><o:p></o:p></span></a></span></p> 648 649 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 650 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 651 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 652 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 653 </span><o:p></o:p></span></a></span></p> 654 655 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 656 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 657 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 658 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 659 </span><span class=GramE><!--</span> program version --><o:p></o:p></span></a></span></p> 660 661 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 662 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 663 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 664 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 665 </span><property name="version" value="1.00" /><o:p></o:p></span></a></span></p> 666 667 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 668 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 669 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 670 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 671 </span><o:p></o:p></span></a></span></p> 672 673 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 674 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 675 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 676 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 677 </span><span class=GramE><!--</span> set global properties for this build 678 --><o:p></o:p></span></a></span></p> 679 680 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 681 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 682 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 683 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 684 </span><property name="build" location="."/><o:p></o:p></span></a></span></p> 685 686 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 687 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 688 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 689 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 690 </span><property name="<span class=SpellE>src</span>" 691 location="<span class=SpellE>src</span>"/><o:p></o:p></span></a></span></p> 692 693 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 694 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 695 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 696 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 697 </span><property name="classes" location="classes"/><o:p></o:p></span></a></span></p> 698 699 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 700 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 701 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 702 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 703 </span><property name="dist" location="dist" /><o:p></o:p></span></a></span></p> 704 705 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 706 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 707 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 708 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 709 </span><property name="doc" location="docs/<span 710 class=SpellE>api</span>"/><o:p></o:p></span></a></span></p> 711 712 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 713 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 714 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 715 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 716 </span><property name="grammar" location="grammar"/><o:p></o:p></span></a></span></p> 717 718 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 719 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 720 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 721 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 722 723 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 724 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 725 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 726 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 727 </span><property name="package" value="org/<span 728 class=SpellE>myorg</span>/${<span class=SpellE>project.name</span>}"/><o:p></o:p></span></a></span></p> 729 730 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 731 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 732 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 733 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 734 </span><o:p></o:p></span></a></span></p> 735 736 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 737 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 738 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 739 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 740 </span><span class=GramE><!--</span> where to write/find token files --><o:p></o:p></span></a></span></p> 741 742 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 743 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 744 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 745 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 746 </span><property name="<span class=SpellE>token.lib</span>" 747 location="${<span class=SpellE>src</span>}/${package}" /><o:p></o:p></span></a></span></p> 748 749 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 750 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 751 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 752 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 753 754 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 755 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 756 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 757 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 758 </span><span class=GramE><!--</span> <span class=SpellE>antlr</span> options 759 --><o:p></o:p></span></a></span></p> 760 761 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 762 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 763 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 764 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 765 </span><property name="profile" value="false" /><o:p></o:p></span></a></span></p> 766 767 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 768 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 769 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 770 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 771 </span><property name="report" value="true" /><o:p></o:p></span></a></span></p> 772 773 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 774 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 775 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 776 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 777 </span><property name="multithreaded" value="true" /><o:p></o:p></span></a></span></p> 778 779 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 780 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 781 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 782 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 783 784 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 785 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 786 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 787 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 788 </span><span class=GramE><!--</span> where to find <span class=SpellE>antlr</span> 789 and associates --><o:p></o:p></span></a></span></p> 790 791 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 792 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 793 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 794 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 795 796 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 797 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 798 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 799 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 800 </span><span class=GramE><!--</span> If the jar-archives listed below are 801 already in the <span class=SpellE>classpath</span> --><o:p></o:p></span></a></span></p> 802 803 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 804 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 805 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 806 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 807 </span><span class=GramE><!--</span> the definition of <span class=SpellE>antlr.path</span> 808 could be dropped, because --><o:p></o:p></span></a></span></p> 809 810 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 811 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 812 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 813 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 814 </span><span class=GramE><!--</span> antlr3.jar will resolve the libraries 815 by itself. --><o:p></o:p></span></a></span></p> 816 817 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 818 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 819 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 820 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 821 </span><span class=GramE><!--</span> As <span class=SpellE>antlr.libdir</span> 822 and <span class=SpellE>antlr.libs</span> are just auxiliary --><o:p></o:p></span></a></span></p> 823 824 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 825 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 826 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 827 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 828 </span><span class=GramE><!--</span> parameters helping to create <span 829 class=SpellE>antlr.path</span>, --><o:p></o:p></span></a></span></p> 830 831 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 832 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 833 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 834 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 835 </span><span class=GramE><!--</span> they could be eliminated in this case, 836 too. --><o:p></o:p></span></a></span></p> 837 838 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 839 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 840 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 841 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 842 843 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 844 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 845 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 846 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 847 </span><property name="<span class=SpellE>antlr.libdir</span>" 848 location="C<span class=GramE>:/</span>Programme/<span class=SpellE>antlr</span>/lib" 849 /><o:p></o:p></span></a></span></p> 850 851 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 852 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 853 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 854 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 855 856 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 857 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 858 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 859 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 860 </span><<span class=SpellE>patternset</span> id="<span class=SpellE>antlr.libs</span>"><o:p></o:p></span></a></span></p> 861 862 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 863 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 864 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 865 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 866 </span><span style='mso-spacerun:yes'></span><include name="antlr-3.1.jar" 867 /><o:p></o:p></span></a></span></p> 868 869 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 870 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 871 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 872 text-decoration:none;text-underline:none'><span 873 style='mso-spacerun:yes'> </span><include 874 name="antlr-2.7.7.jar" /><o:p></o:p></span></a></span></p> 875 876 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 877 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 878 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 879 text-decoration:none;text-underline:none'><span 880 style='mso-spacerun:yes'> </span><include 881 name="stringtemplate-3.2.jar" /><o:p></o:p></span></a></span></p> 882 883 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 884 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 885 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 886 text-decoration:none;text-underline:none'><span 887 style='mso-spacerun:yes'> </span><include name="antlr-runtime-3.1.jar" 888 /><o:p></o:p></span></a></span></p> 889 890 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 891 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 892 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 893 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 894 </span></<span class=SpellE>patternset</span>><o:p></o:p></span></a></span></p> 895 896 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 897 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 898 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 899 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 900 901 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 902 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 903 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 904 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 905 </span><path id="<span class=SpellE>antlr.path</span>"><o:p></o:p></span></a></span></p> 906 907 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 908 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 909 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 910 text-decoration:none;text-underline:none'><span 911 style='mso-spacerun:yes'> </span><<span class=SpellE>fileset</span> 912 dir="${<span class=SpellE>antlr.libdir</span>}" <span class=SpellE>casesensitive</span>="yes"><o:p></o:p></span></a></span></p> 913 914 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 915 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 916 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 917 text-decoration:none;text-underline:none'><span 918 style='mso-spacerun:yes'> </span><<span class=SpellE>patternset</span> 919 <span class=SpellE>refid</span>="<span class=SpellE>antlr.libs</span>" 920 /><o:p></o:p></span></a></span></p> 921 922 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 923 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 924 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 925 text-decoration:none;text-underline:none'><span 926 style='mso-spacerun:yes'> </span></<span class=SpellE>fileset</span>><o:p></o:p></span></a></span></p> 927 928 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 929 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 930 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 931 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 932 </span></path><o:p></o:p></span></a></span></p> 933 934 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 935 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 936 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 937 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 938 939 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 940 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 941 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 942 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 943 </span><target name="init"><o:p></o:p></span></a></span></p> 944 945 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 946 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 947 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 948 text-decoration:none;text-underline:none'><span 949 style='mso-spacerun:yes'> </span><span class=GramE><!--</span> Create 950 the time stamp --><o:p></o:p></span></a></span></p> 951 952 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 953 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 954 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 955 text-decoration:none;text-underline:none'><span 956 style='mso-spacerun:yes'> </span><<span class=SpellE>tstamp</span> 957 /><o:p></o:p></span></a></span></p> 958 959 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 960 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 961 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 962 text-decoration:none;text-underline:none'><span 963 style='mso-spacerun:yes'> </span><span class=GramE><!--</span> Create 964 the build directory structure used by compile --><o:p></o:p></span></a></span></p> 965 966 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 967 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 968 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 969 text-decoration:none;text-underline:none'><span 970 style='mso-spacerun:yes'> </span></span><span lang=DE style='color:windowtext; 971 mso-ansi-language:DE;text-decoration:none;text-underline:none'><<span 972 class=SpellE>mkdir</span> dir="${<span class=SpellE>grammar</span>}" 973 /><o:p></o:p></span></a></span></p> 974 975 <p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt; 976 font-family:"Courier New"'><a href="http://ant.apache.org/manual/using.html#arg"><span 977 style='color:windowtext;text-decoration:none;text-underline:none'><span 978 style='mso-spacerun:yes'> </span><<span class=SpellE>mkdir</span> 979 dir="${<span class=SpellE>src</span>}/${<span class=SpellE>package</span>}" 980 /><o:p></o:p></span></a></span></p> 981 982 <p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt; 983 font-family:"Courier New"'><a href="http://ant.apache.org/manual/using.html#arg"><span 984 style='color:windowtext;text-decoration:none;text-underline:none'><span 985 style='mso-spacerun:yes'> </span><<span class=SpellE>mkdir</span> 986 dir="${<span class=SpellE>classes</span>}/${<span class=SpellE>package</span>}" 987 /><o:p></o:p></span></a></span></p> 988 989 <p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt; 990 font-family:"Courier New"'><a href="http://ant.apache.org/manual/using.html#arg"><span 991 style='color:windowtext;text-decoration:none;text-underline:none'><span 992 style='mso-spacerun:yes'> </span></span><span lang=IT style='color:windowtext; 993 mso-ansi-language:IT;text-decoration:none;text-underline:none'><mkdir 994 dir="${classes}/META-INF" /><o:p></o:p></span></a></span></p> 995 996 <p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size: 997 12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a 998 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 999 text-decoration:none;text-underline:none'><span 1000 style='mso-spacerun:yes'> </span><mkdir dir="${dist}/lib" 1001 /><o:p></o:p></span></a></span></p> 1002 1003 <p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size: 1004 12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a 1005 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1006 text-decoration:none;text-underline:none'><span 1007 style='mso-spacerun:yes'> </span><mkdir 1008 dir="${doc}/${package}" /><o:p></o:p></span></a></span></p> 1009 1010 <p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size: 1011 12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a 1012 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1013 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1014 </span></span><span lang=EN-GB style='color:windowtext;mso-ansi-language:EN-GB; 1015 text-decoration:none;text-underline:none'></target><o:p></o:p></span></a></span></p> 1016 1017 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1018 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1019 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1020 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1021 1022 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1023 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1024 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1025 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1026 </span><target name="<span class=SpellE>antlr</span>" 1027 depends="init" description="run <span class=SpellE>antlr</span> 1028 on grammar"><o:p></o:p></span></a></span></p> 1029 1030 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1031 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1032 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1033 text-decoration:none;text-underline:none'><span 1034 style='mso-spacerun:yes'> </span><echo message="<span 1035 class=SpellE>antlr</span> ${grammar}/${<span class=SpellE>grammar.name</span>}" 1036 /><o:p></o:p></span></a></span></p> 1037 1038 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1039 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1040 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1041 text-decoration:none;text-underline:none'><span 1042 style='mso-spacerun:yes'> </span><antlr<span class=GramE>:antlr3</span> 1043 <span class=SpellE>xmlns:antlr</span>="<span class=SpellE>antlib:org/apache/tools/ant/antlr</span>" 1044 <o:p></o:p></span></a></span></p> 1045 1046 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1047 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1048 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1049 text-decoration:none;text-underline:none'><span 1050 style='mso-spacerun:yes'> </span><span class=GramE>target</span>="${grammar}/${<span 1051 class=SpellE>grammar.name</span>}" <o:p></o:p></span></a></span></p> 1052 1053 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1054 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1055 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1056 text-decoration:none;text-underline:none'><span 1057 style='mso-spacerun:yes'> </span><span class=SpellE><span 1058 class=GramE>outputdirectory</span></span>="${<span class=SpellE>src</span>}/${package}"<o:p></o:p></span></a></span></p> 1059 1060 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1061 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1062 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1063 text-decoration:none;text-underline:none'><span 1064 style='mso-spacerun:yes'> </span><span class=GramE>multithreaded</span>="${multithreaded}"<o:p></o:p></span></a></span></p> 1065 1066 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1067 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1068 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1069 text-decoration:none;text-underline:none'><span 1070 style='mso-spacerun:yes'> </span><span class=GramE>report</span>="${report}"<o:p></o:p></span></a></span></p> 1071 1072 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1073 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1074 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1075 text-decoration:none;text-underline:none'><span 1076 style='mso-spacerun:yes'> </span><span class=GramE>profile</span>="${profile}"><o:p></o:p></span></a></span></p> 1077 1078 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1079 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1080 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1081 text-decoration:none;text-underline:none'><span 1082 style='mso-spacerun:yes'> </span></antlr<span class=GramE>:antlr3</span>><o:p></o:p></span></a></span></p> 1083 1084 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1085 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1086 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1087 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1088 </span></target><o:p></o:p></span></a></span></p> 1089 1090 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1091 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1092 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1093 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1094 1095 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1096 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1097 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1098 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1099 </span><target name="compile" depends="<span class=SpellE>antlr</span>" 1100 description="compile"><o:p></o:p></span></a></span></p> 1101 1102 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1103 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1104 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1105 text-decoration:none;text-underline:none'><span 1106 style='mso-spacerun:yes'> </span><span class=GramE><!--</span> 1107 Compile the java code from ${<span class=SpellE>src</span>} into ${classes} 1108 --><o:p></o:p></span></a></span></p> 1109 1110 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1111 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1112 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1113 text-decoration:none;text-underline:none'><span 1114 style='mso-spacerun:yes'> </span><<span class=SpellE>javac</span> 1115 debug="true" <span class=SpellE>srcdir</span>="${<span 1116 class=SpellE>src</span>}" <span class=SpellE>destdir</span>="${classes}"<span 1117 style='mso-spacerun:yes'> </span><o:p></o:p></span></a></span></p> 1118 1119 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1120 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1121 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1122 text-decoration:none;text-underline:none'><span 1123 style='mso-spacerun:yes'> </span><span class=SpellE><span 1124 class=GramE>listfiles</span></span>="Yes" 1125 deprecation="Yes"><o:p></o:p></span></a></span></p> 1126 1127 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1128 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1129 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1130 text-decoration:none;text-underline:none'><span 1131 style='mso-spacerun:yes'> </span><<span class=SpellE><span 1132 class=GramE>classpath</span></span>><o:p></o:p></span></a></span></p> 1133 1134 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1135 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1136 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1137 text-decoration:none;text-underline:none'><span 1138 style='mso-spacerun:yes'> </span><span 1139 style='mso-spacerun:yes'></span><path <span class=SpellE>refid</span>="<span 1140 class=SpellE>antlr.path</span>"/><o:p></o:p></span></a></span></p> 1141 1142 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1143 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1144 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1145 text-decoration:none;text-underline:none'><span 1146 style='mso-spacerun:yes'> </span></<span class=SpellE>classpath</span>><o:p></o:p></span></a></span></p> 1147 1148 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1149 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1150 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1151 text-decoration:none;text-underline:none'><span 1152 style='mso-spacerun:yes'> </span><<span class=SpellE>compilerarg</span> 1153 value="-<span class=SpellE>Xlint<span class=GramE>:unchecked</span></span>"/><o:p></o:p></span></a></span></p> 1154 1155 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1156 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1157 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1158 text-decoration:none;text-underline:none'><span 1159 style='mso-spacerun:yes'> </span></<span class=SpellE>javac</span>><o:p></o:p></span></a></span></p> 1160 1161 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1162 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1163 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1164 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1165 </span></target><o:p></o:p></span></a></span></p> 1166 1167 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1168 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1169 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1170 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1171 1172 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1173 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1174 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1175 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1176 </span><target name="manifest"><o:p></o:p></span></a></span></p> 1177 1178 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1179 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1180 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1181 text-decoration:none;text-underline:none'><span 1182 style='mso-spacerun:yes'> </span><manifest 1183 file="${classes}/META-INF/MANIFEST.MF"><o:p></o:p></span></a></span></p> 1184 1185 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1186 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1187 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1188 text-decoration:none;text-underline:none'><span 1189 style='mso-spacerun:yes'> </span><attribute name="Main-Class" 1190 value="${package}.Main" /><o:p></o:p></span></a></span></p> 1191 1192 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1193 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1194 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1195 text-decoration:none;text-underline:none'><span 1196 style='mso-spacerun:yes'> </span></manifest><o:p></o:p></span></a></span></p> 1197 1198 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1199 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1200 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1201 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1202 </span></target><o:p></o:p></span></a></span></p> 1203 1204 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1205 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1206 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1207 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1208 1209 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1210 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1211 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1212 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1213 </span><target name="dist" depends="compile, manifest" <o:p></o:p></span></a></span></p> 1214 1215 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1216 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1217 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1218 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1219 </span><span class=GramE>description</span>="generate for 1220 distribution"><o:p></o:p></span></a></span></p> 1221 1222 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1223 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1224 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1225 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1226 </span><jar <span class=SpellE>jarfile</span>="${dist}/lib/${<span 1227 class=SpellE>project.name</span>}.jar" <span class=SpellE>basedir</span>="${classes}" 1228 <o:p></o:p></span></a></span></p> 1229 1230 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1231 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1232 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1233 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1234 </span><span style='mso-spacerun:yes'></span></span><span lang=IT 1235 style='color:windowtext;mso-ansi-language:IT;text-decoration:none;text-underline: 1236 none'>manifest="${classes}/META-INF/MANIFEST.MF"/><o:p></o:p></span></a></span></p> 1237 1238 <p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size: 1239 12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a 1240 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1241 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1242 </span></span><span lang=EN-GB style='color:windowtext;mso-ansi-language:EN-GB; 1243 text-decoration:none;text-underline:none'></target><o:p></o:p></span></a></span></p> 1244 1245 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1246 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1247 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1248 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1249 1250 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1251 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1252 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1253 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1254 </span><target name="doc" description="generate 1255 documentation"><o:p></o:p></span></a></span></p> 1256 1257 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1258 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1259 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1260 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1261 </span><<span class=SpellE>javadoc</span> <span class=SpellE>destdir</span>="${doc}"<o:p></o:p></span></a></span></p> 1262 1263 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1264 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1265 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1266 text-decoration:none;text-underline:none'><span 1267 style='mso-spacerun:yes'> </span><span class=GramE>author</span>="true"<o:p></o:p></span></a></span></p> 1268 1269 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1270 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1271 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1272 text-decoration:none;text-underline:none'><span 1273 style='mso-spacerun:yes'> </span><span class=GramE>version</span>="true"<o:p></o:p></span></a></span></p> 1274 1275 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1276 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1277 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1278 text-decoration:none;text-underline:none'><span 1279 style='mso-spacerun:yes'> </span><span class=GramE>use</span>="true"<o:p></o:p></span></a></span></p> 1280 1281 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1282 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1283 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1284 text-decoration:none;text-underline:none'><span 1285 style='mso-spacerun:yes'> </span><span 1286 style='mso-spacerun:yes'></span><span class=SpellE><span class=GramE>windowtitle</span></span>="${<span 1287 class=SpellE>project.name</span>}"<o:p></o:p></span></a></span></p> 1288 1289 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1290 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1291 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1292 text-decoration:none;text-underline:none'><span 1293 style='mso-spacerun:yes'> </span><span class=SpellE><span 1294 class=GramE>sourcefiles</span></span>="${<span class=SpellE>src</span>}/${package}/*.java"<o:p></o:p></span></a></span></p> 1295 1296 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1297 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1298 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1299 text-decoration:none;text-underline:none'><span 1300 style='mso-spacerun:yes'> </span>Protected="All" 1301 Private="All"<o:p></o:p></span></a></span></p> 1302 1303 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1304 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1305 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1306 text-decoration:none;text-underline:none'><span 1307 style='mso-spacerun:yes'> </span>Public="All"<o:p></o:p></span></a></span></p> 1308 1309 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1310 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1311 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1312 text-decoration:none;text-underline:none'><span 1313 style='mso-spacerun:yes'> </span><span class=SpellE><span 1314 class=GramE>linksource</span></span>="yes"<o:p></o:p></span></a></span></p> 1315 1316 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1317 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1318 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1319 text-decoration:none;text-underline:none'><span 1320 style='mso-spacerun:yes'> </span><span class=SpellE><span 1321 class=GramE>breakiterator</span></span>="Yes" /><o:p></o:p></span></a></span></p> 1322 1323 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1324 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1325 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1326 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1327 </span></target><o:p></o:p></span></a></span></p> 1328 1329 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1330 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1331 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1332 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1333 1334 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1335 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1336 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1337 text-decoration:none;text-underline:none'><span 1338 style='mso-spacerun:yes'></span><span style='mso-spacerun:yes'> 1339 </span><target name="clean" description="clean up"><o:p></o:p></span></a></span></p> 1340 1341 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1342 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1343 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1344 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1345 </span><<span class=GramE>delete</span>><o:p></o:p></span></a></span></p> 1346 1347 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1348 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1349 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1350 text-decoration:none;text-underline:none'><span 1351 style='mso-spacerun:yes'> </span><<span class=SpellE>fileset</span> 1352 dir="${<span class=SpellE>src</span>}" <o:p></o:p></span></a></span></p> 1353 1354 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1355 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1356 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1357 text-decoration:none;text-underline:none'><span 1358 style='mso-spacerun:yes'> </span><span class=GramE>includes</span>="**/*.class,**/*.tokens,**/*.g*" 1359 /><o:p></o:p></span></a></span></p> 1360 1361 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1362 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1363 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1364 text-decoration:none;text-underline:none'><span 1365 style='mso-spacerun:yes'> </span><<span class=SpellE>fileset</span> 1366 dir="${classes}" /><o:p></o:p></span></a></span></p> 1367 1368 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1369 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1370 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1371 text-decoration:none;text-underline:none'><span 1372 style='mso-spacerun:yes'> </span><<span class=SpellE>fileset</span> 1373 dir="${dist}" includes="**/*.jar" /><o:p></o:p></span></a></span></p> 1374 1375 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1376 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1377 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1378 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1379 </span><span style='mso-spacerun:yes'></span><<span class=SpellE>fileset</span> 1380 dir="${doc}" /><o:p></o:p></span></a></span></p> 1381 1382 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1383 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1384 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1385 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1386 </span></delete><o:p></o:p></span></a></span></p> 1387 1388 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1389 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1390 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1391 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1392 </span></target><o:p></o:p></span></a></span></p> 1393 1394 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1395 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1396 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1397 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1398 </span><o:p></o:p></span></a></span></p> 1399 1400 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1401 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1402 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1403 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1404 </span><target name="all" depends="clean, dist, doc" 1405 description="clean up"/><o:p></o:p></span></a></span></p> 1406 1407 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1408 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1409 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1410 text-decoration:none;text-underline:none'><span 1411 style='mso-spacerun:yes'> </span><o:p></o:p></span></a></span></p> 1412 1413 <p class=MsoNormal><span lang=FR style='font-size:10.0pt;mso-bidi-font-size: 1414 12.0pt;font-family:"Courier New";mso-ansi-language:FR'><a 1415 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1416 text-decoration:none;text-underline:none'></project><o:p></o:p></span></a></span></p> 1417 1418 <p class=MsoNormal><span lang=FR style='font-size:10.0pt;mso-bidi-font-size: 1419 12.0pt;font-family:"Courier New";mso-ansi-language:FR'><a 1420 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1421 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1422 1423 <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><a 1424 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1425 text-decoration:none;text-underline:none'>The same build file assuming 1426 antlr-3.1.jar, stringtemplate-3.2.jar and antlr-2.7.7.jar are part of the java <span 1427 class=SpellE>classpath</span>. Have a look at the <span class=SpellE>antlr</span> 1428 and compile targets which dont reference <span class=SpellE>antlr.path</span> 1429 any more.</span><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt; 1430 font-family:"Courier New";color:windowtext;text-decoration:none;text-underline: 1431 none'><o:p></o:p></span></a></span></p> 1432 1433 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1434 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1435 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1436 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1437 1438 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1439 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1440 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1441 text-decoration:none;text-underline:none'><project name="d2u" 1442 default="dist" <span class=SpellE>basedir</span>="."><o:p></o:p></span></a></span></p> 1443 1444 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1445 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1446 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1447 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1448 </span><<span class=GramE>description</span>><o:p></o:p></span></a></span></p> 1449 1450 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1451 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1452 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1453 text-decoration:none;text-underline:none'><span 1454 style='mso-spacerun:yes'> </span>More than a DOS to UNIX conversion of 1455 line ends.<o:p></o:p></span></a></span></p> 1456 1457 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1458 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1459 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1460 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1461 </span></description><o:p></o:p></span></a></span></p> 1462 1463 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1464 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1465 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1466 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1467 </span><o:p></o:p></span></a></span></p> 1468 1469 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1470 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1471 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1472 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1473 </span><property name="<span class=SpellE>project.name</span>" 1474 value="d2u" /><o:p></o:p></span></a></span></p> 1475 1476 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1477 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1478 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1479 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1480 </span><o:p></o:p></span></a></span></p> 1481 1482 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1483 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1484 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1485 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1486 </span><span class=GramE><!--</span> program version --><o:p></o:p></span></a></span></p> 1487 1488 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1489 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1490 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1491 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1492 </span><property name="version" value="1.00" /><o:p></o:p></span></a></span></p> 1493 1494 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1495 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1496 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1497 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1498 </span><o:p></o:p></span></a></span></p> 1499 1500 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1501 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1502 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1503 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1504 </span><span class=GramE><!--</span> set global properties for this build 1505 --><o:p></o:p></span></a></span></p> 1506 1507 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1508 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1509 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1510 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1511 </span><property name="build" location="."/><o:p></o:p></span></a></span></p> 1512 1513 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1514 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1515 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1516 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1517 </span><property name="<span class=SpellE>src</span>" 1518 location="<span class=SpellE>src</span>"/><o:p></o:p></span></a></span></p> 1519 1520 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1521 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1522 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1523 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1524 </span><property name="classes" location="classes"/><o:p></o:p></span></a></span></p> 1525 1526 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1527 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1528 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1529 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1530 </span><property name="dist" location="dist" /><o:p></o:p></span></a></span></p> 1531 1532 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1533 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1534 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1535 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1536 </span><property name="doc" location="docs/<span 1537 class=SpellE>api</span>"/><o:p></o:p></span></a></span></p> 1538 1539 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1540 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1541 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1542 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1543 </span><property name="grammar" location="grammar"/><o:p></o:p></span></a></span></p> 1544 1545 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1546 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1547 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1548 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1549 1550 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1551 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1552 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1553 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1554 </span><property name="package" value="org/<span 1555 class=SpellE>myorg</span>/${<span class=SpellE>project.name</span>}"/><o:p></o:p></span></a></span></p> 1556 1557 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1558 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1559 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1560 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1561 </span><o:p></o:p></span></a></span></p> 1562 1563 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1564 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1565 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1566 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1567 </span><span class=GramE><!--</span> where to write/find token files --><o:p></o:p></span></a></span></p> 1568 1569 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1570 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1571 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1572 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1573 </span><property name="<span class=SpellE>token.lib</span>" 1574 location="${<span class=SpellE>src</span>}/${package}" /><o:p></o:p></span></a></span></p> 1575 1576 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1577 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1578 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1579 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1580 1581 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1582 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1583 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1584 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1585 </span><span class=GramE><!--</span> <span class=SpellE>antlr</span> options 1586 --><o:p></o:p></span></a></span></p> 1587 1588 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1589 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1590 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1591 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1592 </span><property name="profile" value="false" /><o:p></o:p></span></a></span></p> 1593 1594 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1595 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1596 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1597 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1598 </span><property name="report" value="true" /><o:p></o:p></span></a></span></p> 1599 1600 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1601 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1602 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1603 text-decoration:none;text-underline:none'><span 1604 style='mso-spacerun:yes'></span><span style='mso-spacerun:yes'> 1605 </span><property name="multithreaded" value="true" /><o:p></o:p></span></a></span></p> 1606 1607 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1608 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1609 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1610 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1611 </span><property name="depend" value="true" /><o:p></o:p></span></a></span></p> 1612 1613 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1614 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1615 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1616 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1617 1618 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1619 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1620 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1621 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1622 </span><target name="init"><o:p></o:p></span></a></span></p> 1623 1624 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1625 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1626 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1627 text-decoration:none;text-underline:none'><span 1628 style='mso-spacerun:yes'> </span><span class=GramE><!--</span> Create 1629 the time stamp --><o:p></o:p></span></a></span></p> 1630 1631 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1632 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1633 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1634 text-decoration:none;text-underline:none'><span 1635 style='mso-spacerun:yes'> </span><<span class=SpellE>tstamp</span> 1636 /><o:p></o:p></span></a></span></p> 1637 1638 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1639 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1640 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1641 text-decoration:none;text-underline:none'><span 1642 style='mso-spacerun:yes'> </span><span class=GramE><!--</span> Create 1643 the build directory structure used by compile --><o:p></o:p></span></a></span></p> 1644 1645 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1646 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1647 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1648 text-decoration:none;text-underline:none'><span 1649 style='mso-spacerun:yes'> </span></span><span lang=DE style='color:windowtext; 1650 mso-ansi-language:DE;text-decoration:none;text-underline:none'><<span 1651 class=SpellE>mkdir</span> dir="${<span class=SpellE>grammar</span>}" 1652 /><o:p></o:p></span></a></span></p> 1653 1654 <p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt; 1655 font-family:"Courier New"'><a href="http://ant.apache.org/manual/using.html#arg"><span 1656 style='color:windowtext;text-decoration:none;text-underline:none'><span 1657 style='mso-spacerun:yes'> </span><<span class=SpellE>mkdir</span> 1658 dir="${<span class=SpellE>src</span>}/${<span class=SpellE>package</span>}" 1659 /><o:p></o:p></span></a></span></p> 1660 1661 <p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt; 1662 font-family:"Courier New"'><a href="http://ant.apache.org/manual/using.html#arg"><span 1663 style='color:windowtext;text-decoration:none;text-underline:none'><span 1664 style='mso-spacerun:yes'> </span><<span class=SpellE>mkdir</span> 1665 dir="${<span class=SpellE>classes</span>}/${<span class=SpellE>package</span>}" 1666 /><o:p></o:p></span></a></span></p> 1667 1668 <p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt; 1669 font-family:"Courier New"'><a href="http://ant.apache.org/manual/using.html#arg"><span 1670 style='color:windowtext;text-decoration:none;text-underline:none'><span 1671 style='mso-spacerun:yes'> </span></span><span lang=IT style='color:windowtext; 1672 mso-ansi-language:IT;text-decoration:none;text-underline:none'><mkdir 1673 dir="${classes}/META-INF" /><o:p></o:p></span></a></span></p> 1674 1675 <p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size: 1676 12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a 1677 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1678 text-decoration:none;text-underline:none'><span 1679 style='mso-spacerun:yes'> </span><mkdir dir="${dist}/lib" 1680 /><o:p></o:p></span></a></span></p> 1681 1682 <p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size: 1683 12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a 1684 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1685 text-decoration:none;text-underline:none'><span 1686 style='mso-spacerun:yes'> </span><mkdir 1687 dir="${doc}/${package}" /><o:p></o:p></span></a></span></p> 1688 1689 <p class=MsoNormal><span lang=IT style='font-size:10.0pt;mso-bidi-font-size: 1690 12.0pt;font-family:"Courier New";mso-ansi-language:IT'><a 1691 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1692 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1693 </span></span><span lang=EN-GB style='color:windowtext;mso-ansi-language:EN-GB; 1694 text-decoration:none;text-underline:none'></target><o:p></o:p></span></a></span></p> 1695 1696 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1697 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1698 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1699 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1700 1701 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1702 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1703 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1704 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1705 </span><target name="<span class=SpellE>antlr</span>" 1706 depends="init" description="run <span class=SpellE>antlr</span> 1707 on grammar"><o:p></o:p></span></a></span></p> 1708 1709 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1710 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1711 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1712 text-decoration:none;text-underline:none'><span 1713 style='mso-spacerun:yes'> </span><echo message="<span 1714 class=SpellE>antlr</span> ${grammar}/${<span class=SpellE>project.name</span>}.g" 1715 /><o:p></o:p></span></a></span></p> 1716 1717 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1718 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1719 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1720 text-decoration:none;text-underline:none'><span 1721 style='mso-spacerun:yes'> </span><antlr<span class=GramE>:antlr3</span> 1722 <span class=SpellE>xmlns:antlr</span>="<span class=SpellE>antlib:org/apache/tools/ant/antlr</span>" 1723 <o:p></o:p></span></a></span></p> 1724 1725 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1726 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1727 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1728 text-decoration:none;text-underline:none'><span 1729 style='mso-spacerun:yes'> </span><span class=GramE>target</span>="${grammar}/${<span 1730 class=SpellE>project.name</span>}.g" <o:p></o:p></span></a></span></p> 1731 1732 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1733 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1734 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1735 text-decoration:none;text-underline:none'><span 1736 style='mso-spacerun:yes'> </span><span class=SpellE><span 1737 class=GramE>outputdirectory</span></span>="${<span class=SpellE>src</span>}/${package}"<o:p></o:p></span></a></span></p> 1738 1739 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1740 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1741 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1742 text-decoration:none;text-underline:none'><span 1743 style='mso-spacerun:yes'> </span><span class=SpellE><span 1744 class=GramE>libdirectory</span></span>="${<span class=SpellE>token.lib</span>}"<o:p></o:p></span></a></span></p> 1745 1746 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1747 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1748 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1749 text-decoration:none;text-underline:none'><span 1750 style='mso-spacerun:yes'> </span><span class=GramE>multithreaded</span>="${multithreaded}"<o:p></o:p></span></a></span></p> 1751 1752 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1753 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1754 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1755 text-decoration:none;text-underline:none'><span 1756 style='mso-spacerun:yes'> </span><span class=GramE>report</span>="${report}"<o:p></o:p></span></a></span></p> 1757 1758 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1759 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1760 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1761 text-decoration:none;text-underline:none'><span 1762 style='mso-spacerun:yes'> </span><span class=GramE>profile</span>="${profile}"<o:p></o:p></span></a></span></p> 1763 1764 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1765 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1766 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1767 text-decoration:none;text-underline:none'><span 1768 style='mso-spacerun:yes'> </span><span class=GramE>depend</span>="${depend}"><o:p></o:p></span></a></span></p> 1769 1770 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1771 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1772 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1773 text-decoration:none;text-underline:none'><span 1774 style='mso-spacerun:yes'> </span></antlr<span class=GramE>:antlr3</span>><o:p></o:p></span></a></span></p> 1775 1776 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1777 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1778 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1779 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1780 </span></target><o:p></o:p></span></a></span></p> 1781 1782 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1783 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1784 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1785 text-decoration:none;text-underline:none'><o:p> </o:p></span></a></span></p> 1786 1787 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1788 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1789 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1790 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1791 </span><target name="compile" depends="<span class=SpellE>antlr</span>" 1792 description="compile"><o:p></o:p></span></a></span></p> 1793 1794 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1795 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1796 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1797 text-decoration:none;text-underline:none'><span 1798 style='mso-spacerun:yes'> </span><span class=GramE><!--</span> 1799 Compile the java code from ${<span class=SpellE>src</span>} into ${classes} 1800 --><o:p></o:p></span></a></span></p> 1801 1802 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1803 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1804 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1805 text-decoration:none;text-underline:none'><span 1806 style='mso-spacerun:yes'> </span><<span class=SpellE>javac</span> 1807 debug="true" <span class=SpellE>srcdir</span>="${<span 1808 class=SpellE>src</span>}" <span class=SpellE>destdir</span>="${classes}"<span 1809 style='mso-spacerun:yes'> </span><o:p></o:p></span></a></span></p> 1810 1811 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1812 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1813 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1814 text-decoration:none;text-underline:none'><span 1815 style='mso-spacerun:yes'> </span><span class=SpellE><span 1816 class=GramE>listfiles</span></span>="Yes" 1817 deprecation="Yes"><o:p></o:p></span></a></span></p> 1818 1819 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1820 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1821 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1822 text-decoration:none;text-underline:none'><span 1823 style='mso-spacerun:yes'> </span><<span class=SpellE>compilerarg</span> 1824 value="-<span class=SpellE>Xlint<span class=GramE>:unchecked</span></span>"/><o:p></o:p></span></a></span></p> 1825 1826 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1827 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1828 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1829 text-decoration:none;text-underline:none'><span 1830 style='mso-spacerun:yes'> </span></<span class=SpellE>javac</span>><o:p></o:p></span></a></span></p> 1831 1832 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1833 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1834 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1835 text-decoration:none;text-underline:none'><span style='mso-spacerun:yes'> 1836 </span></target><o:p></o:p></span></a></span></p> 1837 1838 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1839 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1840 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1841 text-decoration:none;text-underline:none'>.<o:p></o:p></span></a></span></p> 1842 1843 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1844 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1845 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1846 text-decoration:none;text-underline:none'>.<o:p></o:p></span></a></span></p> 1847 1848 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1849 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1850 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1851 text-decoration:none;text-underline:none'>.<o:p></o:p></span></a></span></p> 1852 1853 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1854 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1855 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1856 text-decoration:none;text-underline:none'><span 1857 style='mso-spacerun:yes'> </span><o:p></o:p></span></a></span></p> 1858 1859 <p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size: 1860 12.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><a 1861 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1862 text-decoration:none;text-underline:none'></project><o:p></o:p></span></a></span></p> 1863 1864 <h3><span lang=EN-GB style='mso-ansi-language:EN-GB'><a 1865 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1866 text-decoration:none;text-underline:none'>How does the ant task for Antlr3 1867 finds the Antlr3 libraries<o:p></o:p></span></a></span></h3> 1868 1869 <h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt; 1870 mso-ansi-language:EN-GB;font-weight:normal'><a 1871 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1872 text-decoration:none;text-underline:none'>The ant task for Antlr3 inspects the 1873 environment variable ANTLR_HOME. It looks in the ANTLR_HOME/lib directory and 1874 adds the libraries which fit the patterns <span class=SpellE>antlr</span>-*.jar 1875 and <span class=SpellE>stringtemplate</span>-*.jar to the <span class=SpellE>classpath</span>.<br> 1876 Then it <span class=SpellE>checkes</span> if <span class=SpellE>ANTLRGrammarParseBehavior.class</span>, 1877 <span class=SpellE>ANTLRParser.class</span> and <span class=SpellE>StringTemplate.class</span> 1878 can be resolved via the <span class=SpellE>classpath</span>.<o:p></o:p></span></a></span></h3> 1879 1880 <h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt; 1881 mso-ansi-language:EN-GB;font-weight:normal'><a 1882 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1883 text-decoration:none;text-underline:none'>Warning: If the Anltr3 libraries have 1884 already been listed in the <span class=SpellE>classpath</span> make sure they 1885 point to the same version ANTLR_HOME refers to, else you might get unexpected 1886 results.<br> 1887 Either use ANTLR_HOME to resolve the ANTLR3 libraries or add them to the 1888 CLASSPATH environment variable, but do not use both ways at the same time.<o:p></o:p></span></a></span></h3> 1889 1890 <h3><span lang=EN-GB style='mso-ansi-language:EN-GB'><a 1891 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1892 text-decoration:none;text-underline:none'>Trouble-Shooting<o:p></o:p></span></a></span></h3> 1893 1894 <h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt; 1895 mso-ansi-language:EN-GB;font-weight:normal'><a 1896 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1897 text-decoration:none;text-underline:none'>First check if the antlr3.jar can be 1898 resolved by ant. The command<o:p></o:p></span></a></span></h3> 1899 1900 <h3><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:12.0pt; 1901 font-family:"Courier New";mso-ansi-language:EN-GB;font-weight:normal'><a 1902 href="http://ant.apache.org/manual/using.html#arg"><span class=GramE><span 1903 style='color:windowtext;text-decoration:none;text-underline:none'>ant</span></span><span 1904 style='color:windowtext;text-decoration:none;text-underline:none'> diagnostics<o:p></o:p></span></a></span></h3> 1905 1906 <h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt; 1907 mso-ansi-language:EN-GB;font-weight:normal'><a 1908 href="http://ant.apache.org/manual/using.html#arg"><span class=GramE><span 1909 style='color:windowtext;text-decoration:none;text-underline:none'>should</span></span><span 1910 style='color:windowtext;text-decoration:none;text-underline:none'> list 1911 antlr3.jar in the ANT_HOME/lib jar listing section, if<span 1912 style='mso-spacerun:yes'> </span>the installation recommendation had been 1913 adhered to.<o:p></o:p></span></a></span></h3> 1914 1915 <h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt; 1916 mso-ansi-language:EN-GB;font-weight:normal'><a 1917 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1918 text-decoration:none;text-underline:none'>Second try the ant verbose option 1919 -v:</span><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: 1920 "Courier New";color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></a></span></h3> 1921 1922 <h3><span lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:12.0pt; 1923 font-family:"Courier New";mso-ansi-language:EN-GB;font-weight:normal'><a 1924 href="http://ant.apache.org/manual/using.html#arg"><span class=GramE><span 1925 style='color:windowtext;text-decoration:none;text-underline:none'>ant</span></span><span 1926 style='color:windowtext;text-decoration:none;text-underline:none'> v<o:p></o:p></span></a></span></h3> 1927 1928 <h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt; 1929 mso-ansi-language:EN-GB;font-weight:normal'><a 1930 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1931 text-decoration:none;text-underline:none'>This will output some information of 1932 the internal <span class=SpellE>processings</span> of the ANTLR3 task.<o:p></o:p></span></a></span></h3> 1933 1934 <h3><span lang=EN-GB style='font-size:12.0pt;mso-bidi-font-size:13.5pt; 1935 mso-ansi-language:EN-GB;font-weight:normal'><a 1936 href="http://ant.apache.org/manual/using.html#arg"><span style='color:windowtext; 1937 text-decoration:none;text-underline:none'>Third make sure that the jar-archives 1938 of the actual <span class=SpellE>antlr</span> distribution are contained in 1939 your <span class=SpellE>classpath</span>. At the moment this would refer to 1940 antlr-3.x.jar, antlr-2.7.7.jar and stringtemplate-3.x.jar. As a consequence the 1941 definition of the </span><span class=SpellE><span style='font-size:10.0pt; 1942 mso-bidi-font-size:12.0pt;font-family:"Courier New";color:windowtext; 1943 text-decoration:none;text-underline:none'>antlr.path</span></span><span 1944 style='color:windowtext;text-decoration:none;text-underline:none'> <span 1945 class=GramE>property ,</span> as shown in the example, is not required and the 1946 build file has no dependency on the <span class=SpellE>antlr</span> version. 1947 The advantage of this approach is that updates of <span class=SpellE>antlr</span> 1948 and possibly linked changes in the naming of the before mentioned <span 1949 class=SpellE>antlr</span> jar-archives result in no changes of existing ant 1950 build-files. Solely the modification of the <span class=SpellE>classpath</span> 1951 variable enables you to switch to a different version of <span class=SpellE>antlr</span>.<o:p></o:p></span></a></span></h3> 1952 1953 </div> 1954 1955 </body> 1956 1957 </html> 1958