DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30517>. 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
