Last change
on this file since 499 was 499, checked in by davidb, 11 years ago |
Changes made after testing on Ubuntu
|
-
Property svn:executable
set to
*
|
File size:
753 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 |
|
---|
4 | cd releases/apollo
|
---|
5 |
|
---|
6 | /bin/rm -f ApolloSignedApplet.jar
|
---|
7 |
|
---|
8 |
|
---|
9 |
|
---|
10 |
|
---|
11 | if [ ! -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 -genkey -alias privateKey -keystore appletstore -storepass greenstone
|
---|
20 |
|
---|
21 | keytool -selfcert -keystore appletstore -alias privateKey
|
---|
22 |
|
---|
23 | echo "*===="
|
---|
24 | fi
|
---|
25 |
|
---|
26 |
|
---|
27 | #echo "greenstone" \
|
---|
28 | # | jarsigner -keystore .greenstonestore \
|
---|
29 | # -signedjar ApolloSignedApplet.jar \
|
---|
30 | # Apollo.jar privateKey 2> /dev/null
|
---|
31 |
|
---|
32 | echo greenstone| \
|
---|
33 | jarsigner -keystore appletstore \
|
---|
34 | -signedjar ApolloSignedApplet.jar \
|
---|
35 | ApolloApplet.jar privateKey 2> /dev/null
|
---|
36 |
|
---|
37 | cd ../..
|
---|
38 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.