os/persistentdata/featuremgmt/featureregistry/test/compositeromtesting/testfiles/featregcompositetest_manualpre.bat
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 @echo off
     2 rem
     3 rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     4 rem All rights reserved.
     5 rem This component and the accompanying materials are made available
     6 rem under the terms of "Eclipse Public License v1.0"
     7 rem which accompanies this distribution, and is available
     8 rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
     9 rem
    10 rem Initial Contributors:
    11 rem Nokia Corporation - initial contribution.
    12 rem
    13 rem Contributors:
    14 rem
    15 rem Description:
    16 rem
    17 
    18 @rem This call is so that the batch file can be used unaltered by the ONB
    19 @if exist \textshell.bat call \textshell.bat
    20 
    21 @if not exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg goto notBuilt
    22 @if not exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg[2-0] goto notBuilt
    23 @if not exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg[3-0] goto notBuilt
    24 @if exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\private\102744ca\featreg.tmp.cfg goto TmpFilesExist
    25 
    26 @rem Save original featreg files
    27 @rename %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\private\102744ca\featreg.cfg featreg.tmp.cfg
    28 @rename %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\private\102744ca\featreg.cfg featreg.tmp.cfg
    29 
    30 @rem Copy over new featreg files
    31 @copy /y %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\private\102744ca\featreg.cfg
    32 @copy /y %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\featregtest\featreg.cfg %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\private\102744ca\featreg.cfg
    33 @copy /y %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg[2-0] %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\private\102744ca\featreg.cfg[2-0]
    34 @copy /y %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\featregtest\featreg.cfg[2-0] %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\private\102744ca\featreg.cfg[2-0]
    35 @copy /y %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg[3-0] %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\private\102744ca\featreg.cfg[3-0]
    36 @copy /y %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\featregtest\featreg.cfg[3-0] %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\private\102744ca\featreg.cfg[3-0]
    37 @goto :EOF
    38 
    39 :TmpFilesExist
    40 @echo Tmp files exist %0 already called
    41 @goto :EOF
    42 
    43 :notBuilt
    44 @echo %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg doesn't exist, test files not exported