|
|
@@ -23,22 +23,19 @@ |
|
|
|
<body> |
|
|
|
<h2 id="fileset">TarFileSet</h2> |
|
|
|
|
|
|
|
<p><em>TarFileSet</em> has been added as a stand-alone type in Apache Ant |
|
|
|
1.7.</p> |
|
|
|
<p><em>TarFileSet</em> has been a stand-alone type <em>since Apache Ant 1.7</em>.</p> |
|
|
|
|
|
|
|
<p>A <code><tarfileset></code> is a special form of a <code><<a |
|
|
|
href="fileset.html">fileset</a>></code> which can behave in 2 |
|
|
|
different ways : <br> |
|
|
|
</p> |
|
|
|
<ul> |
|
|
|
<li>When the <span style="font-style: italic;">src</span> attribute |
|
|
|
<li>When the <var>src</var> attribute |
|
|
|
is used - or a nested resource collection has been specified, the |
|
|
|
tarfileset is populated with tar entries found in the file <span |
|
|
|
style="font-style: italic;">src</span>.<br> |
|
|
|
tarfileset is populated with tar entries found in the file <var>src</var>. |
|
|
|
</li> |
|
|
|
<li>When the <span style="font-style: italic;">dir</span> attribute |
|
|
|
is used, the tarfileset is populated with filesystem files found under <span |
|
|
|
style="font-style: italic;">dir</span>.<br> |
|
|
|
<li>When the <var>dir</var> attribute |
|
|
|
is used, the tarfileset is populated with filesystem files found under <var>dir</var>. |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
<p><code><tarfileset></code> supports all attributes of <code><<a |
|
|
@@ -47,11 +44,8 @@ is used, the tarfileset is populated with filesystem files found under <span |
|
|
|
don't contain entries with leading slashes so you shouldn't use |
|
|
|
include/exclude patterns that start with slashes either. |
|
|
|
</p> |
|
|
|
<p>A tarfileset can be defined with the <span style="font-style: |
|
|
|
italic;">id </span>attribute and referred to with the <span |
|
|
|
style="font-style: italic;">refid</span> attribute. This is also true |
|
|
|
for tarfileset which has been added in Ant 1.7.<br> |
|
|
|
</p> |
|
|
|
<p><em>Since Ant 1.7</em>, a tarfileset can be defined with the <var>id</var> attribute and referred to with |
|
|
|
the <var>refid</var> attribute.</p> |
|
|
|
<h3>Parameters</h3> |
|
|
|
<table> |
|
|
|
<tbody> |
|
|
|