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.

tasksoverview.html 44 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <link rel="stylesheet" type="text/css" href="stylesheets/style.css">
  5. <title>Overview of Ant Tasks</title>
  6. <base target="mainFrame">
  7. </head>
  8. <body>
  9. <a name="top"></a>
  10. <h2>Overview of Ant Tasks</h2>
  11. <p>Given the large number of tasks available with Ant, it may be
  12. difficult to get an overall view of what each task can do. The following
  13. tables provide a short description of each task and a link to the complete
  14. documentation.</p>
  15. <a href="#archive">Archive Tasks</a><br>
  16. <a href="#audit">Audit/Coverage Tasks</a><br>
  17. <a href="#compile">Compile Tasks</a><br>
  18. <a href="#deploy">Deployment Tasks</a><br>
  19. <a href="#doc">Documentation Tasks</a><br>
  20. <a href="#ejb">EJB Tasks</a><br>
  21. <a href="#exec">Execution Tasks</a><br>
  22. <a href="#file">File Tasks</a><br>
  23. <a href="#extensions">Java2 Extensions Tasks</a><br>
  24. <a href="#log">Logging Tasks</a><br>
  25. <a href="#mail">Mail Tasks</a><br>
  26. <a href="#misc">Miscellaneous Tasks</a><br>
  27. <a href="#net">.NET Tasks</a><br>
  28. <a href="#preproc">Pre-process Tasks</a><br>
  29. <a href="#prop">Property Tasks</a><br>
  30. <a href="#remote">Remote Tasks</a><br>
  31. <a href="#scm">SCM Tasks</a><br>
  32. <a href="#testing">Testing Tasks</a><br>
  33. <a href="#vaj">Visual Age for Java Tasks</a><br>
  34. <p></p>
  35. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  36. <th align="left">
  37. <font size="+0" face="arial,helvetica,sanserif">
  38. <a name="archive">Archive Tasks</a>
  39. </font>
  40. </th>
  41. <font size="-1" face="arial,helvetica,sanserif">
  42. <th align="right"><a href="#top">[Back to top]</a></th>
  43. </font>
  44. </table>
  45. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  46. <tr valign="top">
  47. <th nowrap>Task Name</th>
  48. <th nowrap>Description</th>
  49. </tr>
  50. <tr valign="top">
  51. <td nowrap><a href="CoreTasks/unpack.html">BUnzip2</a></td>
  52. <td><p>Expands a file packed using GZip or BZip2.</p></td>
  53. </tr>
  54. <tr valign="top">
  55. <td nowrap><a href="CoreTasks/pack.html">BZip2</a></td>
  56. <td><p>Packs a file using the GZip or BZip2 algorithm. This task
  57. does not do any dependency checking; the output file is always
  58. generated</p></td>
  59. </tr>
  60. <tr valign="top">
  61. <td nowrap><a href="OptionalTasks/cab.html">Cab</a></td>
  62. <td><p>Creates Microsoft CAB archive files. It is invoked
  63. similar to the <a href="CoreTasks/jar.html">Jar</a> or
  64. <a href="CoreTasks/zip.html">Zip</a> tasks. This task will work on
  65. Windows using the external <i>cabarc</i> tool (provided by Microsoft),
  66. which must be located in your executable path.</p></td>
  67. </tr>
  68. <tr valign="top">
  69. <td nowrap><a href="CoreTasks/ear.html">Ear</a></td>
  70. <td><p>An extension of the <a href="CoreTasks/jar.html">Jar</a> task with
  71. special treatment for files that should end up in an
  72. Enterprise Application archive.</p></td>
  73. </tr>
  74. <tr valign="top">
  75. <td nowrap><a href="CoreTasks/gunzip.html">GUnzip</a></td>
  76. <td><p>Expands a GZip file.</p></td>
  77. </tr>
  78. <tr valign="top">
  79. <td nowrap><a href="CoreTasks/gzip.html">GZip</a></td>
  80. <td><p>GZips a set of files.</p></td>
  81. </tr>
  82. <tr valign="top">
  83. <td nowrap><a href="CoreTasks/jar.html">Jar</a></td>
  84. <td><p>Jars a set of files.</p></td>
  85. </tr>
  86. <tr valign="top">
  87. <td nowrap><a href="OptionalTasks/jlink.html">Jlink</a></td>
  88. <td><p><i>Deprecated.</i> Use the <code>zipfileset</code>
  89. and <code>zipgroupfileset</code> attributes of the
  90. <a href="CoreTasks/jar.html">Jar</a> or
  91. <a href="CoreTasks/zip.html">Zip</a> tasks instead.</p></td>
  92. </tr>
  93. <tr valign="top">
  94. <td nowrap><a href="CoreTasks/manifest.html">Manifest</a></td>
  95. <td><p>Creates a manifest file.</p></td>
  96. </tr>
  97. <tr valign="top">
  98. <td nowrap><a href="OptionalTasks/rpm.html">Rpm</a></td>
  99. <td><p>Invokes the <i>rpm</i> executable to build a Linux installation
  100. file. This task currently only works on Linux or other Unix platforms
  101. with RPM support.</p></td>
  102. </tr>
  103. <tr valign="top">
  104. <td nowrap><a href="CoreTasks/signjar.html">SignJar</a></td>
  105. <td><p>Signs a jar or zip file with the <i>javasign</i>
  106. command-line tool.</p></td>
  107. </tr>
  108. <tr valign="top">
  109. <td nowrap><a href="CoreTasks/tar.html">Tar</a></td>
  110. <td><p>Creates a tar archive.</p></td>
  111. </tr>
  112. <tr valign="top">
  113. <td nowrap><a href="CoreTasks/unzip.html">Unjar</a></td>
  114. <td><p>Unzips a jarfile.</p></td>
  115. </tr>
  116. <tr valign="top">
  117. <td nowrap><a href="CoreTasks/untar.html">Untar</a></td>
  118. <td><p>Untars a tarfile.</p></td>
  119. </tr>
  120. <tr valign="top">
  121. <td nowrap><a href="CoreTasks/unzip.html">Unwar</a></td>
  122. <td><p>Unzips a warfile.</p></td>
  123. </tr>
  124. <tr valign="top">
  125. <td nowrap><a href="CoreTasks/unzip.html">Unzip</a></td>
  126. <td><p>Unzips a zipfile.</p></td>
  127. </tr>
  128. <tr valign="top">
  129. <td nowrap><a href="CoreTasks/war.html">War</a></td>
  130. <td><p>An extension of the <a href="CoreTasks/jar.html">Jar</a> task
  131. with special treatment for files that should end up in the
  132. <code>WEB-INF/lib</code>, <code>WEB-INF/classes</code>, or
  133. <code>WEB-INF</code> directories of the Web Application Archive.</p></td>
  134. </tr>
  135. <tr valign="top">
  136. <td nowrap><a href="CoreTasks/zip.html">Zip</a></td>
  137. <td><p>Creates a zipfile.</p></td>
  138. </tr>
  139. </table>
  140. <p></p>
  141. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  142. <th align="left">
  143. <font size="+0" face="arial,helvetica,sanserif">
  144. <a name="audit">Audit/Coverage Tasks</a>
  145. </font></th>
  146. <font size="-1" face="arial,helvetica,sanserif">
  147. <th align="right"><a href="#top">[Back to top]</a></th>
  148. </font>
  149. </table>
  150. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  151. <tr valign="top">
  152. <th nowrap>Task Name</th>
  153. <th>Description</th>
  154. </tr>
  155. <tr valign="top">
  156. <td nowrap><a href="OptionalTasks/jdepend.html">JDepend</a></td>
  157. <td><p>Invokes the <a href="http://www.clarkware.com/software/JDepend.html">
  158. JDepend</a> parser. This parser &quot;traverses a set of Java source-file
  159. directories and generates design-quality metrics for each Java
  160. package&quot;.</p></td>
  161. </tr>
  162. <tr valign="top">
  163. <td nowrap><a href="OptionalTasks/jpcoverage.html">JProbe</a></td>
  164. <td><p>These tasks run the tools from the
  165. <a href="http://www.sitraka.com">JProbe</a> suite. This task was written
  166. using JProbe Suite Server Side 3.0.</p></td>
  167. </tr>
  168. <tr valign="top">
  169. <td nowrap><a href="OptionalTasks/mmetrics.html">MMetrics</a></td>
  170. <td><p>Computes the metrics of a set of Java source files, using the
  171. <a href="http://www.webgain.com/products/quality_analyzer/">
  172. Metamata Metrics/WebGain Quality Analyzer</a> source-code analyzer,
  173. and writes the results to an XML file.</p></td>
  174. </tr>
  175. <tr valign="top">
  176. <td nowrap><a href="OptionalTasks/maudit.html">Maudit</a></td>
  177. <td><p>Performs static analysis on a set of Java source-code and
  178. byte-code files, using the
  179. <a href="http://www.webgain.com/products/quality_analyzer/">
  180. Metamata Metrics/WebGain Quality Analyzer</a> source-code
  181. analyzer.</p></td>
  182. </tr>
  183. </table>
  184. <p></p>
  185. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  186. <th align="left">
  187. <font size="+0" face="arial,helvetica,sanserif">
  188. <a name="compile">Compile Tasks</a>
  189. </font></th>
  190. <font size="-1" face="arial,helvetica,sanserif">
  191. <th align="right"><a href="#top">[Back to top]</a></th>
  192. </font>
  193. </table>
  194. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  195. <tr valign="top">
  196. <th nowrap>Task Name</th>
  197. <th>Description</th>
  198. </tr>
  199. <tr valign="top">
  200. <td nowrap><a href="OptionalTasks/depend.html">Depend</a></td>
  201. <td><p>Determines which classfiles are out-of-date with respect to their
  202. source, removing the classfiles of any other classes that depend on the
  203. out-of-date classes, forcing the re-compile of the removed classfiles.
  204. Typically used in conjunction with the
  205. <a href="CoreTasks/javac.html">Javac</a> task.</p></td>
  206. <tr valign="top">
  207. <td nowrap><a href="CoreTasks/javac.html">Javac</a></td>
  208. <td><p>Compiles the specified source file(s) within the running
  209. (Ant) VM, or in another VM if the <code>fork</code> attribute is
  210. specified.</p></td>
  211. </tr>
  212. <tr valign="top">
  213. <td nowrap><a href="CoreTasks/apt.html">Apt</a></td>
  214. <td><p>Runs the annotation processor tool (apt), and then optionally compiles
  215. the original code, and any generated source code.</p></td>
  216. </tr>
  217. <tr valign="top">
  218. <td nowrap><a href="OptionalTasks/jspc.html">JspC</a></td>
  219. <td><p>Runs the JSP compiler. It can be used to precompile JSP pages
  220. for fast initial invocation of JSP pages, deployment on a server without
  221. the full JDK installed, or simply to syntax-check the pages without
  222. deploying them. The <a href="CoreTasks/javac.html">Javac</a> task
  223. can be used to compile the generated Java source.
  224. (For Weblogic JSP compiles,
  225. see the <a href="OptionalTasks/wljspc.html">Wljspc</a> task.)</p></td>
  226. </tr>
  227. <tr valign="top">
  228. <td nowrap><a href="OptionalTasks/netrexxc.html">NetRexxC</a></td>
  229. <td><p>Compiles a
  230. <a href="http://www2.hursley.ibm.com/netrexx" target="_top">NetRexx</a>
  231. source tree within the running (Ant) VM.</p></td>
  232. </tr>
  233. <tr valign="top">
  234. <td nowrap><a href="CoreTasks/rmic.html">Rmic</a></td>
  235. <td><p>Runs the <i>rmic</i> compiler on the specified file(s).</p></td>
  236. </tr>
  237. <tr valign="top">
  238. <td nowrap><a href="OptionalTasks/wljspc.html">Wljspc</a></td>
  239. <td><p>Compiles JSP pages using Weblogic's JSP compiler,
  240. <i>weblogic.jspc</i>. (For non-Weblogic JSP compiles, see the
  241. <a href="OptionalTasks/jspc.html">JspC</a> task.</p></td>
  242. </tr>
  243. </table>
  244. <p></p>
  245. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  246. <th align="left">
  247. <font size="+0" face="arial,helvetica,sanserif">
  248. <a name="deploy">Deployment Tasks</a>
  249. </font></th>
  250. <font size="-1" face="arial,helvetica,sanserif">
  251. <th align="right"><a href="#top">[Back to top]</a></th>
  252. </font>
  253. </table>
  254. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  255. <tr valign="top">
  256. <th nowrap>Task Name</th>
  257. <th>Description</th>
  258. </tr>
  259. <tr valign="top">
  260. <td nowrap><a href="OptionalTasks/serverdeploy.html">ServerDeploy</a></td>
  261. <td><p>Task to run a &quot;hot&quot; deployment tool for vendor-specific
  262. J2EE server.
  263. </p></td>
  264. </tr>
  265. </table>
  266. <p></p>
  267. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  268. <th align="left">
  269. <font size="+0" face="arial,helvetica,sanserif">
  270. <a name="doc">Documentation Tasks</a>
  271. </font></th>
  272. <font size="-1" face="arial,helvetica,sanserif">
  273. <th align="right"><a href="#top">[Back to top]</a></th>
  274. </font>
  275. </table>
  276. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  277. <tr valign="top">
  278. <th nowrap>Task Name</th>
  279. <th>Description</th>
  280. </tr>
  281. <tr valign="top">
  282. <td nowrap><a href="CoreTasks/javadoc.html">Javadoc/<i>Javadoc2</i></a></td>
  283. <td><p>Generates code documentation using the <i>javadoc</i> tool.
  284. The Javadoc2 task is deprecated; use the Javadoc task instead.</p></td>
  285. </tr>
  286. <tr valign="top">
  287. <td nowrap><a href="OptionalTasks/stylebook.html">Stylebook</a></td>
  288. <td><p>Executes the Apache Stylebook documentation generator.
  289. Unlike the command-line version of this tool, all three arguments
  290. are required to run the Stylebook task.</p></td>
  291. </tr>
  292. </table>
  293. <p></p>
  294. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  295. <th align="left">
  296. <font size="+0" face="arial,helvetica,sanserif">
  297. <a name="ejb">EJB Tasks</a>
  298. </font></th>
  299. <font size="-1" face="arial,helvetica,sanserif">
  300. <th align="right"><a href="#top">[Back to top]</a></th>
  301. </font>
  302. </table>
  303. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  304. <tr valign="top">
  305. <th nowrap>Task Name</th>
  306. <th>Description</th>
  307. </tr>
  308. <tr valign="top">
  309. <td nowrap><a href="OptionalTasks/ejb.html">EJB Tasks</a></td>
  310. <td><p>(See the documentation describing the EJB tasks.)</p></td>
  311. </tr>
  312. </table>
  313. <p></p>
  314. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  315. <th align="left">
  316. <font size="+0" face="arial,helvetica,sanserif">
  317. <a name="exec">Execution Tasks</a>
  318. </font></th>
  319. <font size="-1" face="arial,helvetica,sanserif">
  320. <th align="right"><a href="#top">[Back to top]</a></th>
  321. </font>
  322. </table>
  323. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  324. <tr valign="top">
  325. <th nowrap>Task Name</th>
  326. <th>Description</th>
  327. </tr>
  328. <tr valign="top">
  329. <td nowrap><a href="CoreTasks/ant.html">Ant</a></td>
  330. <td><p>Runs Ant on a supplied buildfile, optionally
  331. passing properties (with possibly new values).
  332. This task can be used to build sub-projects.</p></td>
  333. </tr>
  334. <tr valign="top">
  335. <td nowrap><a href="CoreTasks/antcall.html">AntCall</a></td>
  336. <td><p>Runs another target within the same buildfile, optionally
  337. passing properties (with possibly new values).</p></td>
  338. </tr>
  339. <tr valign="top">
  340. <td nowrap><a href="CoreTasks/apply.html">Apply/<i>ExecOn</i></a></td>
  341. <td><p>Executes a system command. When the <code>os</code> attribute is
  342. specified, the command is only executed when Ant is run on one
  343. of the specified operating systems.</p></td>
  344. </tr>
  345. <tr valign="top">
  346. <td nowrap><a href="CoreTasks/dependset.html">Dependset</a></td>
  347. <td><p>This task compares a set of source files with a set of target
  348. files. If any of the source files is newer than any of
  349. the target files, all the target files are removed. </p></td>
  350. </tr>
  351. <tr valign="top">
  352. <td nowrap><a href="CoreTasks/exec.html">Exec</a></td>
  353. <td><p>Executes a system command. When the <code>os</code> attribute
  354. is specified, the command is only executed when Ant is run on one of
  355. the specified operating systems.</p></td>
  356. </tr>
  357. <tr valign="top">
  358. <td nowrap><a href="CoreTasks/java.html">Java</a></td>
  359. <td><p>Executes a Java class within the running (Ant) VM, or in
  360. another VM if the <code>fork</code> attribute is specified.</p></td>
  361. </tr>
  362. <tr valign="top">
  363. <td nowrap><a href="CoreTasks/parallel.html">Parallel</a></td>
  364. <td><p>A container task that can contain other Ant tasks.
  365. Each nested task specified within the <code>&lt;parallel&gt;</code>
  366. tag will be executed in its own thread.</p></td>
  367. </tr>
  368. <tr valign="top">
  369. <td nowrap><a href="CoreTasks/sequential.html">Sequential</a></td>
  370. <td><p>A container task that can contain other Ant tasks.
  371. The nested tasks are simply executed in sequence. Its primary use is
  372. to support the sequential execution of a subset of tasks within
  373. the <code>&lt;parallel&gt;</code> tag.</p></td>
  374. </tr>
  375. <tr valign="top">
  376. <td nowrap><a href="CoreTasks/sleep.html">Sleep</a></td>
  377. <td><p> A task for suspending execution for a specified period of time.
  378. Useful when a build or deployment process requires an interval between
  379. tasks.</p></td>
  380. </tr>
  381. <tr valign="top">
  382. <td nowrap><a href="CoreTasks/subant.html">Subant</a></td>
  383. <td><p> Calls a given target for all defined sub-builds. This is an extension of ant for bulk project execution.</p></td>
  384. </tr>
  385. <tr valign="top">
  386. <td nowrap><a href="CoreTasks/waitfor.html">Waitfor</a></td>
  387. <td><p>Blocks execution until a set of specified conditions become true.
  388. This task is intended to be used with the
  389. <a href="CoreTasks/parallel.html">Parallel</a> task to synchronize
  390. a set of processes.</p></td>
  391. </tr>
  392. </table>
  393. <p></p>
  394. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  395. <th align="left">
  396. <font size="+0" face="arial,helvetica,sanserif">
  397. <a name="file">File Tasks</a>
  398. </font></th>
  399. <font size="-1" face="arial,helvetica,sanserif">
  400. <th align="right"><a href="#top">[Back to top]</a></th>
  401. </font>
  402. </table>
  403. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  404. <tr valign="top">
  405. <th nowrap>Task Name</th>
  406. <th>Description</th>
  407. </tr>
  408. <tr valign="top">
  409. <td nowrap><a href="OptionalTasks/attrib.html">Attrib</a></td>
  410. <td><p>Changes the permissions and/or attributes of a file or all
  411. files inside the specified directories. Currently, it has effect
  412. only under Windows.</p></td>
  413. </tr>
  414. <tr valign="top">
  415. <td nowrap><a href="CoreTasks/checksum.html">Checksum</a></td>
  416. <td><p>Generates a checksum for a file or set of files. This task can
  417. also be used to perform checksum verifications.</p></td>
  418. </tr>
  419. <tr valign="top">
  420. <td nowrap><a href="OptionalTasks/chgrp.html">Chgrp</a></td>
  421. <td><p>Changes the group ownership of a file or all files inside
  422. the specified directories. Currently, it has effect only under
  423. Unix.</p></td>
  424. </tr>
  425. <tr valign="top">
  426. <td nowrap><a href="CoreTasks/chmod.html">Chmod</a></td>
  427. <td><p>Changes the permissions of a file or all files inside the
  428. specified directories. Currently, it has effect only under Unix.
  429. The permissions are also UNIX style, like the arguments for the
  430. <i>chmod</i> command.</p></td>
  431. </tr>
  432. <tr valign="top">
  433. <td nowrap><a href="OptionalTasks/chown.html">Chown</a></td>
  434. <td><p>Changes the owner of a file or all files inside the
  435. specified directories. Currently, it has effect only under
  436. Unix.</p></td>
  437. </tr>
  438. <tr valign="top">
  439. <td nowrap><a href="CoreTasks/concat.html">Concat</a></td>
  440. <td><p>Concatenates multiple files into a single one or to Ant's
  441. logging system.</p></td>
  442. </tr>
  443. <tr valign="top">
  444. <td nowrap><a href="CoreTasks/copy.html">Copy</a></td>
  445. <td><p>Copies a file or Fileset to a new file or directory.</p></td>
  446. </tr>
  447. <tr valign="top">
  448. <td nowrap><a href="CoreTasks/copydir.html"><i>Copydir</i></a></td>
  449. <td><p><i>Deprecated.</i> Use the
  450. <a href="CoreTasks/copy.html">Copy</a> task instead.</p></td>
  451. </tr>
  452. <tr valign="top">
  453. <td nowrap><a href="CoreTasks/copyfile.html"><i>Copyfile</i></a></td>
  454. <td><p><i>Deprecated.</i> Use the
  455. <a href="CoreTasks/copy.html">Copy</a> task instead.</p></td>
  456. </tr>
  457. <tr valign="top">
  458. <td nowrap><a href="CoreTasks/delete.html">Delete</a></td>
  459. <td><p>Deletes either a single file, all files and sub-directories
  460. in a specified directory, or a set of files specified by one or more
  461. <a href="CoreTypes/fileset.html">FileSet</a>s.</p></td>
  462. </tr>
  463. <tr valign="top">
  464. <td nowrap><a href="CoreTasks/deltree.html"><i>Deltree</i></a></td>
  465. <td><p><i>Deprecated.</i> Use the
  466. <a href="CoreTasks/delete.html">Delete</a> task instead.</p></td>
  467. </tr>
  468. <tr valign="top">
  469. <td nowrap><a href="CoreTasks/filter.html">Filter</a></td>
  470. <td><p>Sets a token filter for this project, or reads multiple token
  471. filters from a specified file and sets these as filters. Token filters
  472. are used by all tasks that perform file-copying operations.</p></td>
  473. </tr>
  474. <tr valign="top">
  475. <td nowrap><a href="CoreTasks/fixcrlf.html">FixCRLF</a></td>
  476. <td><p>Modifies a file to add or remove tabs, carriage returns, linefeeds,
  477. and EOF characters.</p></td>
  478. </tr>
  479. <tr valign="top">
  480. <td nowrap><a href="CoreTasks/get.html">Get</a></td>
  481. <td><p>Gets a file from a URL.</p></td>
  482. </tr>
  483. <tr valign="top">
  484. <td nowrap><a href="CoreTasks/mkdir.html">Mkdir</a></td>
  485. <td><p>Creates a directory. Non-existent parent directories are created,
  486. when necessary.</p></td>
  487. </tr>
  488. <tr valign="top">
  489. <td nowrap><a href="CoreTasks/move.html">Move</a></td>
  490. <td><p>Moves a file to a new file or directory, or a set(s) of file(s) to
  491. a new directory.</p></td>
  492. </tr>
  493. <tr valign="top">
  494. <td nowrap><a href="CoreTasks/patch.html">Patch</a></td>
  495. <td><p>Applies a &quot;diff&quot; file to originals.</p></td>
  496. </tr>
  497. <tr valign="top">
  498. <td nowrap><a href="CoreTasks/rename.html"><i>Rename</i></a></td>
  499. <td><p><i>Deprecated.</i> Use the <a href="CoreTasks/move.html">Move</a>
  500. task instead.</p></td>
  501. </tr>
  502. <tr valign="top">
  503. <td nowrap><a href="OptionalTasks/renameextensions.html">
  504. <i>RenameExtensions</i></a></td>
  505. <td><p><i>Deprecated</i>. Use the <a href="CoreTasks/move.html">Move</a>
  506. task with a <a href="CoreTypes/mapper.html#glob-mapper">glob mapper</a>
  507. instead.</p></td>
  508. </tr>
  509. <tr valign="top">
  510. <td nowrap><a href="CoreTasks/replace.html">Replace</a></td>
  511. <td><p>Replace is a directory-based task for replacing the occurrence
  512. of a given string with another string in selected file.</p></td>
  513. </tr>
  514. <tr valign="top">
  515. <td nowrap><a href="OptionalTasks/replaceregexp.html">
  516. ReplaceRegExp</a></td>
  517. <td><p>Directory-based task for replacing the occurrence of a given
  518. regular expression with a substitution pattern in a file or set of
  519. files.</p></td>
  520. </tr>
  521. <tr valign="top">
  522. <td nowrap><a href="CoreTasks/sync.html">Sync</a></td>
  523. <td><p>Synchronize two directory trees.</p></td>
  524. </tr>
  525. <tr valign="top">
  526. <td nowrap><a href="CoreTasks/tempfile.html">Tempfile</a></td>
  527. <td><p>Generates a name for a new temporary file and sets the specified
  528. property to that name.</p></td>
  529. </tr>
  530. <tr valign="top">
  531. <td nowrap><a href="CoreTasks/touch.html">Touch</a></td>
  532. <td><p>Changes the modification time of a file and possibly creates it at
  533. the same time.</p></td>
  534. </tr>
  535. </table>
  536. <p></p>
  537. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  538. <th align="left">
  539. <font size="+0" face="arial,helvetica,sanserif">
  540. <a name="extensions">Java2 Extensions Tasks</a>
  541. </font></th>
  542. <font size="-1" face="arial,helvetica,sanserif">
  543. <th align="right"><a href="#top">[Back to top]</a></th>
  544. </font>
  545. </table>
  546. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  547. <tr valign="top">
  548. <th nowrap>Task Name</th>
  549. <th>Description</th>
  550. </tr>
  551. <tr valign="top">
  552. <td nowrap>
  553. <a href="OptionalTasks/jarlib-available.html">Jarlib-available</a></td>
  554. <td><p>Check whether an extension is present in a FileSet or an
  555. ExtensionSet. If the extension is present, the specified property is
  556. set.</p>
  557. </td>
  558. </tr>
  559. <tr valign="top">
  560. <td nowrap>
  561. <a href="OptionalTasks/jarlib-display.html">Jarlib-display</a></td>
  562. <td><p>Display the &quot;Optional Package&quot; and
  563. &quot;Package Specification&quot; information contained within the
  564. specified jars.</p>
  565. </td>
  566. </tr>
  567. <tr valign="top">
  568. <td nowrap>
  569. <a href="OptionalTasks/jarlib-manifest.html">Jarlib-manifest</a></td>
  570. <td><p>Task to generate a manifest that declares all the dependencies
  571. in manifest. The dependencies are determined by looking in the
  572. specified path and searching for Extension/&quot;Optional Package&quot;
  573. specifications in the manifests of the jars.</p>
  574. </td>
  575. </tr>
  576. <tr valign="top">
  577. <td nowrap>
  578. <a href="OptionalTasks/jarlib-resolve.html">Jarlib-resolve</a></td>
  579. <td><p>Try to locate a jar to satisfy an extension, and place the
  580. location of the jar into the specified property.</p>
  581. </td>
  582. </tr>
  583. </table>
  584. <p></p>
  585. <p></p>
  586. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  587. <th align="left">
  588. <font size="+0" face="arial,helvetica,sanserif">
  589. <a name="log">Logging Tasks</a>
  590. </font></th>
  591. <font size="-1" face="arial,helvetica,sanserif">
  592. <th align="right"><a href="#top">[Back to top]</a></th>
  593. </font>
  594. </table>
  595. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  596. <tr valign="top">
  597. <th nowrap>Task Name</th>
  598. <th>Description</th>
  599. </tr>
  600. <tr valign="top">
  601. <td nowrap><a href="CoreTasks/recorder.html">Record</a></td>
  602. <td><p>Runs a listener that records the logging output of the
  603. build-process events to a file. Several recorders can exist
  604. at the same time. Each recorder is associated with a file.</p></td>
  605. </tr>
  606. </table>
  607. <p></p>
  608. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  609. <th align="left">
  610. <font size="+0" face="arial,helvetica,sanserif">
  611. <a name="mail">Mail Tasks</a>
  612. </font></th>
  613. <font size="-1" face="arial,helvetica,sanserif">
  614. <th align="right"><a href="#top">[Back to top]</a></th>
  615. </font>
  616. </table>
  617. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  618. <tr valign="top">
  619. <th nowrap>Task Name</th>
  620. <th>Description</th>
  621. </tr>
  622. <tr valign="top">
  623. <td nowrap><a href="CoreTasks/mail.html">Mail</a></td>
  624. <td><p>A task to send SMTP email.</p></td>
  625. </tr>
  626. <tr valign="top">
  627. <td nowrap><a href="OptionalTasks/mimemail.html">MimeMail</a></td>
  628. <td><p><i>Deprecated</i>. Use the <a href="CoreTasks/mail.html">Mail</a>
  629. task instead.</p></td>
  630. </tr>
  631. </table>
  632. <p></p>
  633. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  634. <th align="left">
  635. <font size="+0" face="arial,helvetica,sanserif">
  636. <a name="misc">Miscellaneous Tasks</a>
  637. </font></th>
  638. <font size="-1" face="arial,helvetica,sanserif">
  639. <th align="right"><a href="#top">[Back to top]</a></th>
  640. </font>
  641. </table>
  642. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  643. <tr valign="top">
  644. <th nowrap>Task Name</th>
  645. <th>Description</th>
  646. </tr>
  647. <tr valign="top">
  648. <td nowrap><a href="CoreTasks/defaultexcludes.html">Defaultexcludes</a></td>
  649. <td><p>Modify the list of default exclude patterns from within
  650. your build file.</p></td>
  651. </tr>
  652. <tr valign="top">
  653. <td nowrap><a href="CoreTasks/echo.html">Echo</a></td>
  654. <td><p>Echoes text to <code>System.out</code> or to a file.</p></td>
  655. </tr>
  656. <tr valign="top">
  657. <td nowrap><a href="CoreTasks/fail.html">Fail</a></td>
  658. <td><p>Exits the current build by throwing a BuildException,
  659. optionally printing additional information.</p></td>
  660. </tr>
  661. <tr valign="top">
  662. <td nowrap><a href="CoreTasks/genkey.html">GenKey</a></td>
  663. <td><p>Generates a key in keystore.</p></td>
  664. </tr>
  665. <tr valign="top">
  666. <td nowrap><a href="CoreTasks/input.html">Input</a></td>
  667. <td><p>Allows user interaction during the build process by displaying a
  668. message and reading a line of input from the console.</p></td>
  669. </tr>
  670. <tr valign="top">
  671. <td nowrap><a href="OptionalTasks/script.html">Script</a></td>
  672. <td><p>Executes a script in a
  673. <a href="http://jakarta.apache.org/bsf/"
  674. target="_top">Apache BSF</a>-supported language.</p></td>
  675. </tr>
  676. <tr valign="top">
  677. <td nowrap><a href="OptionalTasks/sound.html">Sound</a></td>
  678. <td><p>Plays a sound file at the end of the build, according to whether
  679. the build failed or succeeded.</p></td>
  680. </tr>
  681. <tr valign="top">
  682. <td nowrap><a href="OptionalTasks/splash.html">Splash</a></td>
  683. <td><p>Displays a splash screen.</p></td>
  684. </tr>
  685. <tr valign="top">
  686. <td nowrap><a href="CoreTasks/sql.html">Sql</a></td>
  687. <td><p>Executes a series of SQL statements via JDBC to a database.
  688. Statements can either be read in from a text file using the
  689. <code>src</code> attribute, or from between the enclosing SQL
  690. tags.</p></td>
  691. </tr>
  692. <tr valign="top">
  693. <td nowrap><a href="CoreTasks/taskdef.html">Taskdef</a></td>
  694. <td><p>Adds a task definition to the current project, such that this
  695. new task can be used in the current project.</p></td>
  696. </tr>
  697. <tr valign="top">
  698. <td nowrap><a href="CoreTasks/tstamp.html">TStamp</a></td>
  699. <td><p>Sets the <code>DSTAMP</code>, <code>TSTAMP</code>, and
  700. <code>TODAY</code> properties in the current project, based on
  701. the current date and time.</p></td>
  702. </tr>
  703. <tr valign="top">
  704. <td nowrap><a href="CoreTasks/typedef.html">Typedef</a></td>
  705. <td><p>Adds a data-type definition to the current project, such that this
  706. new type can be used in the current project.</p></td>
  707. </tr>
  708. <tr valign="top">
  709. <td nowrap><a href="OptionalTasks/xmlvalidate.html">XmlValidate</a></td>
  710. <td><p>Checks that XML files are valid (or only well-formed). This task
  711. uses the XML parser that is currently used by Ant by default, but any SAX1/2
  712. parser can be specified, if needed.</p></td>
  713. </tr>
  714. </table>
  715. <p></p>
  716. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  717. <th align="left">
  718. <font size="+0" face="arial,helvetica,sanserif">
  719. <a name="net">.NET Tasks</a>
  720. </font></th>
  721. <font size="-1" face="arial,helvetica,sanserif">
  722. <th align="right"><a href="#top">[Back to top]</a></th>
  723. </font>
  724. </table>
  725. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  726. <tr valign="top">
  727. <th nowrap>Task Name</th>
  728. <th>Description</th>
  729. </tr>
  730. <tr valign="top">
  731. <td nowrap><a href="OptionalTasks/dotnet.html">.NET Tasks</a></td>
  732. <td><p>(See the documentation describing the .NET tasks.)</p></td>
  733. </tr>
  734. </table>
  735. <p></p>
  736. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  737. <th align="left">
  738. <font size="+0" face="arial,helvetica,sanserif">
  739. <a name="preproc">Pre-process Tasks</a>
  740. </font></th>
  741. <font size="-1" face="arial,helvetica,sanserif">
  742. <th align="right"><a href="#top">[Back to top]</a></th>
  743. </font>
  744. </table>
  745. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  746. <tr valign="top">
  747. <th nowrap>Task Name</th>
  748. <th>Description</th>
  749. </tr>
  750. <tr valign="top">
  751. <td nowrap><a href="OptionalTasks/antlr.html">ANTLR</a></td>
  752. <td><p>Invokes the <a HREF="http://www.antlr.org/" target="_top">ANTLR</a>
  753. Translator generator on a grammar file.</p></td>
  754. </tr>
  755. <tr valign="top">
  756. <td nowrap><a href="CoreTasks/antstructure.html">AntStructure</a></td>
  757. <td><p>Generates a DTD for Ant buildfiles that contains information
  758. about all tasks currently known to Ant.</p></td>
  759. </tr>
  760. <tr valign="top">
  761. <td nowrap><a href="OptionalTasks/icontract.html">IContract</a></td>
  762. <td><p>Instruments Java classes using the
  763. <a href="http://www.reliable-systems.com/tools/">iContract</a> DBC
  764. preprocessor. This task can generate a properties file for
  765. <a href="http://home.sol.no/~hellesoy/icplus.html">iControl</a>,
  766. a graphical user interface that lets you turn on/off assertions.</p></td>
  767. </tr>
  768. <tr valign="top">
  769. <td nowrap><a href="CoreTasks/import.html">Import</a></td>
  770. <td><p>Import another build file and potentially override targets
  771. in it with targets of your own.</p></td>
  772. </tr>
  773. <tr valign="top">
  774. <td nowrap><a href="OptionalTasks/javacc.html">JavaCC</a></td>
  775. <td><p>Invokes the
  776. <a HREF="http://javacc.dev.java.net/" target="_top">
  777. JavaCC</a> compiler-compiler on a grammar file.</p></td>
  778. </tr>
  779. <tr valign="top">
  780. <td nowrap><a href="OptionalTasks/javah.html">Javah</a></td>
  781. <td><p>Generates JNI headers from a Java class.</p></td>
  782. </tr>
  783. <tr valign="top">
  784. <td nowrap><a href="OptionalTasks/jjdoc.html">JJDoc</a></td>
  785. <td><p>Invokes the <a href="http://javacc.dev.java.net/">
  786. JJDoc</a> documentation generator for the JavaCC compiler-compiler.
  787. JJDoc takes a JavaCC parser specification and produces documentation
  788. for the BNF grammar. It can operate in three modes, determined by
  789. command line options. This task only invokes JJDoc if the grammar file
  790. is newer than the generated BNF grammar documentation.</p></td>
  791. </tr>
  792. <tr valign="top">
  793. <td nowrap><a href="OptionalTasks/jjtree.html">JJTree</a></td>
  794. <td><p>Invokes the <a href="http://javacc.dev.java.net/">
  795. JJTree</a> preprocessor for the JavaCC compiler-compiler. It inserts
  796. parse-tree building actions at various places in the JavaCC source that
  797. it generates. The output of JJTree is run through JavaCC to create the
  798. parser. This task only invokes JJTree if the grammar file is newer than
  799. the generated JavaCC file.</p></td>
  800. </tr>
  801. <tr valign="top">
  802. <td nowrap><a href="CoreTasks/macrodef.html">Macrodef</a></td>
  803. <td><p>Define a new task as a macro built-up upon other tasks.</p></td>
  804. </tr>
  805. <tr valign="top">
  806. <td nowrap><a href="OptionalTasks/mparse.html">MParse</a></td>
  807. <td><p>Invokes the Metamata <a HREF="http://www.metamata.com/parse.html">
  808. MParse</a> compiler-compiler on a grammar file.</p></td>
  809. </tr>
  810. <tr valign="top">
  811. <td nowrap><a href="OptionalTasks/native2ascii.html">
  812. Native2Ascii</a></td>
  813. <td><p>Converts files from native encodings to ASCII with escaped Unicode.
  814. A common usage is to convert source files maintained in a native
  815. operating system encoding to ASCII, prior to compilation.</p></td>
  816. </tr>
  817. <tr valign="top">
  818. <td nowrap><a href="CoreTasks/presetdef.html">Presetdef</a></td>
  819. <td><p>Define a new task by instrumenting an existing task with
  820. default values for attributes or child elements.</p>
  821. </tr>
  822. <tr valign="top">
  823. <td nowrap><a href="OptionalTasks/translate.html">Translate</a></td>
  824. <td><p>Identifies keys in files, delimited by special tokens, and
  825. translates them with values read from resource bundles.</p></td>
  826. </tr>
  827. <tr valign="top">
  828. <td nowrap><a href="CoreTasks/style.html">XSLT</a></td>
  829. <td><p>Processes a set of documents via XSLT.</p></td>
  830. </tr>
  831. </table>
  832. <p></p>
  833. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  834. <th align="left">
  835. <font size="+0" face="arial,helvetica,sanserif">
  836. <a name="prop">Property Tasks</a>
  837. </font></th>
  838. <font size="-1" face="arial,helvetica,sanserif">
  839. <th align="right"><a href="#top">[Back to top]</a></th>
  840. </font>
  841. </table>
  842. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  843. <tr valign="top">
  844. <th nowrap>Task Name</th>
  845. <th>Description</th>
  846. </tr>
  847. <tr valign="top">
  848. <td nowrap><a href="CoreTasks/available.html">Available</a></td>
  849. <td><p>Sets a property if a specified file, directory, class in the
  850. classpath, or JVM system resource is available at runtime.</p></td>
  851. </tr>
  852. <tr valign="top">
  853. <td nowrap><a href="CoreTasks/basename.html">Basename</a></td>
  854. <td><p>Sets a property to the last element of a specified path.
  855. </tr>
  856. <tr valign="top">
  857. <td nowrap><a href="CoreTasks/buildnumber.html">BuildNumber</a></td>
  858. <td><p>Task that can be used to track build numbers.
  859. </tr>
  860. <tr valign="top">
  861. <td nowrap><a href="CoreTasks/condition.html">Condition</a></td>
  862. <td><p>Sets a property if a certain condition holds true; this is a
  863. generalization of <a href="CoreTasks/available.html">Available</a> and
  864. <a href="CoreTasks/uptodate.html">Uptodate</a>.</p></td>
  865. </tr>
  866. <tr valign="top">
  867. <td nowrap><a href="CoreTasks/dirname.html">Dirname</a></td>
  868. <td><p>Sets a property to the value of the specified file up to,
  869. but not including, the last path element.
  870. </tr>
  871. <tr valign="top">
  872. <td nowrap>
  873. <a href="OptionalTasks/echoproperties.html">Echoproperties</a><br>
  874. </td>
  875. <td><p>Lists the current properties.</p></td>
  876. </tr>
  877. <tr valign="top">
  878. <td nowrap><a href="CoreTasks/loadfile.html">LoadFile</a></td>
  879. <td><p>Loads a file into a property.</p></td>
  880. </tr>
  881. <tr valign="top">
  882. <td nowrap><a href="CoreTasks/loadproperties.html">LoadProperties</a></td>
  883. <td><p>Load a file's contents as Ant properties. This task is
  884. equivalent to using <code>&lt;property file=&quot;...&quot;/&gt;</code>
  885. except that it supports nested <code>&lt;filterchain&gt;</code> elements,
  886. and it cannot be specified outside a target.</p></td>
  887. </tr>
  888. <tr valign="top">
  889. <td nowrap><a href="CoreTasks/makeurl.html">MakeURL</a></td>
  890. <td><p>Creates a URL (list) from a file/fileset or path</p></td>
  891. </tr>
  892. <tr valign="top">
  893. <td nowrap><a href="CoreTasks/pathconvert.html">PathConvert</a></td>
  894. <td><p>Converts a nested path, path reference, filelist reference, or
  895. fileset reference to the form usable on a specified platform and/or
  896. to a list of items separated by the specified separator and stores
  897. the result in the specified property.</p></td>
  898. </tr>
  899. <tr valign="top">
  900. <td nowrap><a href="CoreTasks/property.html">Property</a></td>
  901. <td><p>Sets a property (by name and value), or set of properties
  902. (from a file or resource) in the project.</p></td>
  903. </tr>
  904. <tr valign="top">
  905. <td nowrap><a href="OptionalTasks/propertyfile.html">
  906. PropertyFile</a></td>
  907. <td><p>Creates or modifies property files. Useful when wanting to make
  908. unattended modifications to configuration files for application
  909. servers and applications. Typically used for things such as
  910. automatically generating a build number and saving it to a build
  911. properties file, or doing date manipulation.<p></td>
  912. </tr>
  913. <tr valign="top">
  914. <td nowrap><a href="CoreTasks/uptodate.html">Uptodate</a></td>
  915. <td><p>Sets a property if a given target file is newer than a set of
  916. source files.</p></td>
  917. </tr>
  918. <tr valign="top">
  919. <td nowrap><a href="CoreTasks/whichresource.html">Whichresource</a></td>
  920. <td><p>Find a class or resource.</p></td>
  921. </tr>
  922. <tr valign="top">
  923. <td nowrap><a href="CoreTasks/xmlproperty.html">XmlProperty</a></td>
  924. <td><p>Loads property values from a well-formed XML file.</p></td>
  925. </tr>
  926. </table>
  927. <p></p>
  928. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  929. <th align="left">
  930. <font size="+0" face="arial,helvetica,sanserif">
  931. <a name="remote">Remote Tasks</a>
  932. </font></th>
  933. <font size="-1" face="arial,helvetica,sanserif">
  934. <th align="right"><a href="#top">[Back to top]</a></th>
  935. </font>
  936. </table>
  937. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  938. <tr valign="top">
  939. <th nowrap>Task Name</th>
  940. <th>Description</th>
  941. </tr>
  942. <tr valign="top">
  943. <td nowrap><a href="OptionalTasks/ftp.html">FTP</a></td>
  944. <td><p>Implements a basic FTP client that can send, receive,
  945. list, and delete files, and create directories.</p></td>
  946. </tr>
  947. <tr valign="top">
  948. <td nowrap><a href="OptionalTasks/rexec.html">Rexec</a></td>
  949. <td><p>Task to automate a remote rexec session.</p></td>
  950. </tr>
  951. <tr valign="top">
  952. <td nowrap><a href="OptionalTasks/scp.html">Scp</a></td>
  953. <td><p>Copy files to or from a remote server using SSH.</p></td>
  954. </tr>
  955. <tr valign="top">
  956. <td nowrap><a href="OptionalTasks/setproxy.html">setproxy</a></td>
  957. <td><p>Sets Java's web proxy properties, so that tasks and code run
  958. in the same JVM can have through-the-firewall access to remote web sites.</p></td>
  959. </tr>
  960. <tr valign="top">
  961. <td nowrap><a href="OptionalTasks/sshexec.html">Sshexec</a></td>
  962. <td><p>Execute a command on a remote server using SSH.</p></td>
  963. </tr>
  964. <tr valign="top">
  965. <td nowrap><a href="OptionalTasks/telnet.html">Telnet</a></td>
  966. <td><p>Task to automate a remote <i>telnet</i> session. This task uses
  967. nested <code>&lt;read&gt;</code> and <code>&lt;write&gt;</code> tags
  968. to indicate strings to wait for and specify text to send.</p></td>
  969. </tr>
  970. </table>
  971. <p></p>
  972. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  973. <th align="left">
  974. <font size="+0" face="arial,helvetica,sanserif">
  975. <a name="scm">SCM Tasks</a>
  976. </font></th>
  977. <font size="-1" face="arial,helvetica,sanserif">
  978. <th align="right"><a href="#top">[Back to top]</a></th>
  979. </font>
  980. </table>
  981. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  982. <tr valign="top">
  983. <th nowrap>Task Name</th>
  984. <th>Description</th>
  985. </tr>
  986. <tr valign="top">
  987. <td nowrap><a href="CoreTasks/cvs.html">Cvs</a></td>
  988. <td><p>Handles packages/modules retrieved from a
  989. <a href="http://www.nongnu.org/cvs/" target="_top">CVS</a>
  990. repository.</p></td>
  991. </tr>
  992. <tr valign="top">
  993. <td nowrap><a href="CoreTasks/changelog.html">CvsChangeLog</a></td>
  994. <td><p>Generates an XML report of the changes recorded in a
  995. <a href="http://www.nongnu.org/cvs/" target="_top">CVS</a>
  996. repository.</p></td>
  997. </tr>
  998. <tr valign="top">
  999. <td nowrap><a href="CoreTasks/cvspass.html">CVSPass</a></td>
  1000. <td><p>Adds entries to a .cvspass file. Adding entries to this file
  1001. has the same affect as a <i>cvs login</i> command.</p></td>
  1002. </tr>
  1003. <tr valign="top">
  1004. <td nowrap><a href="CoreTasks/cvstagdiff.html">CvsTagDiff</a></td>
  1005. <td><p>Generates an XML-formatted report file of the changes between
  1006. two tags or dates recorded in a <a href="http://www.nongnu.org/cvs/"
  1007. target="_top">CVS</a> repository.</p></td>
  1008. </tr>
  1009. <tr valign="top">
  1010. <td nowrap><a href="OptionalTasks/clearcase.html">ClearCase</a></td>
  1011. <td><p>Tasks to perform the ClearCase cleartool <i>checkin</i>, <i>checkout</i>,
  1012. <i>uncheckout</i>, <i>update</i>, <i>lock</i>, <i>unlock</i>, <i>mklbtype</i>, <i>rmtype</i>, <i>mklabel</i>, <i>mkattr</i>, <i>mkdir</i>, <i>mkelem</i>, and <i>mkbl</i> commands.</p></td>
  1013. </tr>
  1014. <tr valign="top">
  1015. <td nowrap><a href="OptionalTasks/ccm.html">Continuus/Synergy</a></td>
  1016. <td><p>Tasks to perform the Continuus <i>ccmcheckin</i>,
  1017. <i>ccmcheckout</i>, <i>ccmcheckintask</i>, <i>ccmreconfigure</i>, and
  1018. <i>ccmcreateTask</i> commands.</p></td>
  1019. </tr>
  1020. <tr valign="top">
  1021. <td nowrap><a href="OptionalTasks/vss.html">
  1022. Microsoft Visual SourceSafe</a></td>
  1023. <td><p>Tasks to perform the Visual SourceSafe <i>vssget</i>,
  1024. <i>vsslabel</i>, <i>vsshistory</i>, <i>vsscheckin</i>,
  1025. <i>vsscheckout</i>, <i>vssadd</i>, <i>vsscp</i>, and <i>vsscreate</i>
  1026. commands.</p></td>
  1027. </tr>
  1028. <tr valign="top">
  1029. <td nowrap><a href="OptionalTasks/perforce.html">Perforce</a></td>
  1030. <td><p>Tasks to perform the Perforce <i>p4sync</i>, <i>p4change</i>,
  1031. <i>p4edit</i>, <i>p4submit</i>, <i>p4have</i>, <i>p4label</i>,
  1032. <i>p4counter</i>, <i>p4reopen</i>, <i>p4revert</i>, and <i>p4add</i>
  1033. commands.</p></td>
  1034. </tr>
  1035. <tr valign="top">
  1036. <td nowrap><a href="OptionalTasks/pvcstask.html">Pvcs</a></td>
  1037. <td><p>Allows the user extract the latest edition of the source code
  1038. from a PVCS repository.</p></td>
  1039. </tr>
  1040. <tr valign="top">
  1041. <td nowrap><a href="OptionalTasks/sos.html">SourceOffSite</a></td>
  1042. <td><p>Tasks to perform the SourceOffSite <i>sosget</i>, <i>soslabel</i>,
  1043. <i>soscheckin</i>, and <i>soscheckout</i> commands.</p></td>
  1044. </tr>
  1045. <tr valign="top">
  1046. <td nowrap><a href="OptionalTasks/starteam.html">StarTeam</a></td>
  1047. <td><p>Tasks to perform the StarTeam <i>stcheckout</i>, <i>stcheckin</i>,
  1048. <i>stlabel</i>, and <i>stlist</i> commands. The
  1049. <a href="OptionalTasks/starteam.html#starteam">Starteam</a> task
  1050. is deprecated; use
  1051. <a href="OptionalTasks/starteam.html#stcheckout">STCheckout</a>
  1052. instead.</p></td>
  1053. </tr>
  1054. </table>
  1055. <p></p>
  1056. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  1057. <th align="left">
  1058. <font size="+0" face="arial,helvetica,sanserif">
  1059. <a name="testing">Testing Tasks</a>
  1060. </font></th>
  1061. <font size="-1" face="arial,helvetica,sanserif">
  1062. <th align="right"><a href="#top">[Back to top]</a></th>
  1063. </font>
  1064. </table>
  1065. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  1066. <tr valign="top">
  1067. <th nowrap>Task Name</th>
  1068. <th>Description</th>
  1069. </tr>
  1070. <tr valign="top">
  1071. <td nowrap><a href="OptionalTasks/junit.html">Junit</a></td>
  1072. <td><p>Runs tests from the <a href="http://www.junit.org">Junit</a>
  1073. testing framework. This task has been tested with JUnit 3.0 up to
  1074. JUnit 3.7; it won't work with versions prior to JUnit 3.0.</p></td>
  1075. </tr>
  1076. <tr valign="top">
  1077. <td nowrap><a href="OptionalTasks/junitreport.html">JunitReport</a></td>
  1078. <td><p>Merges the individual XML files generated by the
  1079. <a href="OptionalTasks/junit.html">Junit</a> task and applies a
  1080. stylesheet on the resulting merged document to provide a browsable
  1081. report of the testcases results.</p></td>
  1082. </tr>
  1083. <tr valign="top">
  1084. <td nowrap><a href="OptionalTasks/test.html">Test</a></td>
  1085. <td><p>Executes a unit test in the <code>org.apache.testlet</code>
  1086. framework.</p></td>
  1087. </tr>
  1088. </table>
  1089. <p></p>
  1090. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  1091. <th align="left">
  1092. <font size="+0" face="arial,helvetica,sanserif">
  1093. <a name="vaj">Visual Age for Java Tasks</a>
  1094. </font></th>
  1095. <font size="-1" face="arial,helvetica,sanserif">
  1096. <th align="right"><a href="#top">[Back to top]</a></th>
  1097. </font>
  1098. </table>
  1099. <table width="100%" border="1" cellpadding="4" cellspacing="0">
  1100. <tr valign="top">
  1101. <th nowrap>Task Name</th>
  1102. <th>Description</th>
  1103. </tr>
  1104. <tr valign="top">
  1105. <td nowrap><a href="Integration/VAJAntTool.html">
  1106. Visual Age for Java Tasks</a></td>
  1107. <td><p>(See the documentation describing the Visual Age for Java
  1108. tasks.)</p></td>
  1109. </tr>
  1110. </table>
  1111. <hr>
  1112. <p align="center">Copyright &copy; 2001-2005 The Apache Software Foundation.
  1113. All rights Reserved.</p>
  1114. </body>
  1115. </html>