summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bodewig <bodewig@apache.org>2000-11-02 10:50:03 +0000
committerStefan Bodewig <bodewig@apache.org>2000-11-02 10:50:03 +0000
commit1d7680550db4f91d69b8f4c6e641b01a631a28e5 (patch)
tree0a45571bffc5672ba17e3edbae5eb6b76bd3a874
parent68c90b6d050e9910bd57184eec8b7bda30d29e8f (diff)
downloadant-1d7680550db4f91d69b8f4c6e641b01a631a28e5.tar.gz
Clarify that includes attributes accepts multiple patterns while the
nested elements don't. git-svn-id: https://svn.apache.org/repos/asf/ant/core/branches/ANT_12_FIXES@268141 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/index.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/index.html b/docs/index.html
index 319e4136d..657169973 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -31,7 +31,7 @@ date.</strong></p>
<li>Dave Walend (<a href="mailto:dwalend@cs.tufts.edu">dwalend@cs.tufts.edu</a>)</li>
</ul>
-<p>Version 1.2 - 2000/10/27</p>
+<p>Version 1.2 - 2000/11/02</p>
<hr>
<h2>Table of Contents</h2>
@@ -787,6 +787,10 @@ that do not contain the text <code>Test</code> in their name. This set
can be <a href="#references">referred</a> to via
<code>&lt;patternset refid=&quot;non.test.sources&quot;
/&gt;</code> by tasks that support this feature or by FileSets.</p>
+<p>Note that while the includes and excludes attributes accept
+multiple elements separated by commas or spaces, the nested
+&lt;include&gt; and &lt;exclude&gt; elements expect their name
+attribute to hold a single pattern.</p>
<h3><a name="fileset">FileSets</a></h3>
<p>FileSets are groups of files. These files can be found in a
directory tree starting in a base directory and are matched by
@@ -2755,7 +2759,8 @@ the propery <code>src2</code>. This can also be represented using nested element
debug=&quot;on&quot;&gt;
&lt;src path=&quot;${src}&quot; /&gt;
&lt;src path=&quot;${src2}&quot; /&gt;
- &lt;include name=&quot;mypackage/p1/**,mypackage/p2/**&quot; /&gt;
+ &lt;include name=&quot;mypackage/p1/**&quot; /&gt;
+ &lt;include name=&quot;mypackage/p2/**&quot; /&gt;
&lt;exclude name=&quot;mypackage/p1/testpackage/**&quot; /&gt;
&lt;/javac&gt;</pre>