[geos-commits] [SCM] geos branch master updated. b7ec17b493016dc0cf628682445e1041a2d9e096
git at osgeo.org
git at osgeo.org
Fri Jul 14 03:38:51 PDT 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "geos".
The branch, master has been updated
via b7ec17b493016dc0cf628682445e1041a2d9e096 (commit)
from 97843ef1bac3323503ee2001de6d276e2039d207 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b7ec17b493016dc0cf628682445e1041a2d9e096
Author: Sandro Santilli <strk at kbt.io>
Date: Fri Jul 14 12:38:05 2017 +0200
Add JTSXMLTester.sh script
Useful to compare results between GEOS and JTS.
Works with newer JTS versions (Maven-based install, locationtech namespace)
diff --git a/tests/xmltester/JTSXMLTester.sh b/tests/xmltester/JTSXMLTester.sh
new file mode 100755
index 0000000..b2e8fa4
--- /dev/null
+++ b/tests/xmltester/JTSXMLTester.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+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.TopologyTestApp -files $@
-----------------------------------------------------------------------
Summary of changes:
tests/xmltester/JTSXMLTester.sh | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100755 tests/xmltester/JTSXMLTester.sh
hooks/post-receive
--
geos
More information about the geos-commits
mailing list