source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/docs/manual/CoreTasks/defaultexcludes.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 2.2 KB
Line 
1<html>
2
3<head>
4<meta http-equiv="Content-Language" content="en-us">
5<title>DefaultExcludes Task</title>
6<link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
7</head>
8
9<body>
10
11<h2><a name="echo">DefaultExcludes</a></h2>
12
13<p><em>since Ant 1.6</em></p>
14
15<h3>Description</h3>
16<p>Alters the default excludes for all subsequent processing in the
17build, and prints out the current default excludes if desired.
18
19<h3>Parameters</h3>
20<table border="1" cellpadding="2" cellspacing="0">
21 <tr>
22 <td valign="top"><b>Attribute</b></td>
23 <td valign="top"><b>Description</b></td>
24 <td align="center" valign="top"><b>Required</b></td>
25 </tr>
26 <tr>
27 <td valign="top">echo</td>
28 <td valign="top">whether or not to print out the default excludes.(defaults to false)</td>
29 <td valign="top" align="center">attribute "true" required if no
30 other attribute specified</td>
31 </tr>
32 <tr>
33 <td valign="top">default</td>
34 <td valign="top">go back to hard wired default excludes</td>
35 <td valign="top" align="center">attribute "true" required if no
36 if no other attribute is specified</td>
37 </tr>
38 <tr>
39 <td valign="top">add</td>
40 <td valign="top">the pattern to add to the default excludes</td>
41 <td valign="top" align="center">if no other attribute is specified</td>
42 </tr>
43 <tr>
44 <td valign="top">remove</td>
45 <td valign="top">remove the specified pattern from the default excludes</td>
46 <td valign="top" align="center">if no other attribute is specified</td>
47 </tr>
48</table>
49
50<h3>Examples</h3>
51
52<p>Print out the default excludes</p>
53
54<pre> &lt;defaultexcludes echo=&quot;true&quot;/&gt;</pre>
55
56<p>Print out the default excludes and exclude all *.bak files in
57<strong>all</strong> further processing</p>
58
59<pre> &lt;defaultexcludes echo=&quot;true&quot; add=&quot;**/*.bak&quot;/&gt;</pre>
60
61<p>Silently allow several fileset based tasks to operate on emacs
62backup files and then restore normal behavior</p>
63
64<pre>
65 &lt;defaultexcludes remove=&quot;**/*~&quot;/&gt;
66
67 (do several fileset based tasks here)
68
69 &lt;defaultexcludes default=&quot;true&quot;/&gt;
70</pre>
71
72
73<hr>
74
75<p align="center">Copyright &copy; 2003-2004 The Apache Software Foundation. All rights
76Reserved.</p>
77
78</body>
79</html>
80
Note: See TracBrowser for help on using the repository browser.