Author: bodewig
Date: Sat Jul 23 14:54:57 2011
New Revision: 1150117
URL: http://svn.apache.org/viewvc?rev=1150117&view=rev
Log:
Did I ever proof.read the manual? Example seems to be in the wrong place as
well
Modified:
ant/antlibs/compress/trunk/docs/expand.html
Modified: ant/antlibs/compress/trunk/docs/expand.html
URL:
http://svn.apache.org/viewvc/ant/antlibs/compress/trunk/docs/expand.html?rev=1150117&r1=1150116&r2=1150117&view=diff
==============================================================================
--- ant/antlibs/compress/trunk/docs/expand.html (original)
+++ ant/antlibs/compress/trunk/docs/expand.html Sat Jul 23 14:54:57 2011
@@ -210,6 +210,30 @@ generated ZIP archive.</p>
</cmp:unzip>
</pre>
+<pre>
+<cmp:unzip src="${ant.home}/lib/ant.jar"
+ dest="..." xmlns:cmp="antlib:org.apache.ant.compress">
+ <patternset>
+ <include name="images/"/>
+ </patternset>
+</cmp:unzip>
+</pre>
+<p>This extracts all images from <tt>ant.jar</tt> which are stored in the
<tt>images</tt> directory
+of the Jar (or somewhere under it). While extracting the directory structure
(<tt>images</tt>)
+will be taken.</p>
+
+<pre>
+<cmp:unzip src="${ant.home}/lib/ant.jar"
+ dest="..." xmlns:cmp="antlib:org.apache.ant.compress">
+ <patternset>
+ <include name="**/ant_logo_large.gif"/>
+ <include name="**/LICENSE.txt"/>
+ </patternset>
+</cmp:unzip>
+</pre>
+<p>This extracts the two files <tt>ant_logo_large.gif</tt> and
<tt>LICENSE.txt</tt> from the
+<tt>ant.jar</tt>. More exactly: it extracts all files with these names from
anywhere in the source file. While extracting the directory structure will be
taken.</p>
+
<h3>Related tasks</h3>
<pre>
@@ -249,29 +273,5 @@ destinations or a configurable file syst
</pre>
<p>"Deletes" files from a zipfile.</p>
-<pre>
-<cmp:unzip src="${ant.home}/lib/ant.jar"
- dest="..." xmlns:cmp="antlib:org.apache.ant.compress">
- <patternset>
- <include name="images/"/>
- </patternset>
-</cmp:unzip>
-</pre>
-<p>This extracts all images from <tt>ant.jar</tt> which are stored in the
<tt>images</tt> directory
-of the Jar (or somewhere under it). While extracting the directory structure
(<tt>images</tt>)
-will be taken.</p>
-
-<pre>
-<cmp:unzip src="${ant.home}/lib/ant.jar"
- dest="..." xmlns:cmp="antlib:org.apache.ant.compress">
- <patternset>
- <include name="**/ant_logo_large.gif"/>
- <include name="**/LICENSE.txt"/>
- </patternset>
-</cmp:unzip>
-</pre>
-<p>This extracts the two files <tt>ant_logo_large.gif</tt> and
<tt>LICENSE.txt</tt> from the
-<tt>ant.jar</tt>. More exactly: it extracts all files with these names from
anywhere in the source file. While extracting the directory structure will be
taken.</p>
-
</body>
</html>