Jarsign » History » Version 2

Anonymous, 08/27/2008 01:04 PM

1 1 Anonymous
= Create Signed JAR Files =
2 1 Anonymous
3 1 Anonymous
== Create a JAR Archive ==
4 1 Anonymous
For a comprehensive tutorial on how to create JAR files, see [http://java.sun.com/docs/books/tutorial/deployment/jar/index.html].
5 2 Anonymous
Additionally, Eclipse can create JAR files for you by Exporting to JAR.
6 1 Anonymous
7 1 Anonymous
8 1 Anonymous
== Sign the JAR Archive ==
9 1 Anonymous
For a comprehensive tutorial on how to sign JAR files, see [http://java.sun.com/docs/books/tutorial/deployment/jar/signindex.html].
10 1 Anonymous
11 1 Anonymous
12 1 Anonymous
Follow these steps in order to sign ''ProCKSI-Viz.jar'':
13 1 Anonymous
 * Check out ''ProCKSI-Workbench/trunk'' if not already done
14 1 Anonymous
 * Change to the ''applets'' directory
15 1 Anonymous
 * Sign the JAR (at least java 1.6.0): ''jarsigner ProCKSI-Viz.jar ProCKSI''
16 1 Anonymous
 * You will be asked for a password: (see [wiki:secretAuthentication])
17 1 Anonymous
 * The JAR is signed now with the right ProCKSI-Viz credentials
18 1 Anonymous
 * The signed JAR will replace the unsigned one.
19 1 Anonymous
 * Check in the signed JAR