source: trunk/dev/bin/script/MAKE-APOLLO-SIGNED-JAR.sh@ 493

Last change on this file since 493 was 493, checked in by davidb, 11 years ago

Scripts developed to support the generate of the files needed to run Expeditee and Apollo as Applets

  • Property svn:executable set to *
File size: 757 bytes
Line 
1#!/bin/bash
2
3
4cd releases/apollo
5
6/bin/rm -f ApolloSignedApplet.jar
7
8
9
10
11if [ ! -e appletstore ] ; then
12 echo "****"
13 echo "* keytool check"
14 echo "****"
15 echo "* No 'appletstore' file detected"
16 echo "* Please provide the following information to create one: "
17 echo "*===="
18
19 keytool.exe -genkey -alias privateKey -keystore appletstore -storepass greenstone
20
21 keytool -selfcert -keystore appletstore -alias privateKey
22
23 echo "*===="
24fi
25
26
27#echo "greenstone" \
28# | jarsigner -keystore .greenstonestore \
29# -signedjar ApolloSignedApplet.jar \
30# Apollo.jar privateKey 2> /dev/null
31
32echo greenstone| \
33 jarsigner -keystore appletstore \
34 -signedjar ApolloSignedApplet.jar \
35 ApolloApplet.jar privateKey 2> /dev/null
36
37cd ../..
38
Note: See TracBrowser for help on using the repository browser.