os/persistentdata/featuremgmt/featureregistry/test/compositeromtesting/testfiles/featregcompositetest_manualpost.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
if not exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\private\102744CA\featreg.tmp.cfg goto noTmpFiles
sl@0
    19
sl@0
    20
rem Delete the test featreg files
sl@0
    21
del /f %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\z\private\102744ca\featreg.cfg
sl@0
    22
del /f %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\z\private\102744ca\featreg.cfg[2-0]
sl@0
    23
del /f %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\z\private\102744ca\featreg.cfg[3-0]
sl@0
    24
del /f %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\z\private\102744ca\featreg.cfg
sl@0
    25
del /f %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\z\private\102744ca\featreg.cfg[2-0]
sl@0
    26
del /f %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\z\private\102744ca\featreg.cfg[3-0]
sl@0
    27
sl@0
    28
rem Restore original featreg files
sl@0
    29
rename %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\z\private\102744ca\featreg.tmp.cfg featreg.cfg
sl@0
    30
rename %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\z\private\102744ca\featreg.tmp.cfg featreg.cfg
sl@0
    31
goto :EOF
sl@0
    32
sl@0
    33
:noTmpFiles
sl@0
    34
@echo No temp files exist, pre bat file hasn't been run or %0 already called