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.

defaultexcludes.html 2.2 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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>DefaultExcludes Task</title>
  6. </head>
  7. <body>
  8. <h2><a name="echo">DefaultExcludes</a></h2>
  9. <p><em>since Ant 1.6</em></p>
  10. <h3>Description</h3>
  11. <p>Alters the default excludes for all subsequent processing in the
  12. build, and prints out the current default excludes if desired.
  13. <h3>Parameters</h3>
  14. <table border="1" cellpadding="2" cellspacing="0">
  15. <tr>
  16. <td valign="top"><b>Attribute</b></td>
  17. <td valign="top"><b>Description</b></td>
  18. <td align="center" valign="top"><b>Required</b></td>
  19. </tr>
  20. <tr>
  21. <td valign="top">echo</td>
  22. <td valign="top">whether or not to print out the default excludes.(defaults to false)</td>
  23. <td valign="top" align="center">attribute "true" required if no
  24. other attribute specified</td>
  25. </tr>
  26. <tr>
  27. <td valign="top">default</td>
  28. <td valign="top">go back to hard wired default excludes</td>
  29. <td valign="top" align="center">attribute "true" required if no
  30. if no other attribute is specified</td>
  31. </tr>
  32. <tr>
  33. <td valign="top">add</td>
  34. <td valign="top">the pattern to add to the default excludes</td>
  35. <td valign="top" align="center">if no other attribute is specified</td>
  36. </tr>
  37. <tr>
  38. <td valign="top">remove</td>
  39. <td valign="top">remove the specified pattern from the default excludes</td>
  40. <td valign="top" align="center">if no other attribute is specified</td>
  41. </tr>
  42. </table>
  43. <h3>Examples</h3>
  44. <p>Print out the default excludes</p>
  45. <pre> &lt;defaultexcludes echo=&quot;true&quot;/&gt;</pre>
  46. <p>Print out the default excludes and exclude all *.bak files in
  47. <strong>all</strong> further processing</p>
  48. <pre> &lt;defaultexcludes echo=&quot;true&quot; add=&quot;**/*.bak&quot;/&gt;</pre>
  49. <p>Silently allow several fileset based tasks to operate on emacs
  50. backup files and then restore normal behavior</p>
  51. <pre>
  52. &lt;defaultexcludes remove=&quot;**/*~&quot;/&gt;
  53. (do several fileset based tasks here)
  54. &lt;defaultexcludes default=&quot;true&quot;/&gt;
  55. </pre>
  56. <hr>
  57. <p align="center">Copyright &copy; 2003-2005 The Apache Software Foundation. All rights
  58. Reserved.</p>
  59. </body>
  60. </html>