1 | For MeV to work as a Java Webstart application, the JAR |
---|
2 | files in the ./resources/jar must be signed. The currently |
---|
3 | checked in JAR files have already been signed, so there is |
---|
4 | no need to do this again unless MeV itself needs to be |
---|
5 | updated. In that case, the new JAR files need to be signed. |
---|
6 | Since this is a somewhat complex task, we have tried to make |
---|
7 | easier. |
---|
8 | |
---|
9 | Follow this procedure: |
---|
10 | |
---|
11 | 1. Delete all the existing JAR files in the ./resources/jar |
---|
12 | directory. |
---|
13 | 2. Copy all JAR files from the MeV distribution into the |
---|
14 | ./resources/jar directory |
---|
15 | 3. Run 'ant fixjars' (*) |
---|
16 | 4. Run 'ant signjars' |
---|
17 | 5. Commit the changes to the subversion repository. |
---|
18 | |
---|
19 | -------------------------------------------------------- |
---|
20 | * There is currently a problem with the 'magetab-parser.jar' |
---|
21 | and 'goose.jar' files. |
---|
22 | |
---|
23 | The 'magetab-parser.jar' file contains identical copies of |
---|
24 | several files and the signing tool doesn't allow this. The |
---|
25 | 'fixjars' target will re-package the JAR file and remove |
---|
26 | the extra copies. |
---|
27 | |
---|
28 | The 'goose.jar' file has already been signed by another |
---|
29 | authority. To reduce the number of warnings a user has to |
---|
30 | get through we remove the existing signature and replace |
---|
31 | it with our own. |
---|
32 | -------------------------------------------------------- |
---|
33 | |
---|
34 | |
---|
35 | Note! |
---|
36 | |
---|
37 | The mev-base.key is the self-signed certificate that we have |
---|
38 | used to sign the JAR files. It has the following properties: |
---|
39 | |
---|
40 | Alias: mev-base |
---|
41 | Password: mev-base |
---|
42 | Name: BASE Development team |
---|
43 | Organizational unit: BASE Development team |
---|
44 | Organization: Lund University |
---|
45 | City: Lund |
---|
46 | State: Sweden |
---|
47 | Country code: SE |
---|
48 | |
---|
49 | To re-generate the keystore execute the following command: |
---|
50 | |
---|
51 | keytool -genkey -validity 1000 -alias mev-base -keypass mev-base -keystore mev-base.key |
---|
52 | --------------------------------------------------------------- |
---|
53 | |
---|