Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 31822 invoked from network); 7 Aug 2004 08:21:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Aug 2004 08:21:48 -0000 Received: (qmail 18252 invoked by uid 500); 7 Aug 2004 08:21:46 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 18157 invoked by uid 500); 7 Aug 2004 08:21:45 -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 18142 invoked by uid 99); 7 Aug 2004 08:21:45 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.27.1) with SMTP; Sat, 07 Aug 2004 01:21:42 -0700 Received: (qmail 1076 invoked by uid 50); 7 Aug 2004 08:23:15 -0000 Date: 7 Aug 2004 08:23:15 -0000 Message-ID: <20040807082315.1075.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 30517] - [signjar] : uptodate enhancements X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30517 [signjar] : uptodate enhancements ------- Additional Comments From bluemoon@xs4all.nl 2004-08-07 08:23 ------- I was mistaken at point 2 ! If jarsigner is ordered to -internalsf it will create a sigfile depending on the 'alias'. from the docs : If no -sigfile option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. I had a alias name of 9 characters !! So the check in isSigned didn't work. Please change code in 'ifSigned(File file)' to : String entryName = SIG_START + alias.substring(0, 8).toUpperCase() + SIG_END; return jarFile.getEntry(entryName) != null; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org