systemhealthmanagement/systemhealthmgr/test/sysmondemo/src/sysmondemo.bat
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     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 
       
    17 setlocal
       
    18 
       
    19 set COMMAND_CHOICE=%1
       
    20 set RSC_LOCATION=Z\private\10205C44
       
    21 
       
    22 set TEST_RSC=%RSC_LOCATION%\sysmondemo.RSC
       
    23 set TEST1_RSC=%RSC_LOCATION%\sysmondemo109.RSC
       
    24 set TEST2_RSC=%RSC_LOCATION%\sysmondemo108.RSC
       
    25 
       
    26 set SM0_RSC=%RSC_LOCATION%\SSCForStartupMode0.RSC
       
    27 set SM109_RSC=%RSC_LOCATION%\SSCForStartupMode109.RSC
       
    28 set SM108_RSC=%RSC_LOCATION%\SSCForStartupMode108.RSC
       
    29 
       
    30 
       
    31 call copy %SM0_RSC% bak_up0.rsc
       
    32 call copy %SM109_RSC% bak_up109.rsc
       
    33 call copy %SM108_RSC% bak_up108.rsc
       
    34 
       
    35 
       
    36 call copy %TEST_RSC% %SM0_RSC%
       
    37 call copy %TEST1_RSC% %SM109_RSC%
       
    38 call copy %TEST2_RSC% %SM108_RSC%
       
    39 
       
    40 
       
    41 call epoc.exe
       
    42 
       
    43 copy bak_up0.rsc %SM0_RSC%
       
    44 copy bak_up109.rsc %SM109_RSC%
       
    45 copy bak_up108.rsc %SM108_RSC%