| Revision 679,
1.2 KB
checked in by jdalbey, 4 years ago
(diff) |
|
Update scripts and bat files to use config/devlinux files.
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | REM Merge log files and sort by timestamp |
|---|
| 2 | REM Invoke from 'trunk' folder |
|---|
| 3 | REM TODO: Add error handling - missing files, not executed from 'trunk', ... |
|---|
| 4 | |
|---|
| 5 | REM Change to trunk folder |
|---|
| 6 | cd .. |
|---|
| 7 | |
|---|
| 8 | REM 1. Runs a python program named "extract_caddetails" |
|---|
| 9 | REM to extract CAD DETAIL lines from incident_script.xml |
|---|
| 10 | REM and creates an output file "caddetails.csv" |
|---|
| 11 | set PYTHONPATH=webapps\unifiedlogger.zip python -m extract_caddetails |
|---|
| 12 | |
|---|
| 13 | REM 2. Define a variable for the directory containing the data files |
|---|
| 14 | REM dir="webapps\dynamicdata" |
|---|
| 15 | set dir="w:\webapps\dynamicdata" |
|---|
| 16 | |
|---|
| 17 | REM 3. Merge the unified log with cad details and evaluation ratings |
|---|
| 18 | REM then sort them by timestamp (reverse chronological). |
|---|
| 19 | REM Final result placed in "sessionlog.csv" |
|---|
| 20 | type %dir%\unifiedlog.csv %dir%\caddetails.csv %dir%\evalratings.csv w:\web2py\samplelogfile.txt | sort > %dir%\sessionlog.csv |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | REM 4. Next, launch the webserver and browse to localhost:8080/sessionlogdisplay.html |
|---|
| 24 | REM to show a nicely formatted version of the results. |
|---|
| 25 | "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" webapps.tmcsim/sessionlogdisplay.html & |
|---|
| 26 | REM "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" localhost:8080/sessionlogdisplay.html & |
|---|
Note: See
TracBrowser
for help on using the repository browser.