equal
deleted
inserted
replaced
|
1 @rem |
|
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 @rem All rights reserved. |
|
4 @rem This component and the accompanying materials are made available |
|
5 @rem under the terms of "Eclipse Public License v1.0" |
|
6 @rem which accompanies this distribution, and is available |
|
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 @rem |
|
9 @rem Initial Contributors: |
|
10 @rem Nokia Corporation - initial contribution. |
|
11 @rem |
|
12 @rem Contributors: |
|
13 @rem |
|
14 @rem Description: |
|
15 @rem |
|
16 @echo off |
|
17 |
|
18 set LOGFILE=\epoc32\winscw\c\logs\ulogger.txt |
|
19 set ARGS= |
|
20 |
|
21 :getopts |
|
22 if /I "x%1" == "x" goto nomoreopts |
|
23 if /I "x%1" == "x/log" ( |
|
24 set LOGFILE=%2 |
|
25 shift |
|
26 shift |
|
27 goto getopts |
|
28 ) |
|
29 |
|
30 set CURRENTARG=%1 |
|
31 shift |
|
32 |
|
33 if /I "%CURRENTARG:~-7%" == "ulogger.txt" ( |
|
34 set LOGFILE=%CURRENTARG% |
|
35 goto getopts |
|
36 ) |
|
37 |
|
38 set ARGS=%ARGS% %CURRENTARG% |
|
39 goto getopts |
|
40 |
|
41 :nomoreopts |
|
42 |
|
43 @echo Parsing log |
|
44 perl -S parselog.pl %ARGS% -x parse.ini -s63 %LOGFILE% > log.seq 2> log.err |
|
45 type log.err |
|
46 perl -S parseseq.pl %ARGS% -x parse.ini -p -V log.seq |
|
47 perl -S relations.pl -x relationships.txt log.seq > relateit.out 2>&1 |
|
48 |
|
49 |
|
50 set LOGFILE= |
|
51 set ARGS= |
|
52 set CURRENTARG= |