source: extensions/net.sf.basedb.mev/trunk/jarsign/readme.txt @ 1145

Last change on this file since 1145 was 1145, checked in by Nicklas Nordborg, 14 years ago

References #226: Update to MeV 4.4

MeV has been updated. Remains to implement support for -firstRow and -firstColumn command line parameters and test this.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 1.9 KB
Line 
1For MeV to work as a Java Webstart application, the JAR
2files in the ./resources/jar must be signed. The currently
3checked in JAR files have already been signed, so there is
4no need to do this again unless MeV itself needs to be
5updated. In that case, the new JAR files need to be signed.
6Since this is a somewhat complex task, we have tried to make
7easier.
8
9Follow this procedure:
10
111. Delete all the existing JAR files in the ./resources/jar
12   directory.
132. Copy all JAR files from the MeV distribution into the
14  ./resources/jar directory
153. Run 'ant signjars' (*)
164. Commit the changes to the subversion repository.
17
18--------------------------------------------------------
19* There is currently a problem with the 'magetab-parser.jar' file.
20It contains identical copies of several files and the signing tool
21doesn't allow this. To fix it simple extract the 'magetab-parser.jar'
22file to a temporary directory and then immediately repackage everything
23and replace the original 'magetab-parser.jar' file.
24--------------------------------------------------------
25
26Note!
27
28JAR files that have already been signed by another
29authority should not be re-signed. This needs to be specified
30as an exclustion in build.xml. Locate the <fileset> tag
31inside the <target name="signjars"> target and add the
32exceptions to the "excludes" attribute.
33----------------------------------------------------------
34
35Note!
36
37The mev-base.key is the self-signed certificate that we have
38used to sign the JAR files. It has the following properties:
39
40Alias: mev-base
41Password: mev-base
42Name: BASE Development team
43Organizational unit: BASE Development team
44Organization: Lund University
45City: Lund
46State: Sweden
47Country code: SE
48
49To re-generate the keystore execute the following command:
50
51keytool -genkey -validity 1000 -alias mev-base -keypass mev-base -keystore mev-base.key
52---------------------------------------------------------------
53
Note: See TracBrowser for help on using the repository browser.