Article View: comp.sys.mac.programmer.codewarrior
Article #113Re: Unable to sign applet linked with codewarrior
From: Eric Albert
Date: Sat, 19 Jan 2002 12:20
Date: Sat, 19 Jan 2002 12:20
25 lines
2045 bytes
2045 bytes
In article <3C484FE8.9067429D@sonoluca.de>, Markus Loeffler <loeffler@sonoluca.de> wrote: > I am not able to sign java applets correctly which have been linked with > codewarrior. If a use JAVAKEY to sign my ".jar" archiv it finishes with > no errors and I get a signed archiv but it does not recognise the public > key file. > The problem seems to be the Metrowerks linker (options "manifest" and > "compress" are checked), because if I tell the compiler to generate > ".class" files and compress and manifest them with the JAR tool before > using JAVAKEY everything works fine. > I am using IDE 5.3 (Mac OS9) MRJ 2.2 ... Don't use CodeWarrior to build your .jar file; use Apple's jar tool instead, or use Sun's jar tool on Windows or Unix. CodeWarrior has a history of building jar files in a format that's incompatible with signed jars. The issue might've been fixed in recent versions of CodeWarrior, but I'm pretty sure it still existed in Pro 5.3. Hope this helps, Eric -- Eric Albert ejalbert@stanford.edu http://www.stanford.edu/~ejalbert/
Technical Details
Message-ID:
<ejalbert-E97E90.04200119012002@usenet.stanford.edu>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!ejalbertReferences:
<3C484FE8.9067429D@sonoluca.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111f0d,2b1b38615b7ce8f6 X-Google-Attributes: gid111f0d,public X-Google-Thread: f635e,2b1b38615b7ce8f6 X-Google-Attributes: gidf635e,public X-Google-Thread: 10a146,2b1b38615b7ce8f6 X-Google-Attributes: gid10a146,public X-Google-Thread: 113ae9,2b1b38615b7ce8f6 X-Google-Attributes: gid113ae9,public X-Google-ArrivalTime: 2002-01-19 04:30:10 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!ejalbert From: Eric Albert <ejalbert@stanford.edu> Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.java,comp.lang.java.programmer,comp.lang.java.help Subject: Re: Unable to sign applet linked with codewarrior Date: Sat, 19 Jan 2002 04:20:01 -0800 Lines: 25 Message-ID: <ejalbert-E97E90.04200119012002@usenet.stanford.edu> References: <3C484FE8.9067429D@sonoluca.de> NNTP-Posting-Host: 207.115.89.71 User-Agent: MT-NewsWatcher/3.1 (PPC)