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