improving the windows bat scripts
[angular-drzb] / scripts / test-server.bat
1 @echo off
2
3 REM Windows script for starting JSTD server
4 REM
5 REM Requirements:
6 REM - Java (http://www.java.com)
7
8 set BASE_DIR=%~dp0
9 set PORT=9876
10
11 echo "Starting JsTestDriver Server (http://code.google.com/p/js-test-driver/)"
12 echo "Please open the following url and capture one or more browsers:"
13 echo "http://localhost:%PORT%"
14
15 java -jar "%BASE_DIR%/../test/lib/jstestdriver/JsTestDriver.jar" ^
16      --PORT %PORT% ^
17      --browserTimeout 20000 ^
18      --config "%BASE_DIR%/../config/jsTestDriver.conf" ^
19      --basePath "%BASE_DIR%/.."