File: test.bat

package info (click to toggle)
jts 1.20.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 55,896 kB
  • sloc: java: 130,507; xml: 52,452; sql: 108; ruby: 82; makefile: 29; sh: 15
file content (25 lines) | stat: -rw-r--r-- 587 bytes parent folder | download | duplicates (3)
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
@echo off
rem A batch file to run the XML test files written by Geographic Data BC.

set CLASSPATH=
for %%i in (..\lib\*.*) do (
 set jarfile=%%i

 rem If we append to a variable inside the for, only the last entry will
 rem be kept. So append to the variable outside the for.
 rem See http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20561701.html.
 rem [Jon Aquino]

 call :setclass
)  

java com.vividsolutions.jtstest.testrunner.JTSTestRunnerCmd -Files ..\testxml\validate ..\testxml\general
pause

goto :eof

:setclass
set CLASSPATH=%jarfile%;%CLASSPATH%
set jarfile=

:eof