diff --git a/docs/manual/CoreTasks/signjar.html b/docs/manual/CoreTasks/signjar.html
index dfb33feea..873dd7868 100644
--- a/docs/manual/CoreTasks/signjar.html
+++ b/docs/manual/CoreTasks/signjar.html
@@ -10,11 +10,28 @@
Description
-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 signjar 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.
+
Signs JAR files with the jarsigner command line tool.
+It will take a named file in the jar attribute, and an optional
+destDir or signedJar attribute. Nested filesets are also
+supported; here only an (optional) destDir is allowed. If a destination
+directory or explicit JAR file name is not provided, JARs are signed in place.
+
+
+Dependency rules
+
+
+- Nonexist destination JARs are created/signed
+- Out of date destination JARs are created/signed
+- If a destination file and a source file are the same,
+and lazy is true, the JAR is only signed if it does not
+contain any signature.
+- If a destination file and a source file are the same,
+and lazy is false, the JAR is signed.
+
+
+
+When checking signatures, the actual signatory itself is not verified. This
+means that "lazy" checks do not work if a JAR is signed by multiple authors.
Parameters
@@ -62,8 +79,9 @@ its modification date is used as a cue as to whether to resign any JAR file.
signedjar |
- name of signed JAR file |
- No |
+ name of signed JAR file. This can only be set when
+ the jar attribute is set. |
+ No. |
verbose |
@@ -84,7 +102,8 @@ block
lazy |
flag to control whether the presence of a signature
- file means a JAR is signed |
+ file means a JAR is signed. This is only used when the target JAR matches
+ the source JAR
No; default false |
@@ -95,8 +114,8 @@ block
preservelastmodified |
- Give the signed file the same last modified
- time as the original jar file. |
+ Give the signed files the same last modified
+ time as the original jar files. |
No; default false. |
@@ -109,11 +128,17 @@ block
fileset |
- fileset of JAR files to sign. Will be ignored if
- the jar attribute of the task has been set. |
+ fileset of JAR files to sign. |
No |
-
+
+
Examples
<signjar jar="${dist}/lib/ant.jar"