You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

ilasm.html 11 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>Ilasm
  5. Task</title>
  6. </head>
  7. <body bgcolor="#ffffff" text="#000000" link="#525D76"
  8. alink="#525D76" vlink="#525D76">
  9. <table border="0" width="100%" cellspacing="4">
  10. <!-- PAGE HEADER -->
  11. <tr>
  12. <td>
  13. <table border="0" width="100%"><tr>
  14. <td valign="bottom">
  15. <font size="+3" face="arial,helvetica,sanserif"><strong>Ilasm
  16. Task</strong></font>
  17. <br><font face="arial,helvetica,sanserif">Assembles .NET Intermediate Language files.</font>
  18. </td>
  19. <td>
  20. <!-- PROJECT LOGO -->
  21. <a href="http://ant.apache.org/">
  22. <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0"/>
  23. </a>
  24. </td>
  25. </tr></table>
  26. </td>
  27. </tr>
  28. <!-- START RIGHT SIDE MAIN BODY -->
  29. <tr>
  30. <td valign="top" align="left">
  31. <!-- Applying task/long-description -->
  32. <!-- Start Description -->
  33. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  34. <tr><td>&nbsp;</td></tr>
  35. <tr><td bgcolor="#525D76">
  36. <font color="#ffffff" face="arial,helvetica.sanserif">
  37. <a name="description">
  38. <strong>Description</strong></a></font>
  39. </td></tr>
  40. <tr><td><blockquote>
  41. Assembles .NET Intermediate Language files. ilasm.exe must be on the execute path, unless another executable or the full path to that executable is specified in the <tt>executable</tt> parameter <p> <p> All parameters are optional: <code>&lt;il/&gt;</code> should suffice to produce a debug build of all *.il files. The option set is roughly compatible with the CSharp class; even though the command line options are only vaguely equivalent. [The low level commands take things like /OUT=file, csc wants /out:file ... /verbose is used some places; /quiet here in ildasm... etc.] It would be nice if someone made all the command line tools consistent (and not as brittle as the java cmdline tools) <p> <p> The task is a directory based task, so attributes like <b>includes="*.il" </b> and <b>excludes="broken.il"</b> can be used to control the files pulled in. You can also use nested &lt;src&gt filesets to refer to source. <p>
  42. </blockquote></td></tr>
  43. </table>
  44. <!-- End Description -->
  45. <!-- Start Attributes -->
  46. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  47. <tr><td>&nbsp;</td></tr>
  48. <tr><td bgcolor="#525D76">
  49. <font color="#ffffff" face="arial,helvetica.sanserif">
  50. <a name="attributes">
  51. <strong>Parameters</strong></a></font>
  52. </td></tr>
  53. <tr><td><blockquote>
  54. <table>
  55. <tr>
  56. <td bgcolor="#cccccc" valign="top" align="left">
  57. <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Attribute</b></font>
  58. </td>
  59. <td bgcolor="#cccccc" valign="top" align="left">
  60. <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Description</b></font>
  61. </td>
  62. <td bgcolor="#cccccc" valign="top" align="left">
  63. <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Type</b></font>
  64. </td>
  65. <td bgcolor="#cccccc" valign="top" align="left">
  66. <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Requirement</b></font>
  67. </td>
  68. </tr>
  69. <!-- Attribute Group -->
  70. <!-- Attribute Group -->
  71. <!-- Attribute -->
  72. <tr>
  73. <td bgcolor="#eeeeee" valign="top" align="left">
  74. <font color="#000000" size="-1" face="arial,helvetica,sanserif">debug</font>
  75. </td>
  76. <td bgcolor="#eeeeee" valign="top" align="left">
  77. <font color="#000000" size="-1" face="arial,helvetica,sanserif">set the debug flag on or off.</font>
  78. </td>
  79. <td bgcolor="#eeeeee" valign="top" align="left">
  80. <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
  81. </td>
  82. <td bgcolor="#eeeeee" valign="top" align="left" rowspan="10">
  83. <font color="#000000" size="-1" face="arial,helvetica,sanserif">Optional</font>
  84. </td>
  85. </tr>
  86. <!-- Attribute -->
  87. <tr>
  88. <td bgcolor="#eeeeee" valign="top" align="left">
  89. <font color="#000000" size="-1" face="arial,helvetica,sanserif">destfile</font>
  90. </td>
  91. <td bgcolor="#eeeeee" valign="top" align="left">
  92. <font color="#000000" size="-1" face="arial,helvetica,sanserif">Set the name of exe/library to create.</font>
  93. </td>
  94. <td bgcolor="#eeeeee" valign="top" align="left">
  95. <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
  96. </td>
  97. </tr>
  98. <!-- Attribute -->
  99. <tr>
  100. <td bgcolor="#eeeeee" valign="top" align="left">
  101. <font color="#000000" size="-1" face="arial,helvetica,sanserif">extraoptions</font>
  102. </td>
  103. <td bgcolor="#eeeeee" valign="top" align="left">
  104. <font color="#000000" size="-1" face="arial,helvetica,sanserif">Any extra options which are not explicitly supported by this task.</font>
  105. </td>
  106. <td bgcolor="#eeeeee" valign="top" align="left">
  107. <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
  108. </td>
  109. </tr>
  110. <!-- Attribute -->
  111. <tr>
  112. <td bgcolor="#eeeeee" valign="top" align="left">
  113. <font color="#000000" size="-1" face="arial,helvetica,sanserif">failonerror</font>
  114. </td>
  115. <td bgcolor="#eeeeee" valign="top" align="left">
  116. <font color="#000000" size="-1" face="arial,helvetica,sanserif">If true, fails if ilasm tool fails.</font>
  117. </td>
  118. <td bgcolor="#eeeeee" valign="top" align="left">
  119. <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
  120. </td>
  121. </tr>
  122. <!-- Attribute -->
  123. <tr>
  124. <td bgcolor="#eeeeee" valign="top" align="left">
  125. <font color="#000000" size="-1" face="arial,helvetica,sanserif">keyfile</font>
  126. </td>
  127. <td bgcolor="#eeeeee" valign="top" align="left">
  128. <font color="#000000" size="-1" face="arial,helvetica,sanserif">the name of a file containing a private key.</font>
  129. </td>
  130. <td bgcolor="#eeeeee" valign="top" align="left">
  131. <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
  132. </td>
  133. </tr>
  134. <!-- Attribute -->
  135. <tr>
  136. <td bgcolor="#eeeeee" valign="top" align="left">
  137. <font color="#000000" size="-1" face="arial,helvetica,sanserif">listing</font>
  138. </td>
  139. <td bgcolor="#eeeeee" valign="top" align="left">
  140. <font color="#000000" size="-1" face="arial,helvetica,sanserif">If true, produce a listing (off by default).</font>
  141. </td>
  142. <td bgcolor="#eeeeee" valign="top" align="left">
  143. <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
  144. </td>
  145. </tr>
  146. <!-- Attribute -->
  147. <tr>
  148. <td bgcolor="#eeeeee" valign="top" align="left">
  149. <font color="#000000" size="-1" face="arial,helvetica,sanserif">outputfile</font>
  150. </td>
  151. <td bgcolor="#eeeeee" valign="top" align="left">
  152. <font color="#000000" size="-1" face="arial,helvetica,sanserif">Set the output file; identical to setDestFile</font>
  153. </td>
  154. <td bgcolor="#eeeeee" valign="top" align="left">
  155. <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
  156. </td>
  157. </tr>
  158. <!-- Attribute -->
  159. <tr>
  160. <td bgcolor="#eeeeee" valign="top" align="left">
  161. <font color="#000000" size="-1" face="arial,helvetica,sanserif">resourcefile</font>
  162. </td>
  163. <td bgcolor="#eeeeee" valign="top" align="left">
  164. <font color="#000000" size="-1" face="arial,helvetica,sanserif">name of resource file to include.</font>
  165. </td>
  166. <td bgcolor="#eeeeee" valign="top" align="left">
  167. <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
  168. </td>
  169. </tr>
  170. <!-- Attribute -->
  171. <tr>
  172. <td bgcolor="#eeeeee" valign="top" align="left">
  173. <font color="#000000" size="-1" face="arial,helvetica,sanserif">srcdir</font>
  174. </td>
  175. <td bgcolor="#eeeeee" valign="top" align="left">
  176. <font color="#000000" size="-1" face="arial,helvetica,sanserif">Set the source directory of the files to be compiled.</font>
  177. </td>
  178. <td bgcolor="#eeeeee" valign="top" align="left">
  179. <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
  180. </td>
  181. </tr>
  182. <!-- Attribute -->
  183. <tr>
  184. <td bgcolor="#eeeeee" valign="top" align="left">
  185. <font color="#000000" size="-1" face="arial,helvetica,sanserif">verbose</font>
  186. </td>
  187. <td bgcolor="#eeeeee" valign="top" align="left">
  188. <font color="#000000" size="-1" face="arial,helvetica,sanserif">If true, enable verbose ILASM output.</font>
  189. </td>
  190. <td bgcolor="#eeeeee" valign="top" align="left">
  191. <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
  192. </td>
  193. </tr>
  194. </table>
  195. </blockquote></td></tr>
  196. </table>
  197. <!-- End Attributes -->
  198. <!-- Start Elements -->
  199. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  200. <tr><td>&nbsp;</td></tr>
  201. <tr><td bgcolor="#525D76">
  202. <font color="#ffffff" face="arial,helvetica.sanserif">
  203. <a name="elements">
  204. <strong>Parameters as nested elements</strong></a></font>
  205. </td></tr>
  206. <tr><td><blockquote>
  207. <!-- Start Element -->
  208. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  209. <tr><td>&nbsp;</td></tr>
  210. <tr><td bgcolor="#828DA6">
  211. <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
  212. <strong>reference</strong> (org.apache.tools.ant.types.FileSet)</font>
  213. </td></tr>
  214. <tr><td><blockquote>
  215. add a new reference fileset to the compilation
  216. <short-description><![CDATA[Add a new reference fileset to the compilation.]]></short-description>
  217. <description>
  218. <![CDATA[add a new reference fileset to the compilation]]>
  219. </description>
  220. </blockquote></td></tr>
  221. </table>
  222. <!-- End Element -->
  223. <!-- Start Element -->
  224. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  225. <tr><td>&nbsp;</td></tr>
  226. <tr><td bgcolor="#828DA6">
  227. <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
  228. <strong>src</strong> (org.apache.tools.ant.types.FileSet)</font>
  229. </td></tr>
  230. <tr><td><blockquote>
  231. add a new source directory to the compile
  232. <short-description><![CDATA[Add a new source directory to the compile.]]></short-description>
  233. <description>
  234. <![CDATA[add a new source directory to the compile]]>
  235. </description>
  236. </blockquote></td></tr>
  237. </table>
  238. <!-- End Element -->
  239. </blockquote></td></tr>
  240. </table>
  241. <!-- End Elements -->
  242. </td>
  243. </tr>
  244. <!-- END RIGHT SIDE MAIN BODY -->
  245. <!-- FOOTER SEPARATOR -->
  246. <tr>
  247. <td>
  248. <hr noshade="" size="1"/>
  249. </td>
  250. </tr>
  251. <!-- PAGE FOOTER -->
  252. <tr>
  253. <td>
  254. <div align="center"><font color="#525D76" size="-1"><em>
  255. Copyright &copy; 2000-2004, The Apache Software Foundation. All Rights Reserved.
  256. </em></font></div>
  257. </td>
  258. </tr>
  259. </table>
  260. </body>
  261. </html>