sl@0: rem Copyright (c) 2008-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: rem sl@0: rem sl@0: sl@0: @echo off sl@0: set _main_ver=00490 sl@0: set _main_ver_sub=114869 sl@0: set _ver=151 sl@0: set _prefix=GT sl@0: set _prefixN=%_prefix%_%_main_ver% sl@0: set ZipPrefix=%_prefix% sl@0: set _ve32toolp=113 sl@0: set _ve32tools=123 sl@0: set _ve32utl=035 sl@0: set _vgditools=052 sl@0: set _vsdk=014 sl@0: sl@0: set _ve32=189 sl@0: set _vf32=148 sl@0: set _vstore=062 sl@0: set _vgdi=071 sl@0: set _vfntstore=060 sl@0: set _vfbserv=093 sl@0: set _vbitgdi=097 sl@0: if "%1"=="?" goto help sl@0: if "%1"=="" goto help sl@0: if "%EPOCROOT%"=="" echo error: Variable Epocroot must be defined sl@0: if "%EPOCROOT%"=="" goto help sl@0: sl@0: if not defined EPOC_INI ( sl@0: set EPOC_INI=%EPOCROOT%epoc32\data\epoc.ini sl@0: ) sl@0: sl@0: goto %1 sl@0: goto help sl@0: sl@0: rem ================ Install ============== sl@0: sl@0: :install sl@0: echo Backing up EPOC.INI. sl@0: if not exist %EPOC_INI%.scdvbak copy %EPOC_INI% %EPOC_INI%.scdvbak >nul sl@0: sl@0: rem add line to epoc.ini so that the system starter will start the emulator in the specified display mode sl@0: echo SYMBIAN_GRAPHICS_USE_GCE ON >> %EPOC_INI% sl@0: echo SYMBIAN_BASE_USE_GCE ON >> %EPOC_INI% sl@0: echo ColorDepth Color16M >> %EPOC_INI% sl@0: sl@0: echo === New EPOC.INI -- %EPOC_INI% === sl@0: type %EPOC_INI% sl@0: echo ====================================================== sl@0: sl@0: goto :EOF sl@0: sl@0: sl@0: rem ================ Installonb ============== sl@0: :installonb sl@0: echo Backing up EPOC.INI. sl@0: if not exist %EPOC_INI%.scdvbak copy %EPOC_INI% %EPOC_INI%.scdvbak >nul sl@0: sl@0: rem For ONB system only add line to epoc.ini so that the system starter will start the emulator in the specified display mode sl@0: echo. >> %EPOC_INI% sl@0: echo ColorDepth Color16M >> %EPOC_INI% sl@0: sl@0: echo === New EPOC.INI -- %EPOC_INI% === sl@0: type %EPOC_INI% sl@0: echo ====================================================== sl@0: sl@0: goto :EOF sl@0: sl@0: rem ================ Uninstall ============== sl@0: sl@0: :uninstall sl@0: echo Restoring EPOC.INI. sl@0: if exist %EPOC_INI%.scdvbak xcopy /r /y %EPOC_INI%.scdvbak %EPOC_INI% >nul sl@0: goto :EOF sl@0: sl@0: sl@0: sl@0: sl@0: rem ================ HELP! ================= sl@0: sl@0: :help sl@0: echo Parameters are: sl@0: echo BACKUP to backup to U:\wserv sl@0: echo GETZIP to get the zip files for the current baseline sl@0: echo GETLINE to extract all the components we depend on sl@0: echo GETSRC {comp} to get the source of another component sl@0: rem echo ----------------------------------------------------------------------- sl@0: echo DELBLD to delete all work files for the current build sl@0: echo CHECK to check that all the files in the group are in a .PRJ file sl@0: echo ARMUDEB to build unicode debug code for ARM debug sl@0: goto end sl@0: sl@0: :endgroup sl@0: call cont wserv group sl@0: :end sl@0: set _main_ver= sl@0: set _main_ver_sub= sl@0: set _prefix= sl@0: set _prefixN= sl@0: set _ver= sl@0: set _ve32tools= sl@0: set _ve32toolp= sl@0: set _ve32utl= sl@0: set _vgditools= sl@0: set _ve32= sl@0: set _vf32= sl@0: set _vgdi= sl@0: set _vfntstore= sl@0: set _vfbserv= sl@0: set _vbitgdi= sl@0: set _vstore= sl@0: set _vsdk= sl@0: set _par1= sl@0: set _par2=