You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jh...@apache.org on 2007/03/22 09:12:37 UTC

svn commit: r521146 - /ant/core/trunk/docs/manual/CoreTypes/resources.html

Author: jhm
Date: Thu Mar 22 01:12:35 2007
New Revision: 521146

URL: http://svn.apache.org/viewvc?view=rev&rev=521146
Log:
Forgotten to document the namespace.

Modified:
    ant/core/trunk/docs/manual/CoreTypes/resources.html

Modified: ant/core/trunk/docs/manual/CoreTypes/resources.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTypes/resources.html?view=diff&rev=521146&r1=521145&r2=521146
==============================================================================
--- ant/core/trunk/docs/manual/CoreTypes/resources.html (original)
+++ ant/core/trunk/docs/manual/CoreTypes/resources.html Thu Mar 22 01:12:35 2007
@@ -760,11 +760,12 @@
   <pre>
     &lt;sort&gt;
       &lt;fileset dir=&quot;foo&quot; /&gt;
-      &lt;reverse&gt;
+      &lt;reverse xmlns=&quot;antlib:org.apache.tools.ant.types.resources.comparators&quot;&gt;
         &lt;date /&gt;
       &lt;/reverse&gt;
     &lt;/sort&gt;</pre>
-  <p>This takes all files from <i>foo</i> and sorts it by modification date in reverse order.</p>  
+  <p>This takes all files from <i>foo</i> and sorts it by modification date in reverse order.
+  Because 'reverse' is in an internal antlib you have to set the namespace explicitly.</p>  
 
 </blockquote>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org