🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.mac.programmer.codewarrior
2 messages
2 total messages Started by Markus Loeffler Fri, 18 Jan 2002 16:40
Unable to sign applet linked with codewarrior
#112
Author: Markus Loeffler
Date: Fri, 18 Jan 2002 16:40
14 lines
1942 bytes
Hello all,

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 ...

Thanks,
Markus
Re: Unable to sign applet linked with codewarrior
#113
Author: Eric Albert
Date: Sat, 19 Jan 2002 12:20
25 lines
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/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads