engine/collectionframework/thumbnailcreator/group/create-ut_cglxtngeneratethumbnailtask-sis.bat
changeset 71 27f2d7aec52a
parent 69 45459746d5e8
child 72 0a8e959402e5
equal deleted inserted replaced
69:45459746d5e8 71:27f2d7aec52a
     1 rem
       
     2 rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 rem All rights reserved.
       
     4 rem This component and the accompanying materials are made available
       
     5 rem under the terms of "Eclipse Public License v1.0"
       
     6 rem which accompanies this distribution, and is available
       
     7 rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 rem
       
     9 rem Initial Contributors:
       
    10 rem Nokia Corporation - initial contribution.
       
    11 rem
       
    12 rem Contributors:
       
    13 rem
       
    14 rem Description: 
       
    15 rem
       
    16 
       
    17 
       
    18 
       
    19 @echo off
       
    20 echo.
       
    21 echo ====================================
       
    22 echo.
       
    23 echo Digia EUnit - Test
       
    24 echo.
       
    25 echo This BAT copies Test DLL
       
    26 echo to local folder and makes SIS file
       
    27 echo.
       
    28 echo ====================================
       
    29 echo.
       
    30 
       
    31 :CHECK_EPOCROOT
       
    32 echo.
       
    33 echo - verify epoc root
       
    34 set EPOCROOT
       
    35 if errorlevel == 1 goto END_ERROR 
       
    36 
       
    37 :COPY_DLL
       
    38 echo.
       
    39 echo - copy test dll to current directory
       
    40 copy %EPOCROOT%epoc32\release\thumb\urel\ut_cglxtngeneratethumbnailtask.dll .
       
    41 if errorlevel == 1 goto END_ERROR 
       
    42 
       
    43 :CREATE_DIR
       
    44 echo.
       
    45 echo - create Sis folder (created only if needed)
       
    46 mkdir ..\Sis
       
    47 
       
    48 :MAKESIS
       
    49 echo.
       
    50 echo - makesis ut_cglxtngeneratethumbnailtask.pkg ..\sis\ut_cglxtngeneratethumbnailtask.sis
       
    51 call makesis ut_cglxtngeneratethumbnailtask.pkg ..\sis\ut_cglxtngeneratethumbnailtask.sis
       
    52 if errorlevel == 1 goto END_ERROR
       
    53 
       
    54 :DELETE_DLL
       
    55 echo.
       
    56 echo - remove the copied dll from current folder
       
    57 del ut_cglxtngeneratethumbnailtask.dll
       
    58 goto END
       
    59 
       
    60 :END_ERROR
       
    61 echo.
       
    62 echo Sis creation failed. 
       
    63 goto FINAL_END
       
    64 
       
    65 :END
       
    66 echo.
       
    67 echo Sis file created succesfully
       
    68 echo ============================
       
    69 
       
    70 :FINAL_END
       
    71 echo.
       
    72