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.

dotnet.html 23 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  1. <html>
  2. <head>
  3. <title>.NET Tasks</title>
  4. </head>
  5. <body>
  6. <h1>.NET tasks</h1>
  7. <hr>
  8. <h2>&lt;CSC&gt;</h2>
  9. This task compiles CSharp source into executables or modules.
  10. This task compiles CSharp source into executables or modules. The task will
  11. only work on win2K/XP or other platforms with csc.exe or an equivalent.
  12. CSC must be on the execute path.
  13. <p>
  14. All parameters are optional: &lt;csc/&gt; should suffice to produce a debug
  15. build of all *.cs files. References to external files do require explicit
  16. enumeration, so are one of the first attributes to consider adding. </p>
  17. <p>
  18. The task is a directory based task, so attributes like
  19. <b>includes=&quot;**/*.cs&quot;</b> and
  20. <b>excludes=&quot;broken.cs&quot;</b> can be used to control
  21. the files pulled in. By default,
  22. all *.cs files from the project folder down are included in the command.
  23. When this happens the destFile -if not specified-
  24. is taken as the first file in the list, which may be somewhat hard to control.
  25. Specifying the output file with <b>'destfile'</b> seems prudent. </p>
  26. <p>
  27. Also, dependency checking only works if destfile is set.
  28. <table border="1" cellpadding="2" cellspacing="0">
  29. <tr>
  30. <td valign="top"><b>Attribute</b></td>
  31. <td valign="top"><b>Description</b></td>
  32. <td align="center" valign="top"><b>Example Values</b></td>
  33. </tr>
  34. <tr>
  35. <td valign="top">additionalModules</td>
  36. <td valign="top">Semicolon separated list of modules to refer to</td>
  37. </tr>
  38. <tr>
  39. <td valign="top">defaultexcludes</td>
  40. <td valign="top">indicates whether default excludes should be used or not
  41. </td>
  42. <td valign="top">&quot;true&quot;(default) or &quot;false&quot;</td>
  43. </tr>
  44. <tr>
  45. <td valign="top">definitions</td>
  46. <td valign="top">defined constants</td>
  47. <td valign="top"> &quot;RELEASE;BETA1&quot;</td>
  48. </tr>
  49. <tr>
  50. <td valign="top">debug</td>
  51. <td valign="top">include debug information</td>
  52. <td valign="top">&quot;true&quot;(default)</td>
  53. </tr>
  54. <tr>
  55. <td valign="top">destFile</td>
  56. <td valign="top">name of exe/library to create</td>
  57. <td valign="top">&quot;example.exe&quot;</td>
  58. </tr>
  59. <tr>
  60. <td valign="top">docFile</td>
  61. <td valign="top">name of file for documentation</td>
  62. <td valign="top">&quot;doc.xml&quot;</td>
  63. </tr>
  64. <tr>
  65. <td valign="top">excludes</td>
  66. <td valign="top">comma- or space-separated list of patterns of files that must be
  67. excluded. No files (except default excludes) are excluded when omitted.</td>
  68. </tr>
  69. <tr>
  70. <td valign="top">excludesfile</td>
  71. <td valign="top">the name of a file. Each line of this file is
  72. taken to be an exclude pattern</td>
  73. </tr>
  74. <tr>
  75. <td valign="top">extraOptions</td>
  76. <td valign="top">Any extra options which aren't explicitly
  77. supported by the CSharp task </td>
  78. <td>&quot;/warnaserror+ /baseaddress:0x12840000&quot;</td>
  79. </tr>
  80. <tr>
  81. <td valign="top">failOnError</td>
  82. <td valign="top">Should a failed compile halt the build?</td>
  83. <td valign="top">&quot;true&quot;(default) or &quot;false&quot;</td>
  84. </tr>
  85. <tr>
  86. <td valign="top">fileAlign</td>
  87. <td valign="top">
  88. set the file alignment.
  89. Valid values are 0,512, 1024, 2048, 4096, 8192, and 16384
  90. 0 means 'leave to the compiler'
  91. </td>
  92. <td valign="top">512</td>
  93. </tr>
  94. <tr>
  95. <td valign="top">fullpaths</td>
  96. <td valign="top">print the full path of files on on errors</td>
  97. </tr>
  98. <tr>
  99. <td valign="top">includes</td>
  100. <td valign="top">comma- or space-separated list of patterns of files that must be
  101. included. All files are included when omitted.</td>
  102. </tr>
  103. <tr>
  104. <td valign="top">includeDefaultReferences</td>
  105. <td valign="top">Controls csc's /nostdlib argument,
  106. &quot;true&quot;(default) implies /nostdlib-.
  107. </td>
  108. <td valign="top">&quot;true&quot;(default) or &quot;false&quot;</td>
  109. </tr>
  110. <tr>
  111. <td valign="top">includesfile</td>
  112. <td valign="top">the name of a file. Each line of this file is
  113. taken to be an include pattern</td>
  114. </tr>
  115. <tr>
  116. <td valign="top">incremental</td>
  117. <td valign="top">Incremental build flag. Avoid till it works</td>
  118. <td valign="top">&quot;true&quot; or &quot;false&quot;(default)</td>
  119. </tr>
  120. <tr>
  121. <td valign="top">mainClass</td>
  122. <td valign="top">name of main class for executables</td>
  123. <td valign="top">&quot;com.example.project.entrypoint&quot;</td>
  124. </tr>
  125. <tr>
  126. <td valign="top">noConfig</td>
  127. <td valign="top">a flag which tells the compiler not
  128. to read in the compiler settings files 'csc.rsp' in its
  129. bin directory and then the local directory</td>
  130. <td valign="top">&quot;true&quot; or &quot;false&quot;(default)</td>
  131. </tr>
  132. <tr>
  133. <td valign="top">optimize</td>
  134. <td valign="top">optimisation flag</td>
  135. <td valign="top">&quot;true&quot; or &quot;false&quot;(default)</td>
  136. </tr>
  137. <tr>
  138. <td valign="top">references</td>
  139. <td valign="top">Semicolon separated list of dlls to refer to</td>
  140. <td valign="top">&quot;mylib.dll;nunit.dll&quot;</td>
  141. </tr>
  142. <tr>
  143. <td valign="top">referenceFiles </td>
  144. <td valign="top">Ant Path descriptioon of references to include.
  145. Wildcards should work. </td>
  146. <td valign="top"></td>
  147. </tr>
  148. <tr>
  149. <td valign="top">srcDir</td>
  150. <td valign="top">source directory (default = project directory)</td>
  151. <td valign="top">&quot;.&quot;</td>
  152. </tr>
  153. <tr>
  154. <td valign="top">targetType</td>
  155. <td valign="top">Type of target</td>
  156. <td valign="top">&quot;exe&quot;, &quot;module&quot;, &quot;winexe&quot; or &quot;library&quot;</td>
  157. </tr>
  158. <tr>
  159. <td valign="top">unsafe</td>
  160. <td valign="top">enable the <b>unsafe</b> keyword</td>
  161. <td valign="top">&quot;true&quot; or &quot;false&quot;(default)</td>
  162. </tr>
  163. <tr>
  164. <td valign="top">utf8output</td>
  165. <td valign="top">require all compiler output to be in utf-8 format</td>
  166. <td valign="top">&quot;true&quot; or &quot;false&quot;(default)</td>
  167. </tr>
  168. <tr>
  169. <td valign="top">warnLevel</td>
  170. <td valign="top">level of warning currently between 1 and 4 with 4
  171. being the strictest. </td>
  172. <td valign="top">&quot;1&quot;-&quot;4&quot;</td>
  173. </tr>
  174. <tr>
  175. <td valign="top">win32Icon</td>
  176. <td valign="top">filename of icon to include</td>
  177. <td valign="top">&quot;res/myicon.ico&quot;</td>
  178. </tr>
  179. <tr>
  180. <td valign="top">win32res</td>
  181. <td valign="top">filename of a win32 resource (.RES)file to include
  182. This is not a .NET resource, but it what windows is used to.</td>
  183. <td valign="top">&quot;res/myapp.res&quot;</td>
  184. </tr>
  185. </table>
  186. <p>
  187. Example
  188. </p>
  189. <pre>&lt;csc
  190. optimize=&quot;true&quot;
  191. debug=&quot;false&quot;
  192. docFile=&quot;documentation.xml&quot;
  193. warnLevel=&quot;4&quot;
  194. unsafe=&quot;false&quot;
  195. targetType=&quot;exe&quot;
  196. incremental=&quot;false&quot;
  197. definitions=&quot;RELEASE&quot;
  198. excludes=&quot;src/unicode_class.cs&quot;
  199. mainClass = &quot;MainApp&quot;
  200. destFile=&quot;NetApp.exe&quot;
  201. /&gt;
  202. </pre>
  203. <hr>
  204. <h2>&lt;VBC&gt;</h2>
  205. This task compiles VisualBasic.NET source into executables or modules.
  206. This task compiles VisualBasic.NET source into executables or modules.
  207. The task will only work on win2K/XP or other platforms with vbc.exe
  208. or an equivalent. VBC must be on the execute path.
  209. <p>
  210. All parameters are optional: &lt;vbc/&gt; should suffice to produce a debug
  211. build of all *.vb files. References to external files do require explicit
  212. enumeration, so are one of the first attributes to consider adding. </p>
  213. <p>
  214. The task is a directory based task, so attributes like
  215. <b>includes=&quot;**/*.vb&quot;</b> and
  216. <b>excludes=&quot;broken.vb&quot;</b> can be used to control
  217. the files pulled in. By default,
  218. all *.vb files from the project folder down are included in the command.
  219. When this happens the destFile -if not specified-
  220. is taken as the first file in the list, which may be somewhat hard to control.
  221. Specifying the output file with <b>'destfile'</b> seems prudent. </p>
  222. <p>
  223. Also, dependency checking only works if destfile is set.
  224. <table border="1" cellpadding="2" cellspacing="0">
  225. <tr>
  226. <td valign="top"><b>Attribute</b></td>
  227. <td valign="top"><b>Description</b></td>
  228. <td align="center" valign="top"><b>Example Values</b></td>
  229. </tr>
  230. <tr>
  231. <td valign="top">additionalModules</td>
  232. <td valign="top">Semicolon separated list of modules to refer to</td>
  233. </tr>
  234. <tr>
  235. <td valign="top">defaultexcludes</td>
  236. <td valign="top">indicates whether default excludes should be used or not
  237. </td>
  238. <td valign="top">&quot;true&quot;(default) or &quot;false&quot;</td>
  239. </tr>
  240. <tr>
  241. <td valign="top">definitions</td>
  242. <td valign="top">defined constants</td>
  243. <td valign="top"> &quot;RELEASE;BETA1&quot;</td>
  244. </tr>
  245. <tr>
  246. <td valign="top">debug</td>
  247. <td valign="top">include debug information</td>
  248. <td valign="top">&quot;true&quot;(default)</td>
  249. </tr>
  250. <tr>
  251. <td valign="top">destFile</td>
  252. <td valign="top">name of exe/library to create</td>
  253. <td valign="top">&quot;example.exe&quot;</td>
  254. </tr>
  255. <tr>
  256. <td valign="top">excludes</td>
  257. <td valign="top">comma- or space-separated list of patterns of files that must be
  258. excluded. No files (except default excludes) are excluded when omitted.</td>
  259. </tr>
  260. <tr>
  261. <td valign="top">excludesfile</td>
  262. <td valign="top">the name of a file. Each line of this file is
  263. taken to be an exclude pattern</td>
  264. </tr>
  265. <tr>
  266. <td valign="top">extraOptions</td>
  267. <td valign="top">Any extra options which aren't explicitly
  268. supported by the VisualBasicCompile task </td>
  269. <td>&quot;/warnaserror+ /baseaddress:0x12840000&quot;</td>
  270. </tr>
  271. <tr>
  272. <td valign="top">failOnError</td>
  273. <td valign="top">Should a failed compile halt the build?</td>
  274. <td valign="top">&quot;true&quot;(default) or &quot;false&quot;</td>
  275. </tr>
  276. <tr>
  277. <td valign="top">imports</td>
  278. <td valign="top">comma-separated list of global imports for namespaces
  279. in referenced metadata files.</td>
  280. </tr>
  281. <tr>
  282. <td valign="top">includes</td>
  283. <td valign="top">comma- or space-separated list of patterns of files that must be
  284. included. All files are included when omitted.</td>
  285. </tr>
  286. <tr>
  287. <td valign="top">includesfile</td>
  288. <td valign="top">the name of a file. Each line of this file is
  289. taken to be an include pattern</td>
  290. </tr>
  291. <tr>
  292. <td valign="top">mainClass</td>
  293. <td valign="top">name of main class for executables</td>
  294. <td valign="top">&quot;com.example.project.entrypoint&quot;</td>
  295. </tr>
  296. <tr>
  297. <td valign="top">optimize</td>
  298. <td valign="top">optimisation flag</td>
  299. <td valign="top">&quot;true&quot; or &quot;false&quot;(default)</td>
  300. </tr>
  301. <tr>
  302. <td valign="top">optionCompare</td>
  303. <td valign="top">Text or binary string comparisons.</td>
  304. <td valign="top">&quot;text&quot; or &quot;binary&quot;(default)</td>
  305. </tr>
  306. <tr>
  307. <td valign="top">optionExplicit</td>
  308. <td valign="top">Require explicit declaration of variables?</td>
  309. <td valign="top">&quot;true&quot; or &quot;false&quot;(default)</td>
  310. </tr>
  311. <tr>
  312. <td valign="top">optionStrict</td>
  313. <td valign="top">Enforce strict language semantics?</td>
  314. <td valign="top">&quot;true&quot; or &quot;false&quot;(default)</td>
  315. </tr>
  316. <tr>
  317. <td valign="top">references</td>
  318. <td valign="top">Semicolon separated list of dlls to refer to</td>
  319. <td valign="top">&quot;mylib.dll;nunit.dll&quot;</td>
  320. </tr>
  321. <tr>
  322. <td valign="top">referenceFiles </td>
  323. <td valign="top">Ant Path descriptioon of references to include.
  324. Wildcards should work. </td>
  325. <td valign="top"></td>
  326. </tr>
  327. <tr>
  328. <td valign="top">removeIntChecks</td>
  329. <td valign="top">Remove integer checks?</td>
  330. <td valign="top">&quot;true&quot; or &quot;false&quot;(default)</td>
  331. </tr>
  332. <tr>
  333. <td valign="top">rootNamespace</td>
  334. <td valign="top">Root namespace for all type declarations.</td>
  335. <td valign="top">com.example</td>
  336. </tr>
  337. <tr>
  338. <td valign="top">srcDir</td>
  339. <td valign="top">source directory (default = project directory)</td>
  340. <td valign="top">&quot;.&quot;</td>
  341. </tr>
  342. <tr>
  343. <td valign="top">targetType</td>
  344. <td valign="top">Type of target</td>
  345. <td valign="top">&quot;exe&quot;, &quot;module&quot;, &quot;winexe&quot; or &quot;library&quot;</td>
  346. </tr>
  347. <tr>
  348. <td valign="top">utf8output</td>
  349. <td valign="top">require all compiler output to be in utf-8 format</td>
  350. <td valign="top">&quot;true&quot; or &quot;false&quot;(default)</td>
  351. </tr>
  352. <tr>
  353. <td valign="top">warnLevel</td>
  354. <td valign="top">level of warning currently between 1 and 4 with 4
  355. being the strictest. </td>
  356. <td valign="top">&quot;1&quot;-&quot;4&quot;</td>
  357. </tr>
  358. <tr>
  359. <td valign="top">win32Icon</td>
  360. <td valign="top">filename of icon to include</td>
  361. <td valign="top">&quot;res/myicon.ico&quot;</td>
  362. </tr>
  363. <tr>
  364. <td valign="top">win32res</td>
  365. <td valign="top">filename of a win32 resource (.RES)file to include
  366. This is not a .NET resource, but it what windows is used to.</td>
  367. <td valign="top">&quot;res/myapp.res&quot;</td>
  368. </tr>
  369. </table>
  370. <p>
  371. Example
  372. </p>
  373. <pre>&lt;vbc
  374. optimize=&quot;true&quot;
  375. debug=&quot;false&quot;
  376. warnLevel=&quot;4&quot;
  377. targetType=&quot;exe&quot;
  378. definitions=&quot;RELEASE&quot;
  379. excludes=&quot;src/unicode_class.vb&quot;
  380. mainClass = &quot;MainApp&quot;
  381. destFile=&quot;NetApp.exe&quot;
  382. optionExplicit=&quot;true&quot;
  383. optionCompare=&quot;text&quot;
  384. /&gt;
  385. </pre>
  386. <hr>
  387. <h2>&lt;ilasm&gt;</h2>
  388. <p>Task to assemble .net 'Intermediate Language' files.
  389. The task will only work on windows until other platforms support csc.exe or
  390. an equivalent. ilasm.exe must be on the execute path too.
  391. </p>
  392. <p>
  393. All parameters are optional: &lt;il/&gt; should suffice to produce a debug
  394. build of all *.il files.
  395. The option set is roughly compatible with the CSharp class;
  396. even though the command line options are only vaguely
  397. equivalent. [The low level commands take things like /OUT=file,
  398. csc wants /out:file ... /verbose is used some places; /quiet here in
  399. ildasm... etc.] It would be nice if someone made all the command line
  400. tools consistent (and not as brittle as the java cmdline tools)
  401. </p>
  402. <p>
  403. The task is a directory based task, so attributes like <b>includes=&quot;*.il&quot;</b> and
  404. <b>excludes=&quot;broken.il&quot;</b> can be used to control the files pulled in.
  405. Each file is built on its own, producing an appropriately named output file unless
  406. manually specified with <b>outfile</b>
  407. </p>
  408. <table border="1" cellpadding="2" cellspacing="0">
  409. <tr>
  410. <td valign="top"><b>Attribute</b></td>
  411. <td valign="top"><b>Description</b></td>
  412. <td align="center" valign="top"><b>Example</b></td>
  413. </tr>
  414. <tr>
  415. <td valign="top">defaultexcludes</td>
  416. <td valign="top">indicates whether default excludes should be used or not
  417. (&quot;yes&quot;/&quot;no&quot;). Default excludes are used when omitted.</td>
  418. </tr>
  419. <tr>
  420. <td valign="top">debug</td>
  421. <td valign="top">include debug information</td>
  422. <td valign="top">true (default)</td>
  423. </tr>
  424. <tr>
  425. <td valign="top">excludes</td>
  426. <td valign="top">comma separated list of patterns of files that must be
  427. excluded. No files (except default excludes) are excluded when omitted.</td>
  428. </tr>
  429. <tr>
  430. <td valign="top">excludesfile</td>
  431. <td valign="top">the name of a file. Each line of this file is
  432. taken to be an exclude pattern</td>
  433. </tr>
  434. <tr>
  435. <td valign="top">extraOptions</td>
  436. <td valign="top">Any extra options which aren't explicitly
  437. supported by the ilasm task, primarily because they
  438. arent really documented: use ilasm /? to see them</td>
  439. <td></td>
  440. </tr>
  441. <tr>
  442. <td valign="top">failOnError</td>
  443. <td valign="top">Should a failed compile halt the build?</td>
  444. <td valign="top">&quot;true&quot;(default)</td>
  445. </tr>
  446. <tr>
  447. <td valign="top">fullpaths</td>
  448. <td valign="top">Should error text provide the full path to files</td>
  449. <td valign="top">&quot;true&quot;(default)</td>
  450. </tr>
  451. <tr>
  452. <td valign="top">includes</td>
  453. <td valign="top">comma separated list of patterns of files that must be
  454. included. All files are included when omitted.</td>
  455. </tr>
  456. <tr>
  457. <td valign="top">includesfile</td>
  458. <td valign="top">the name of a file. Each line of this file is
  459. taken to be an include pattern</td>
  460. </tr>
  461. <tr>
  462. <td valign="top">keyfile</td>
  463. <td valign="top">the name of a file containing a private key, with which
  464. the assembly output is checksumed and then MD5 signed
  465. to have a <i>strong name</i></td>
  466. </tr>
  467. <tr>
  468. <td valign="top">listing</td>
  469. <td valign="top">Produce a listing (off by default). Listings go to the
  470. current output stream</td>
  471. <td valign="top">&quot;on&quot;, &quot;off&quot; (default)</td>
  472. </tr>
  473. <tr>
  474. <td valign="top">outputFile</td>
  475. <td valign="top">filename of output</td>
  476. <td valign="top">&quot;example.exe&quot;</td>
  477. </tr>
  478. <tr>
  479. <td valign="top">resourceFile</td>
  480. <td valign="top">name of resource file to include</td>
  481. <td valign="top">&quot;resources.res&quot;</td>
  482. </tr>
  483. <tr>
  484. <td valign="top">srcDir</td>
  485. <td valign="top">source directory (default = project directory)</td>
  486. <td valign="top"></td>
  487. </tr>
  488. <tr>
  489. <td valign="top">targetType</td>
  490. <td valign="top">Type of target. library means DLL is output. </td>
  491. <td valign="top">&quot;exe&quot;(default), &quot;library&quot;</td>
  492. </tr>
  493. <tr>
  494. <td valign="top">verbose</td>
  495. <td valign="top">output progress messages</td>
  496. <td valign="top">&quot;on&quot;, &quot;off&quot; (default)</td>
  497. </tr>
  498. </table>
  499. <p>
  500. Example</p>
  501. <pre>&lt;ilasm
  502. outputFile=&quot;app.exe&quot;
  503. verbose=&quot;on&quot;
  504. listing=&quot;on&quot;
  505. owner=&quot;secret&quot;
  506. /&gt;
  507. </pre>
  508. <h2>&lt;WsdlToDotnet&gt;</h2>
  509. Why add a wrapper to the MS WSDL tool?
  510. So that you can verify that your web services, be they written with Axis or
  511. anyone else's SOAP toolkit, work with .NET clients.
  512. <p>
  513. This task is dependency aware when using a file as a source and destination;
  514. so if you &lt;get&gt; the file (with <code>usetimestamp="true"</code>) then
  515. you only rebuild stuff when the WSDL file is changed. Of course,
  516. if the server generates a new timestamp every time you ask for the WSDL,
  517. this is not enough...use the &lt;filesmatch&gt; &lt;condition&gt; to
  518. to byte for byte comparison against a cached WSDL file then make
  519. the target conditional on that test failing.
  520. <table border="1" cellpadding="2" cellspacing="0">
  521. <tr>
  522. <td valign="top"><b>Attribute</b></td>
  523. <td valign="top"><b>Description</b></td>
  524. <td align="center" valign="top"><b>Example</b></td>
  525. </tr>
  526. <tr>
  527. <td valign="top">destFile</td>
  528. <td valign="top">name of file to generate. Required</td>
  529. <td valign="top">ApacheNet.cs</td>
  530. </tr>
  531. <tr>
  532. <td valign="top">srcFile</td>
  533. <td valign="top">name of WSDL file to use.
  534. Required if url is not set</td>
  535. <td valign="top">service.wsdl</td>
  536. </tr>
  537. <tr>
  538. <td valign="top">url</td>
  539. <td valign="top">url to retrive WSDL from.
  540. required if srcFile is unset</td>
  541. <td valign="top">http://localhost/service?wsdl</td>
  542. </tr>
  543. <tr>
  544. <td valign="top">server</td>
  545. <td valign="top">generate server stubs, not client proxy code.
  546. optional; default false</td>
  547. <td valign="top">"false"(default)</td>
  548. </tr>
  549. <tr>
  550. <td valign="top">namespace</td>
  551. <td valign="top">namespace to place the source in.
  552. optional; default ""</td>
  553. <td valign="top">Apache.Net</td>
  554. </tr>
  555. <tr>
  556. <td valign="top">language</td>
  557. <td valign="top">language; one of "CS", "JS", or "VB"
  558. optional; </td>
  559. <td valign="top"> "CS" (default)</td>
  560. </tr>
  561. <tr>
  562. <td valign="top">failOnError</td>
  563. <td valign="top">Should failure halt the build?</td>
  564. <td valign="top">"true"(default)</td>
  565. </tr>
  566. <tr>
  567. <td valign="top">extraOptions</td>
  568. <td valign="top">Any extra options which aren't explicitly
  569. supported by the task, like all the proxy server config stuff</td>
  570. <td></td>
  571. </tr>
  572. </table>
  573. <hr>
  574. <hr>
  575. <h2> Change Log </h2>
  576. <h4>Version 0.5</h4>
  577. This revision goes along with NET 1.0 (SP1)
  578. <ol>
  579. <li>CSC: added filealign</li>
  580. <li>CSC: added reference to office.dll</li>
  581. <li>CSC: dependency checking! only if destFile is set!
  582. <li>WsdlToDotnet written
  583. </ol>
  584. <h4>Version 0.4</h4>
  585. This is the beta-2 revision of the tasks.
  586. <ol>
  587. <li>ILASM: pulled the owner attribute, added keyfile for giving binaries a strong name
  588. (MD5 hash of the checksum)</li>
  589. <li>CSC: added win32res , noConfig, utf8output, fullpaths</li>
  590. <li>CSC: </li>
  591. </ol>
  592. <h4>Version 0.3</h4>
  593. The changes here reflect Beta-1 of the dotnet SDK and experience of use in
  594. more complex projects. This build does not work with the older SDK,
  595. primarily because the automatic reference feature references libraries
  596. only found in the new SDK version.
  597. <p>
  598. External changes</p>
  599. <ul>
  600. <li>Recursive inclusion of .cs and .il files</li>
  601. <li>Documentation enhanced, includes examples and details of all parameters</li>
  602. <li>The csc task automatically includes the common dotnet assemblies, so
  603. there is no need to remember to refer to 'System.dll', 'System.Web.Services',
  604. etc. This feature can be disabled by setting the 'includeDefaultReferences'
  605. flag to false. </li>
  606. <li> References can also be referred to using the ReferenceFiles parameter, which
  607. is an ant path specification. The old 'references' string is still retained.</li>
  608. <li> An 'extraoptions' attribute enables the build file to include any CSC options
  609. which are not explicitly supported in the CSC task. </li>
  610. </ul>
  611. Internal changes
  612. <ul>
  613. <li>Some minor refactoring (move common code a method)</li>
  614. <li>Application of Jedits JavaStyle task resulted in a major reshaping of
  615. the codebase and the insertion of a blank line every second line. Significant
  616. effort was required to revert some (but not all) changes.</li>
  617. <li>Removed throws clause from methods which can't throw exceptions </li>
  618. </ul>
  619. The test harness has been expanded to include unicode source file
  620. (the build works but the rest of the system has 'issues' with high unicode
  621. package and method names)
  622. <h4>Version 0.2</h4>
  623. First public edition, added to the ant cvs tree. Tested on the PDC build of
  624. the dotnet SDK only, and still immature. The command execution code was
  625. refactored out into a 'NetCommand' class for re-use. The Ilasm task was added
  626. at this time.
  627. <h4>Version 0.1</h4>
  628. Initial proof of concept; very rudimentary support for CSC only.
  629. <p align="center">Copyright &copy; 2000-2003 Apache Software Foundation. All rights
  630. Reserved.</p>
  631. </body>
  632. </html>