|
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 the License "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 rem Certstore Configuration 1 setup script plus restoring the C Drives for the URel Tests |
|
17 cd \ |
|
18 call %SECURITYSOURCEDIR%\os\security\cryptomgmtlibs\securitytestfw\test\autotesting\useautocfg.bat |
|
19 |
|
20 rmdir /s /q epoc32\wins\c\ |
|
21 rmdir /s /q epoc32\winscw\c\ |
|
22 rmdir /s /q epoc32\drive_d\ |
|
23 rmdir /s /q epoc32\drive_e\ |
|
24 |
|
25 xcopy backup\wins\c epoc32\wins\c\ /e |
|
26 xcopy backup\winscw\c epoc32\winscw\c\ /e |
|
27 |
|
28 xcopy /y/i/e/s/r/q \epoc32\winscw\c\tswi \epoc32\release\winscw\urel\z\tswi |
|
29 |
|
30 xcopy backup\drive_d epoc32\drive_d\ /e |
|
31 xcopy backup\drive_e epoc32\drive_e\ /e |
|
32 |
|
33 rmdir /s /q backup |
|
34 |
|
35 call \epoc32\release\wins\udeb\ced -dtextshell -- -i c:\auto.cfg |
|
36 call \epoc32\release\winscw\udeb\ced -dtextshell -- -i c:\auto.cfg |
|
37 |
|
38 perl %SECURITYSOURCEDIR%\os\security\cryptoservices\certificateandkeymgmt\twtlscert\scripts\batchfiles\certstorePlugins disable_all |
|
39 perl %SECURITYSOURCEDIR%\os\security\cryptoservices\certificateandkeymgmt\twtlscert\scripts\batchfiles\certstorePlugins enable filecertstore.dll |
|
40 |
|
41 copy \epoc32\wins\c\tcertstore\data\testkeystore.txt \epoc32\wins\c\system\data\testkeystore.txt |
|
42 copy \epoc32\winscw\c\tcertstore\data\testkeystore.txt \epoc32\winscw\c\system\data\testkeystore.txt |
|
43 |
|
44 call %SECURITYSOURCEDIR%\os\security\cryptomgmtlibs\securitytestfw\test\autotesting\installSwiCertStore.bat tcertstore\data\swicertstore.dat |
|
45 call %SECURITYSOURCEDIR%\os\security\cryptomgmtlibs\securitytestfw\test\autotesting\setupSwiPolicy swipolicy.ini |
|
46 |
|
47 copy /Y \epoc32\winscw\c\tJavaHelper\trust\midp2_trp.xml \epoc32\RELEASE\WINSCW\UREL\z\private\10203636\security\midp2_trp.xml |
|
48 copy \epoc32\winscw\c\tJavaHelper\trust\security_root5ca.der \epoc32\RELEASE\WINSCW\UREL\z\private\10203636\security\trustroots\device\certificates\security_root5ca.der |
|
49 |
|
50 rem Copy eclipsable ROM stub and accompanying files to correct places |
|
51 |
|
52 md \epoc32\release\winscw\urel\z\eclipsetest |
|
53 copy /y \epoc32\winscw\c\tswi\teclipsing\data\eclispingteststub.sis \epoc32\release\winscw\urel\z\system\install\eclispingteststub.sis |
|
54 copy /y \epoc32\winscw\c\tswi\teclipsing\data\file1.txt \epoc32\RELEASE\WINSCW\UREL\Z\eclipsetest\file1.txt |
|
55 copy /y \epoc32\winscw\c\tswi\teclipsing\data\file2.txt \epoc32\RELEASE\WINSCW\UREL\Z\eclipsetest\file2.txt |
|
56 copy /y \epoc32\winscw\c\tswi\teclipsing\data\file3.txt \epoc32\RELEASE\WINSCW\UREL\Z\eclipsetest\file3.txt |
|
57 |
|
58 copy /y \epoc32\release\winscw\urel\tswisidupgradeexe.exe \epoc32\release\winscw\urel\z\sys\bin\tswisidupgradeexe.exe |
|
59 copy /y \epoc32\release\winscw\urel\eclipsetest1.dll \epoc32\release\winscw\urel\z\sys\bin\eclipsetest.dll |
|
60 |
|
61 md \epoc32\release\winscw\urel\z\sys\bin\test\ |
|
62 md \epoc32\release\winscw\urel\z\sys\bin\test1\test2\ |
|
63 copy /y \epoc32\release\winscw\urel\tswisidcache1.exe \epoc32\release\winscw\urel\z\sys\bin\test\testsidcache1.exe |
|
64 copy /y \epoc32\release\winscw\urel\tswisidcache2.exe \epoc32\release\winscw\urel\z\sys\bin\test1\test2\testsidcache2.exe |