source: tmcsimulator/trunk/bin/systemstart_practice_session.sh @ 382

Revision 382, 271 bytes checked in by jdalbey, 7 years ago (diff)

CADserver.java modified to look for a system property PROP_FILE provided at the command line so it's property file can be provided dynamically. SimulationManager?.java modified to accept an optional command line argument, the name of the script file to load when the pgm launches. Create a bin folder with shell scripts to start the complete system in different configurations.

  • Property svn:executable set to *
Line 
1#!/bin/sh
2# Start the Simulator System with the practice script
3cd ../webapps
4python -m CGIHTTPServer 8080 &
5sleep 1
6cd ..
7java -DPROP_FILE=cad_simulator_practice.properties -jar deploy/CADserver.jar &
8sleep 7
9java -jar deploy/SimManager.jar practice_script_2016.xml &
10
11
Note: See TracBrowser for help on using the repository browser.