Revision 177,
874 bytes
checked in by mmamonski, 12 years ago
(diff) |
Resubmit from checkpoint only for finished jobs, improved installation scripts, increased default proxy lifetime, MouseEvent? logging, Fixed typo in documentation
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[125] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | # change dir to the location of this script |
---|
| 4 | cd $(readlink -f $(dirname $0)) |
---|
| 5 | |
---|
| 6 | # build if no dist jar is available |
---|
[139] | 7 | if [ ! -s "dist/QCG-Icon.jar" ] |
---|
[125] | 8 | then |
---|
| 9 | # exit if build failed |
---|
| 10 | ant jar || exit $? |
---|
| 11 | fi |
---|
| 12 | |
---|
| 13 | # prepare dependancy list. Notice: LIBS are terminated with a colon |
---|
| 14 | LIBS=$(ls -1 dist/lib/*.jar | tac | tr '\n' ':') |
---|
| 15 | # why tac: because normal order of the files in listing results in error below: |
---|
| 16 | # java.lang.SecurityException: class "org.bouncycastle.asn1.DERInputStream"'s signer information does not match signer information of other classes in the same package |
---|
| 17 | # once the packages are loaded upside-down, all's fine :\ |
---|
| 18 | |
---|
| 19 | # prepare java virtual machine arguments |
---|
| 20 | JVM_ARGS="-Djava.util.logging.config.file=logging.properties -Dorg.qcg.core.sdk.timeout.read=60000 -Xrs" |
---|
| 21 | |
---|
| 22 | # launch QCG-Icon |
---|
[139] | 23 | java ${JVM_ARGS} -cp "${LIBS}dist/QCG-Icon.jar" org.qcg.icon.Main "$@" |
---|
Note: See
TracBrowser
for help on using the repository browser.