diff --git a/docs/faq.html b/docs/faq.html index 5d08b8da1..ed4b12c95 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -156,6 +156,12 @@
  • How do I redirect standard input or standard output in the <exec> task? +
  • +
  • + I've made a <delete> task to delete unwanted + sourcesafe control files (CVS files, editor backup files), but + it doesn't seem to work. The files never get deleted. What's + wrong?
  • @@ -714,6 +720,79 @@ shell-prompt> cat < foo + + + + + +
    + + + I've made a <delete> task to delete unwanted + sourcesafe control files (CVS files, editor backup files), but + it doesn't seem to work. The files never get deleted. What's + wrong? + + +
    +
    +

    This is probably happening because by default, Ant excludes + SourceSafe control files (vssver.scc) and other + files from FileSets.

    +

    Here's what you probably did:

    +
    + + + + + + + + + + + + + + + + +
    +<delete>
    +  <fileset dir="${build.src}" includes="**/vssver.scc"/>
    +</delete>
    +
    +
    +

    You need to switch off the default exclusions and it will work:

    +
    + + + + + + + + + + + + + + + + +
    +<delete>
    +  <fileset dir="${build.src}" includes="**/vssver.scc"
    +           defaultexcludes="no"/>
    +</delete>
    +
    +
    +

    For a complete listing of the patterns thate are excluded + by default, see the user + manual.

    +
    +
    diff --git a/xdocs/faq.xml b/xdocs/faq.xml index afeaa9c3a..00e19e5fb 100644 --- a/xdocs/faq.xml +++ b/xdocs/faq.xml @@ -258,6 +258,41 @@ shell-prompt> cat < foo + + + I've made a <delete> task to delete unwanted + sourcesafe control files (CVS files, editor backup files), but + it doesn't seem to work. The files never get deleted. What's + wrong? + + +

    This is probably happening because by default, Ant excludes + SourceSafe control files (vssver.scc) and other + files from FileSets.

    + +

    Here's what you probably did:

    + + + + + +]]> + +

    You need to switch off the default exclusions and it will work:

    + + + +]]> + +

    For a complete listing of the patterns thate are excluded + by default, see the user + manual.

    + +
    +