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

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

References #162: Upgrade to MeV 4.

This seems to work now. I'll keep this ticket open until release since the text on the wiki page also needs to be updated.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 1.5 KB
RevLine 
[976]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--------------------------------------------------------
19Note!
20
21JAR files that have already been signed by another
22authority should not be re-signed. This needs to be specified
23as an exclustion in build.xml. Locate the <fileset> tag
24inside the <target name="signjars"> target and add the
25exceptions to the "excludes" attribute.
26
27----------------------------------------------------------
28Note!
29
30The mev-base.key is the self-signed certificate that we have
31used to sign the JAR files. It has the following properties:
32
33Alias: mev-base
34Password: mev-base
35Name: BASE Development team
36Organizational unit: BASE Development team
37Organization: Lund University
38City: Lund
39State: Sweden
40Country code: SE
41
42To re-generate the keystore execute the following command:
43
44keytool -genkey -alias mev-base -keypass mev-base -keystore mev-base.key
45---------------------------------------------------------------
46
Note: See TracBrowser for help on using the repository browser.