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