File: testrunner.sh

package info (click to toggle)
jts 1.14%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,008 kB
  • ctags: 6,830
  • sloc: xml: 61,289; java: 37,589; sh: 62; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 469 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

if test "x$JTS_LIB_DIR" = "x"; then
	JTS_LIB_DIR=`dirname $0`/../lib/
fi

#---------------------------------#
# dynamically build the classpath #
#---------------------------------#
THE_CLASSPATH=
for i in `ls ${JTS_LIB_DIR}/*.jar`
do
  THE_CLASSPATH=${THE_CLASSPATH}:${i}
done

#---------------------------#
# run the program           #
#---------------------------#
java -cp ".:${THE_CLASSPATH}" \
com.vividsolutions.jtstest.testrunner.TopologyTestApp $@