1 Each script attached gives help with option "-h" in the command line. |
|
2 |
|
3 There are 3 different scripts: |
|
4 |
|
5 cenrep_keys_syntax_checker.pl |
|
6 Used to verify the syntax of the excel sheets. |
|
7 |
|
8 gather_cenrep_to_storable.pl |
|
9 This reads the cenrep excel sheet(s) information into a storable file. This is |
|
10 a binary format, which can be used by other scripts. |
|
11 (for instance generate_cenrep_inifile.pl) |
|
12 Main motivation to use: reading the information from excel sheets takes 95% |
|
13 of time. If you for instance need to generate more than 1 confiration from the |
|
14 same data it makes sence to 1st run this script once and then the other |
|
15 script as many times as needed. |
|
16 |
|
17 generate_cenrep_inifile.pl |
|
18 This script is used to generate both cenrep ini-files based on the information |
|
19 in the excel sheets and also if needed a file for the RFS. |
|
20 |
|
21 NOTES: |
|
22 - the generate_cenrep_inifile.pl requires that you have active perl 5.8.4 or newer version |
|
23 installed. Perl version 5.6.* does not work and results in error. |
|
24 Reason for the new version is the unicode support needed. |
|
25 |
|
26 - The scripts also require that Storable.pm module installed to the machine. With some |
|
27 earlier perl-versions this module was not part of default delivery. |
|
28 |
|
29 - There will be an error, if the path, where the excel-files are located, contains |
|
30 directory names with spaces in them. |
|
31 Solution: make sure that directory names in path don't contain spaces. |
|
32 |
|
33 - If a new key is added, the default value must be defined also in |
|
34 CVRRepositoryManager::CheckRepositoryKeysL() to make sure that SIS installation works ok. |
|
35 |
|
36 - Note that cenrep folder must be writable! |
|
37 |
|
38 Generating cenrep txt file: |
|
39 -In cenrep folder type: |
|
40 "attrib -r *.txt" |
|
41 "generate_cenrep_inifile.pl -r 5.0 -d ." |
|
42 -In emulator: |
|
43 - delete .cre file with visualradio uid from epoc32\WINSCW\C\private\10202be9\persists\ |
|
44 - type "abld export" to export cenrep file |
|