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 1.9 KiB

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