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