ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1150117 - /ant/antlibs/compress/trunk/docs/expand.html
Date Sat, 23 Jul 2011 14:54:58 GMT
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>
 &lt;/cmp:unzip&gt;
 </pre>
 
+<pre>
+&lt;cmp:unzip src=&quot;${ant.home}/lib/ant.jar&quot;
+    dest=&quot;...&quot; xmlns:cmp="antlib:org.apache.ant.compress"&gt;
+  &lt;patternset&gt;
+    &lt;include name=&quot;images/&quot;/&gt;
+  &lt;/patternset&gt;
+&lt;/cmp:unzip&gt;
+</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>
+&lt;cmp:unzip src=&quot;${ant.home}/lib/ant.jar&quot;
+    dest=&quot;...&quot; xmlns:cmp="antlib:org.apache.ant.compress"&gt;
+  &lt;patternset&gt;
+    &lt;include name=&quot;**/ant_logo_large.gif&quot;/&gt;
+    &lt;include name=&quot;**/LICENSE.txt&quot;/&gt;
+  &lt;/patternset&gt;
+&lt;/cmp:unzip&gt;
+</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>&quot;Deletes&quot; files from a zipfile.</p>
 
-<pre>
-&lt;cmp:unzip src=&quot;${ant.home}/lib/ant.jar&quot;
-    dest=&quot;...&quot; xmlns:cmp="antlib:org.apache.ant.compress"&gt;
-  &lt;patternset&gt;
-    &lt;include name=&quot;images/&quot;/&gt;
-  &lt;/patternset&gt;
-&lt;/cmp:unzip&gt;
-</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>
-&lt;cmp:unzip src=&quot;${ant.home}/lib/ant.jar&quot;
-    dest=&quot;...&quot; xmlns:cmp="antlib:org.apache.ant.compress"&gt;
-  &lt;patternset&gt;
-    &lt;include name=&quot;**/ant_logo_large.gif&quot;/&gt;
-    &lt;include name=&quot;**/LICENSE.txt&quot;/&gt;
-  &lt;/patternset&gt;
-&lt;/cmp:unzip&gt;
-</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>



Mime
View raw message