os/persistentdata/featuremgmt/featureregistry/test/compositeromtesting/testfiles/featregcompositetest_manualpre.bat
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/persistentdata/featuremgmt/featureregistry/test/compositeromtesting/testfiles/featregcompositetest_manualpre.bat	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,44 @@
     1.4 +@echo off
     1.5 +rem
     1.6 +rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +rem All rights reserved.
     1.8 +rem This component and the accompanying materials are made available
     1.9 +rem under the terms of "Eclipse Public License v1.0"
    1.10 +rem which accompanies this distribution, and is available
    1.11 +rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12 +rem
    1.13 +rem Initial Contributors:
    1.14 +rem Nokia Corporation - initial contribution.
    1.15 +rem
    1.16 +rem Contributors:
    1.17 +rem
    1.18 +rem Description:
    1.19 +rem
    1.20 +
    1.21 +@rem This call is so that the batch file can be used unaltered by the ONB
    1.22 +@if exist \textshell.bat call \textshell.bat
    1.23 +
    1.24 +@if not exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg goto notBuilt
    1.25 +@if not exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg[2-0] goto notBuilt
    1.26 +@if not exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg[3-0] goto notBuilt
    1.27 +@if exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\private\102744ca\featreg.tmp.cfg goto TmpFilesExist
    1.28 +
    1.29 +@rem Save original featreg files
    1.30 +@rename %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\private\102744ca\featreg.cfg featreg.tmp.cfg
    1.31 +@rename %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\private\102744ca\featreg.cfg featreg.tmp.cfg
    1.32 +
    1.33 +@rem Copy over new featreg files
    1.34 +@copy /y %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\private\102744ca\featreg.cfg
    1.35 +@copy /y %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\featregtest\featreg.cfg %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\private\102744ca\featreg.cfg
    1.36 +@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]
    1.37 +@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]
    1.38 +@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]
    1.39 +@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]
    1.40 +@goto :EOF
    1.41 +
    1.42 +:TmpFilesExist
    1.43 +@echo Tmp files exist %0 already called
    1.44 +@goto :EOF
    1.45 +
    1.46 +:notBuilt
    1.47 +@echo %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg doesn't exist, test files not exported