Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 69741 invoked from network); 17 May 2004 10:12:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 May 2004 10:12:44 -0000 Received: (qmail 55944 invoked by uid 500); 17 May 2004 10:12:39 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 55846 invoked by uid 500); 17 May 2004 10:12:38 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 55831 invoked by uid 500); 17 May 2004 10:12:38 -0000 Received: (qmail 55823 invoked by uid 98); 17 May 2004 10:12:38 -0000 Received: from peterreilly@apache.org by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(209.237.227.194):. Processed in 0.095875 secs); 17 May 2004 10:12:38 -0000 X-Qmail-Scanner-Mail-From: peterreilly@apache.org via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(209.237.227.194):. Processed in 0.095875 secs) Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by hermes.apache.org with SMTP; 17 May 2004 10:12:38 -0000 Received: (qmail 69632 invoked by uid 1539); 17 May 2004 10:12:30 -0000 Date: 17 May 2004 10:12:30 -0000 Message-ID: <20040517101230.69631.qmail@minotaur.apache.org> From: peterreilly@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs SignJar.java X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N peterreilly 2004/05/17 03:12:30 Modified: src/main/org/apache/tools/ant/taskdefs SignJar.java Log: Misc. corrections in SignJar.java PR: 28999 Obtained from: Jesse Glick Revision Changes Path 1.37 +3 -6 ant/src/main/org/apache/tools/ant/taskdefs/SignJar.java Index: SignJar.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/SignJar.java,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- SignJar.java 22 Apr 2004 14:03:47 -0000 1.36 +++ SignJar.java 17 May 2004 10:12:29 -0000 1.37 @@ -31,14 +31,11 @@ import org.apache.tools.ant.util.FileUtils; /** - * Signs jar or zip files with the javasign command line tool. The + * 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.

- * * @since Ant 1.1 * @ant.task category="java" @@ -300,7 +297,7 @@ cmd.createArg().setValue(alias); - log("Signing Jar : " + jarSource.getAbsolutePath()); + log("Signing JAR: " + jarSource.getAbsolutePath()); cmd.setFailonerror(true); cmd.setTaskName(getTaskName()); cmd.execute(); @@ -338,7 +335,7 @@ * test for a file being signed, by looking for a signature in the META-INF * directory * @param file - * @return + * @return true if the file is signed */ protected boolean isSigned(File file) { final String SIG_START = "META-INF/"; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org