peterreilly 2005/03/09 09:15:19 Modified: docs/manual/CoreTasks libraries.html signjar.html zip.html Log: minor fixes for examples Revision Changes Path 1.6 +8 -6 ant/docs/manual/CoreTasks/libraries.html Index: libraries.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/libraries.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- libraries.html 7 Mar 2005 18:09:09 -0000 1.5 +++ libraries.html 9 Mar 2005 17:15:19 -0000 1.6 @@ -381,12 +381,12 @@ </libraries> </pre> -<P>Load in versions from a file, then download the relevant archives. No +<p>Load in versions from a file, then download the relevant archives. No update schedule is defined, but a path is created for insertion into a classpath. This property file driven dependency model is what we recommend over hard coding versions in a build file. -</P> - <PRE> <libraries destDir="build/lib" offline="${offline}" flatten="true"> +</p> + <pre> <libraries destDir="build/lib" offline="${offline}" flatten="true"> <mavenrepository url="${private.server}"/> <library project="doomed" archive="dead-code" suffix=".war" @@ -395,11 +395,13 @@ <scheduledupdate markerfile="build/lib/marker.properties" hours="11" /> </libraries> -</PRE> +</pre> -<P>Download doomed/dead-code.LATEST.war from a private repository, save it to +<p>Download doomed/dead-code.LATEST.war from a private repository, save it to build/lib/product.war with an update schedule of every eleven hours. -</P> +</p> + +<hr/> <p align="center">Copyright © 2005 The Apache Software Foundation. All rights Reserved.</p> 1.17 +2 -2 ant/docs/manual/CoreTasks/signjar.html Index: signjar.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/signjar.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- signjar.html 7 Mar 2005 18:09:09 -0000 1.16 +++ signjar.html 9 Mar 2005 17:15:19 -0000 1.17 @@ -116,8 +116,8 @@ </table> <h3>Examples</h3> <blockquote> - <p><code><signjar jar="${dist}/lib/ant.jar" -alias="apache-group" storepass="secret"/></code></p> + <p><pre><signjar jar="${dist}/lib/ant.jar" +alias="apache-group" storepass="secret"/></pre</p> </blockquote> <p>signs the ant.jar with alias "apache-group" accessing the keystore and private key via "secret" password.</p> 1.32 +3 -3 ant/docs/manual/CoreTasks/zip.html Index: zip.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/zip.html,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- zip.html 7 Mar 2005 18:09:10 -0000 1.31 +++ zip.html 9 Mar 2005 17:15:19 -0000 1.32 @@ -259,17 +259,17 @@ in the archive, adds the file <code>ChangeLog27.txt</code> in the current directory as <code>docs/ChangeLog.txt</code>, and includes all the html files in <code>examples.zip</code> under <code>docs/examples</code>. The archive might end up containing the files:</p> -<pre><code> docs/user-guide/html/index.html +<pre> docs/user-guide/html/index.html docs/ChangeLog.txt docs/examples/index.html -</code></pre> +</pre> <p> The code <pre> <zip destfile="${dist}/manual.zip"> <zipfileset dir="htdocs/manual" prefix="docs/user-guide"/> <zipgroupfileset dir="." includes="examples*.zip"/> - </zip></pre> + </zip> </pre> <p> <p>zips all files in the <code>htdocs/manual</code> directory into the <code>docs/user-guide</code> directory in the archive and includes all the files in any file that maches <code>examples*.zip</code>, such as all files within <code>examples1.zip</code> or <code>examples_for_brian.zip</code>.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]