Warning: Can't use blame annotator:
svn blame failed on trunk/bin/systemstart_systest.sh: ("Can't find a temporary directory: Internal error", 20014)

source: tmcsimulator/trunk/bin/systemstart_systest.sh @ 679

Revision 679, 876 bytes checked in by jdalbey, 4 years ago (diff)

Update scripts and bat files to use config/devlinux files.

  • Property svn:executable set to *
RevLine 
1#!/bin/bash
2
3# Kill any process leftover from previous run
4kill $(ps  aux | grep "[p]ython -m CGIHTTPServer 8080" | awk '{print $2}')
5kill $(ps  aux | grep "[p]ython deploy/unifiedlogger.zip" | awk '{print $2}')
6
7# Get path to this script
8# $0 contains path to the script file, even if launched from file manager
9SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
10# CD to the script folder
11cd "$SCRIPT_PATH"
12
13# Start the Simulator System with the system test script
14cd ../webapps
15python -m CGIHTTPServer 8080 &
16sleep 1
17cd ..
18java -DCONFIG_DIR=config/devlinux -DPROP_FILE=cad_server_systest.properties -jar deploy/CADserver.jar &
19sleep 7
20python deploy/unifiedlogger.zip &
21
22sleep 2
23java -jar deploy/SimManager.jar system_test_script.xml &
24
25# Start a browser and run the web applications
26firefox localhost:8080/einotebook  localhost:8080/cptms localhost:8080/unifiedlogmonitor.html &
27
Note: See TracBrowser for help on using the repository browser.