mirror of
https://github.com/apache/ant.git
synced 2025-05-18 14:04:48 +00:00
PR: 12700 Submitted by: Gus Heck <gus dot heck at olin dot edu> git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274554 13f79535-47bb-0310-9956-ffa450edef68
74 lines
1.9 KiB
HTML
74 lines
1.9 KiB
HTML
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="en-us">
|
|
<title>DefaultExcludes Task</title>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h2><a name="echo">DefaultExcludes</a></h2>
|
|
|
|
<p><em>since Ant 1.6</em></p>
|
|
|
|
<h3>Description</h3>
|
|
<p>Alters the default excludes for all subsequent processing in the
|
|
build, and prints out the current default excludes if desired.
|
|
|
|
<h3>Parameters</h3>
|
|
<table border="1" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td valign="top"><b>Attribute</b></td>
|
|
<td valign="top"><b>Description</b></td>
|
|
<td align="center" valign="top"><b>Required</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">echo</td>
|
|
<td valign="top">whether or not to print out the default excludes.(defaults to false)</td>
|
|
<td valign="top" align="center">atribute "true" required if no
|
|
other argument specified</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">add</td>
|
|
<td valign="top">the pattern to add to the default excludes</td>
|
|
<td valign="top" align="center">if no other atribute is specified</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">remove</td>
|
|
<td valign="top">remove the specified pattern from the default excludes</td>
|
|
<td valign="top" align="center">if no other atribute is specified</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h3>Examples</h3>
|
|
|
|
<p>Print out the default excludes</p>
|
|
|
|
<pre> <defaultexcludes echo="true"/></pre>
|
|
|
|
<p>Print out the default excludes and exclude all *.bak files in
|
|
<strong>all</strong> further processing</p>
|
|
|
|
<pre> <defaultexcludes echo="true" add="**/*.bak"/></pre>
|
|
|
|
<p>Silently allow several fileset based tasks to operate on emacs
|
|
backup files and then restore normal behavior</p>
|
|
|
|
<pre>
|
|
<defaultexcludes remove="**/*~"/>
|
|
|
|
(do several fileset based tasks here)
|
|
|
|
<defaultexcludes add="**/*~"/>
|
|
</pre>
|
|
|
|
|
|
<hr>
|
|
|
|
<p align="center">Copyright © 2003 Apache Software Foundation. All rights
|
|
Reserved.</p>
|
|
|
|
</body>
|
|
</html>
|
|
|