4 echo =============================================
5 echo step - 1 create a temporary folder
6 echo =============================================
13 echo =============================================
14 echo step - 2 copy the xsecsim.rdb
15 echo =============================================
18 cp %WS_PATH%/xmlsecurity/wntmsci8.pro/bin/xsecsim.rdb %TEMP_DRIVE%/%TEMP_FOLDER%/.
21 echo =============================================
22 echo step - 3 copy services.rdb and types.rdb
23 echo =============================================
26 cp %SO_DRIVE%/%SO_PATH%/program/services.rdb %TEMP_DRIVE%/%TEMP_FOLDER%/.
27 cp %SO_DRIVE%/%SO_PATH%/program/types.rdb %TEMP_DRIVE%/%TEMP_FOLDER%/.
30 echo =============================================
31 echo step - 4 add types.rdb, xsecsim.rdb to services.rdb
32 echo =============================================
36 regmerge services.rdb / types.rdb
37 regmerge services.rdb / xsecsim.rdb
40 echo =============================================
41 echo step - 5 register new component
42 echo =============================================
46 cp %WS_PATH%/xmlsecurity/wntmsci8.pro/bin/xsec_sim.dll windows.plt/.
47 cp %WS_PATH%/xmlsecurity/wntmsci8.pro/bin/xsecsim.rdb windows.plt/.
48 cp %WS_PATH%/xmlsecurity/wntmsci8.pro/class/jflatfilter.jar windows.plt/.
49 zip xsec_sim.zip windows.plt\*.*
53 cd %SO_DRIVE%/%SO_PATH%/program
54 pkgchk -s %TEMP_DRIVE%/%TEMP_FOLDER%/xsec_sim.zip
59 echo =============================================
60 echo step - 6 copy dynamic libraries
61 echo =============================================
64 cp %SO_DRIVE%/%SO_PATH%/program/*.dll ./.
67 echo =============================================
68 echo step - 7 copy testtool program
69 echo =============================================
72 cp %WS_PATH%/xmlsecurity/wntmsci8.pro/bin/testtool.exe ./.
75 echo =============================================
76 echo step - 8 start OpenOffice
77 echo =============================================
81 echo please start up OpenOffice with "-accept=socket,host=0,port=2002;urp;"
82 pause Press Enter when finished...
86 echo =============================================
87 echo step - 9 run the testtool program
88 echo =============================================
93 cp %WS_PATH%/xmlsecurity/tools/examples/warmup.xml ./.
94 cp %WS_PATH%/xmlsecurity/tools/examples/sign-0.xml ./.
95 cp %WS_PATH%/xmlsecurity/tools/examples/sign-1.xml ./.
96 cp %WS_PATH%/xmlsecurity/tools/examples/sign-2.xml ./.
97 cp %WS_PATH%/xmlsecurity/tools/examples/sign-3.xml ./.
98 cp %WS_PATH%/xmlsecurity/tools/examples/sign-4.xml ./.
99 cp %WS_PATH%/xmlsecurity/tools/examples/sign-5.xml ./.
101 cp %WS_PATH%/xmlsecurity/tools/examples/eval_import.txt ./.
102 cp %WS_PATH%/xmlsecurity/tools/examples/eval_export.txt ./.
104 testtool %WS_PATH%/xmlsecurity/tools/cryptoken/jks/testToken.jks %WS_PATH%/xmlsecurity/tools/cryptoken/nss %TEMP_DRIVE%/%TEMP_FOLDER%/eval_export.txt %TEMP_DRIVE%/%TEMP_FOLDER%/eval_import.txt
107 echo =============================================
108 echo step - 10 stop OpenOffice
109 echo =============================================
113 echo please stop the OpenOffice application
114 pause Press Enter when finished...
118 echo =============================================
119 echo step - 11 remove new component
120 echo =============================================
123 rm %SO_DRIVE%/%SO_PATH%/user/uno_packages/xsec_sim.zip
125 cd %SO_DRIVE%/%SO_PATH%/program
127 pkgchk -s -d xsec_sim.zip
132 echo =============================================
133 echo step - 12 remove the temporary folder
134 echo =============================================