root/src/java/run-iep.sh.in

Revision 23262439331635c823e8d7299c95f91610dffa0e, 0.7 kB (checked in by Dan Di Spaltro <dan.dispaltro@gmail.com>, 5 years ago)

Upgraded to the latest Esper (3.1.0)

  • Property mode set to 100755
Line 
1 #!/bin/sh
2
3 JAVA=@JAVA@
4 JPARAMS="-Xms32m -Xmx512m"
5 JARS="reconnoiter.jar activemq-all-5.2.0.jar antlr-runtime-3.1.1.jar \
6         esper-3.1.0.jar log4j-1.2.15.jar \
7         spring-beans-2.5.5.jar spring-context-2.5.5.jar \
8         cglib-nodep-2.2.jar commons-pool-1.4.jar commons-dbcp-1.2.2.jar \
9         postgresql-8.3-604.jdbc3.jar rabbitmq-client.jar commons-io-1.2.jar \
10         commons-cli-1.1.jar"
11
12 DIRS=". lib @prefix@/java/lib @prefix@/java"
13 CP=
14
15 for jar in $JARS
16 do
17         found=
18         for dir in $DIRS
19         do
20                 if [ -r "$dir/$jar" ]; then
21                         found="$dir/$jar"
22                         CP="$CP:$found"
23                         break
24                 fi
25         done
26         if [ -z "$found" ]; then
27                 echo "Cannot find $jar" 2>&1
28                 exit
29         fi
30 done
31 exec $JAVA $JPARAMS -cp $CP com.omniti.reconnoiter.IEPEngine $*
Note: See TracBrowser for help on using the browser.