File: JTSXMLTester.sh

package info (click to toggle)
geos 3.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 28,996 kB
  • sloc: cpp: 157,310; xml: 53,816; ansic: 6,956; sh: 302; makefile: 30
file content (35 lines) | stat: -rwxr-xr-x 1,047 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash

######################################################################
#
# GEOS - Geometry Engine Open Source
# http://geos.osgeo.org
#
# Copyright (C) 2010-2017 Sandro Santilli <strk@kbt.io>
# Copyright (C) 2010-2012 Martin Davis <mtnclimb@gmail.com>
#
# This is free software; you can redistribute and/or modify it under
# the terms of the GNU Lesser General Public Licence as published
# by the Free Software Foundation.
# See the COPYING file for more information.
#
######################################################################

if test "x$JTS_LIB_DIR" = "x"; then
  JTS_LIB_DIR="$HOME/.m2/repository/org/locationtech/jts"
fi

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

#---------------------------#
# run the program           #
#---------------------------#
java -cp ".:${THE_CLASSPATH}" \
org.locationtech.jtstest.testrunner.JTSTestRunnerCmd $@