You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2005/03/09 12:30:12 UTC
cvs commit: ant/docs/manual/CoreTasks basename.html chmod.html
peterreilly 2005/03/09 03:30:12
Modified: docs/manual/CoreTasks basename.html chmod.html
Log:
minor fixes to examples
Revision Changes Path
1.7 +1 -1 ant/docs/manual/CoreTasks/basename.html
Index: basename.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTasks/basename.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- basename.html 8 Mar 2005 18:17:40 -0000 1.6
+++ basename.html 9 Mar 2005 11:30:12 -0000 1.7
@@ -58,7 +58,7 @@
or a simple filename (eg., <code>myjar.jar</code>).
<blockquote><pre>
<basename property="cmdname" file="D:/usr/local/foo.exe"
- suffix=".exe"/>
+ suffix=".exe"/>
</pre></blockquote>
will set <code>cmdname</code> to <code>foo</code>.
<blockquote><pre>
1.20 +7 -7 ant/docs/manual/CoreTasks/chmod.html
Index: chmod.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTasks/chmod.html,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- chmod.html 8 Mar 2005 18:17:40 -0000 1.19
+++ chmod.html 9 Mar 2005 11:30:12 -0000 1.20
@@ -99,14 +99,14 @@
</tr>
</table>
<h3>Examples</h3>
-<blockquote>
- <p><code><chmod file="${dist}/start.sh" perm="ugo+rx"/></code></p>
-</blockquote>
+ <blockquote><pre>
+<chmod file="${dist}/start.sh" perm="ugo+rx"/>
+</pre></blockquote>
<p>makes the "start.sh" file readable and executable for anyone on a
UNIX system.</p>
-<blockquote>
- <p><code><chmod file="${dist}/start.sh" perm="700"/></code></p>
-</blockquote>
+<blockquote><pre>
+<chmod file="${dist}/start.sh" perm="700"/>
+</pre></blockquote>
<p>makes the "start.sh" file readable, writable and executable only for the owner on a
UNIX system.</p>
<blockquote>
@@ -145,7 +145,7 @@
</dirset>
</chmod>
</pre>
-</blockquote>blockquote>
+</blockquote>
<p>keeps non-owners from touching cgi scripts, files with a <code>.old</code>
extension or directories beginning with <code>private_</code>. A directory
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org