Browse Source

minor fixes for examples

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277853 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 20 years ago
parent
commit
34c0f9970a
3 changed files with 13 additions and 11 deletions
  1. +8
    -6
      docs/manual/CoreTasks/libraries.html
  2. +2
    -2
      docs/manual/CoreTasks/signjar.html
  3. +3
    -3
      docs/manual/CoreTasks/zip.html

+ 8
- 6
docs/manual/CoreTasks/libraries.html View File

@@ -381,12 +381,12 @@ expected.</P>
&lt;/libraries&gt;
</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> &lt;libraries destDir="build/lib" offline="${offline}" flatten="true"&gt;
</p>
<pre> &lt;libraries destDir="build/lib" offline="${offline}" flatten="true"&gt;
&lt;mavenrepository url="${private.server}"/&gt;
&lt;library project="doomed" archive="dead-code"
suffix=".war"
@@ -395,11 +395,13 @@ over hard coding versions in a build file.
&lt;scheduledupdate markerfile="build/lib/marker.properties"
hours="11" /&gt;
&lt;/libraries&gt;
</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 &copy; 2005 The Apache Software Foundation. All rights
Reserved.</p>


+ 2
- 2
docs/manual/CoreTasks/signjar.html View File

@@ -116,8 +116,8 @@ block</td>
</table>
<h3>Examples</h3>
<blockquote>
<p><code>&lt;signjar jar=&quot;${dist}/lib/ant.jar&quot;
alias=&quot;apache-group&quot; storepass=&quot;secret&quot;/&gt;</code></p>
<p><pre>&lt;signjar jar=&quot;${dist}/lib/ant.jar&quot;
alias=&quot;apache-group&quot; storepass=&quot;secret&quot;/&gt;</pre</p>
</blockquote>
<p>signs the ant.jar with alias &quot;apache-group&quot; accessing the
keystore and private key via &quot;secret&quot; password.</p>


+ 3
- 3
docs/manual/CoreTasks/zip.html View File

@@ -259,17 +259,17 @@ it had been located at <code>htdocs/manual/ChangeLog.txt</code>.</p>
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>
&lt;zip destfile=&quot;${dist}/manual.zip&quot;&gt;
&lt;zipfileset dir=&quot;htdocs/manual&quot; prefix=&quot;docs/user-guide&quot;/&gt;
&lt;zipgroupfileset dir=&quot;.&quot; includes=&quot;examples*.zip&quot;/&gt;
&lt;/zip&gt;</pre>
&lt;/zip&gt;
</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>.


Loading…
Cancel
Save