sl@0: @echo off sl@0: rem sl@0: rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: rem All rights reserved. sl@0: rem This component and the accompanying materials are made available sl@0: rem under the terms of "Eclipse Public License v1.0" sl@0: rem which accompanies this distribution, and is available sl@0: rem at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: rem sl@0: rem Initial Contributors: sl@0: rem Nokia Corporation - initial contribution. sl@0: rem sl@0: rem Contributors: sl@0: rem sl@0: rem Description: sl@0: rem sl@0: sl@0: @rem This call is so that the batch file can be used unaltered by the ONB sl@0: @if exist \textshell.bat call \textshell.bat sl@0: sl@0: @if not exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg goto notBuilt sl@0: @if not exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg[2-0] goto notBuilt sl@0: @if not exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg[3-0] goto notBuilt sl@0: @if exist %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\private\102744ca\featreg.tmp.cfg goto TmpFilesExist sl@0: sl@0: @rem Save original featreg files sl@0: @rename %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\private\102744ca\featreg.cfg featreg.tmp.cfg sl@0: @rename %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\private\102744ca\featreg.cfg featreg.tmp.cfg sl@0: sl@0: @rem Copy over new featreg files sl@0: @copy /y %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\private\102744ca\featreg.cfg sl@0: @copy /y %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\featregtest\featreg.cfg %EPOCROOT%EPOC32\RELEASE\WINSCW\UREL\Z\private\102744ca\featreg.cfg sl@0: @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: @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: @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: @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: @goto :EOF sl@0: sl@0: :TmpFilesExist sl@0: @echo Tmp files exist %0 already called sl@0: @goto :EOF sl@0: sl@0: :notBuilt sl@0: @echo %EPOCROOT%EPOC32\RELEASE\WINSCW\UDEB\Z\featregtest\featreg.cfg doesn't exist, test files not exported