From 3cd1384760cb755e3e6285aa308f158b71248d98 Mon Sep 17 00:00:00 2001 From: Nico Seessle Date: Thu, 25 Jan 2001 10:25:01 +0000 Subject: [PATCH] Corrected example for usetimestamp-attribute of get-task (by me) and Corrected examples for chmod-task Submitted by: git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268521 13f79535-47bb-0310-9956-ffa450edef68 --- docs/index.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/index.html b/docs/index.html index 426e4c3cb..3020333de 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1705,8 +1705,7 @@ directly. More FileSets can be specified using nested

Examples

-

<chmod file="${dist}/start.sh" perm="ugo+rx" - />

+

<chmod file="${dist}/start.sh" perm="ugo+rx"/>

makes the "start.sh" file readable and executable for anyone on a UNIX system.

@@ -1719,8 +1718,8 @@ UNIX system.

readable and executable for anyone on a UNIX system.

-<chmod perm="g+w"/>
-  <fileset dir="shared/sources1" >
+<chmod perm="g+w">
+  <fileset dir="shared/sources1">
     <exclude name="**/trial/**"/>
   </fileset>
   <fileset refid="other.shared.sources"/>
@@ -2860,7 +2859,7 @@ NB: This timestamp facility only works on downloads using the HTTP protocol.
 
  <get src="http://jakarta.apache.org/builds/tomcat/nightly/ant.zip" 
 	dest="optional.jar" 
 	verbose="true"
-	usetimestamps="true"/>
+ usetimestamp="true"/>

Gets the nightly ant build from the tomcat distribution, if the local copy is missing or out of date. Uses the verbose option