engine/collectionframework/thumbnailcreator/group/create-ut_cglxtnquickthumbnailtask-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 
       
    20 @echo off
       
    21 echo.
       
    22 echo ====================================
       
    23 echo.
       
    24 echo Digia EUnit - Test
       
    25 echo.
       
    26 echo This BAT copies Test DLL
       
    27 echo to local folder and makes SIS file
       
    28 echo.
       
    29 echo ====================================
       
    30 echo.
       
    31 
       
    32 :CHECK_EPOCROOT
       
    33 echo.
       
    34 echo - verify epoc root
       
    35 set EPOCROOT
       
    36 if errorlevel == 1 goto END_ERROR 
       
    37 
       
    38 :COPY_DLL
       
    39 echo.
       
    40 echo - copy test dll to current directory
       
    41 copy %EPOCROOT%epoc32\release\thumb\urel\ut_cglxtnquickthumbnailtask.dll .
       
    42 if errorlevel == 1 goto END_ERROR 
       
    43 
       
    44 :CREATE_DIR
       
    45 echo.
       
    46 echo - create Sis folder (created only if needed)
       
    47 mkdir ..\Sis
       
    48 
       
    49 :MAKESIS
       
    50 echo.
       
    51 echo - makesis ut_cglxtnquickthumbnailtask.pkg ..\sis\ut_cglxtnquickthumbnailtask.sis
       
    52 call makesis ut_cglxtnquickthumbnailtask.pkg ..\sis\ut_cglxtnquickthumbnailtask.sis
       
    53 if errorlevel == 1 goto END_ERROR
       
    54 
       
    55 :DELETE_DLL
       
    56 echo.
       
    57 echo - remove the copied dll from current folder
       
    58 del ut_cglxtnquickthumbnailtask.dll
       
    59 goto END
       
    60 
       
    61 :END_ERROR
       
    62 echo.
       
    63 echo Sis creation failed. 
       
    64 goto FINAL_END
       
    65 
       
    66 :END
       
    67 echo.
       
    68 echo Sis file created succesfully
       
    69 echo ============================
       
    70 
       
    71 :FINAL_END
       
    72 echo.
       
    73