Browse Source

Things you never knew about this task.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270125 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 23 years ago
parent
commit
a87eaeff37
1 changed files with 30 additions and 5 deletions
  1. +30
    -5
      docs/manual/CoreTasks/signjar.html

+ 30
- 5
docs/manual/CoreTasks/signjar.html View File

@@ -2,14 +2,20 @@

<head>
<meta http-equiv="Content-Language" content="en-us">
<title>Apache Ant User Manual</title>
<title>SignJar</title>
</head>

<body>

<h2><a name="signjar">SignJar</a></h2>
<h3>Description</h3>
<p>Signs a jar or zip file with the javasign command line tool.</p>
<p>Signs jar or zip files with the javasign command line tool. The
tool detailed dependency checking: files are only signed if they
are not signed. The <tt>signjar</tt> attribute can point to the file to
generate; if this file exists then
its modification date is used as a cue as to whether to resign any JAR file.
<br>
<strong>Note:</strong> Requires Java 1.2 or later. </p>

<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
@@ -61,20 +67,39 @@
<tr>
<td valign="top">verbose</td>
<td valign="top">(true | false) verbose output when signing</td>
<td valign="top" align="center">No</td>
<td valign="top" align="center">No; default false</td>
</tr>
<tr>
<td valign="top">internalsf</td>
<td valign="top">(true | false) include the .SF file inside the signature
block</td>
<td valign="top" align="center">No</td>
<td valign="top" align="center">No; default false</td>
</tr>
<tr>
<td valign="top">sectionsonly</td>
<td valign="top">(true | false) don't compute hash of entire manifest</td>
<td valign="top" align="center">No</td>
<td valign="top" align="center">No; default false</td>
</tr>
<tr>
<td valign="top">lazy</td>
<td valign="top">flag to control whether the presence of a signature
file means a JAR is signed</td>
<td valign="top" align="center">No; default false</td>
</tr>
</table>
<h3>Parameters as nested elements</h3>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<td valign="top"><b>Attribute</b></td>
<td valign="top"><b>Description</b></td>
<td align="center" valign="top"><b>Required</b></td>
</tr>
<tr>
<td valign="top">fileset</td>
<td valign="top">fileset of JAR files to sign</td>
<td valign="top" align="center">No</td>
</tr>
</table>
<h3>Examples</h3>
<blockquote>
<p><code>&lt;signjar jar=&quot;${dist}/lib/ant.jar&quot;


Loading…
Cancel
Save