From a87eaeff37296a08e63423bdbf8782df06d944ed Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Wed, 12 Dec 2001 06:59:31 +0000 Subject: [PATCH] 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 --- docs/manual/CoreTasks/signjar.html | 35 +++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/docs/manual/CoreTasks/signjar.html b/docs/manual/CoreTasks/signjar.html index b8b934cec..3895b8bce 100644 --- a/docs/manual/CoreTasks/signjar.html +++ b/docs/manual/CoreTasks/signjar.html @@ -2,14 +2,20 @@ -Apache Ant User Manual +SignJar

SignJar

Description

-

Signs a jar or zip file with the javasign command line tool.

+

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. +
+Note: Requires Java 1.2 or later.

Parameters

@@ -61,20 +67,39 @@ - + - + - + + + + + +
verbose (true | false) verbose output when signingNoNo; default false
internalsf (true | false) include the .SF file inside the signature blockNoNo; default false
sectionsonly (true | false) don't compute hash of entire manifestNoNo; default false
lazyflag to control whether the presence of a signature + file means a JAR is signedNo; default false
+

Parameters as nested elements

+ + + + + + + + + + + +
AttributeDescriptionRequired
filesetfileset of JAR files to signNo

Examples

<signjar jar="${dist}/lib/ant.jar"