source: branches/1.2.1/qcg-icon @ 177

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 *
Line 
1#!/bin/sh
2
3# change dir to the location of this script
4cd $(readlink -f $(dirname $0))
5
6# build if no dist jar is available
7if [ ! -s "dist/QCG-Icon.jar" ]
8then
9  # exit if build failed
10  ant jar || exit $?
11fi
12
13# prepare dependancy list. Notice: LIBS are terminated with a colon
14LIBS=$(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
20JVM_ARGS="-Djava.util.logging.config.file=logging.properties -Dorg.qcg.core.sdk.timeout.read=60000 -Xrs"
21
22# launch QCG-Icon
23java ${JVM_ARGS} -cp "${LIBS}dist/QCG-Icon.jar" org.qcg.icon.Main "$@"
Note: See TracBrowser for help on using the repository browser.