Signed applets and commandline import problems

Hi!

I'm working on an applet that uses SVNKit. Because of SVNKit (subversion system, written in java) my applet needs to be signed. My signing script works fine until I want to use the svnkit.jar. I don't get any error messages using the svnkit.jar file either, but the applet won't load. How do import this library properly in my signing process?

My bash-script that does the signing:

#!/bin.sh

javac -classpath .:SVNKitLibs/svnkit.jar SVNApplet.java

jar cvf SVNApplet.jar SVNApplet.class

rm stormstore

keytool -genkey -alias signFiles -keystore stormstore -keypass apasswd -dname "cn=storm" -storepass apasswd

jarsigner -keystore stormstore -storepass apasswd -keypass apasswd -signedjar SignedSVNApplet.jar SVNApplet.jar signFiles

keytool -export -keystore stormstore -storepass apasswd -alias signFiles -file storm.cer

[887 byte] By [sprocketa] at [2007-11-26 16:05:41]
# 1
hi I think you need to include ur svnkit.jar try this jar cvf SVNApplet.jar SVNApplet.class svnkit.jarthanksSurendra
Surendra_Varmaa at 2007-7-8 22:27:43 > top of Java-index,Desktop,Core GUI APIs...
# 2
Thanks for your help, Surendra. For some reason I could not make it work in any other way than actually extracting all contents of svnkit.jar and then moving the org-folder to project root folder. The command is now: jar cvf SVNApplet.jar SVNApplet.class org
sprocketa at 2007-7-8 22:27:43 > top of Java-index,Desktop,Core GUI APIs...
# 3
Thanks man This solved my problem too, i had to extract the class fileds into a folder and then jar them again. I dint know this apprently it was not taking any files in the jar.
Surendra_Varmaa at 2007-7-8 22:27:43 > top of Java-index,Desktop,Core GUI APIs...