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

Revision a9077178423e39a94a9b624e44cd4b37899d6fd3, 477 bytes (checked in by Theo Schlossnagle <jesus@omniti.com>, 5 years ago)

refs #122, this stuff works well enough to pull dev back into trunk.
Closing the #122 branch.

flag-day(noitd,stratcond)

  • Property mode set to 100755
Line 
1 #!/bin/sh
2
3 JAVA=@JAVA@
4 JARS="reconnoiter.jar activemq-all-5.2.0.jar antlr-runtime-3.1.1.jar \
5         esper-3.0.0.jar log4j-1.2.15.jar \
6         spring-beans-2.5.5.jar spring-context-2.5.5.jar"
7
8 DIRS=". lib @prefix@/java"
9 CP=
10
11 for jar in $JARS
12 do
13         found=
14         for dir in $DIRS
15         do
16                 if [ -r "$dir/$jar" ]; then
17                         found="$dir/$jar"
18                         CP="$CP:$found"
19                         break
20                 fi
21         done
22         if [ -z "$found" ]; then
23                 echo "Cannot find $jar" 2>1
24                 exit
25         fi
26 done
27 exec $JAVA -cp $CP com.omniti.reconnoiter.IEPEngine
Note: See TracBrowser for help on using the browser.