|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <container xmlns="http://www.symbianfoundation.org/xml/implml/1"> |
|
3 <tag name="target" value="rofs2"/> |
|
4 <tag name="target" value="rofs3"/> |
|
5 |
|
6 |
|
7 <!-- |
|
8 Override the setting refs so that modifying HomeScreenDbSettings |
|
9 causes the execution of both the TemplateML and CommandML |
|
10 implementations. Otherwise the TemplateML implementation would be |
|
11 executed only if the settings have been changed, and the CommandML |
|
12 implementation would be executed every time. |
|
13 --> |
|
14 <settingRefsOverride> |
|
15 <settingRef value="CaStorageDbSetting"/> |
|
16 </settingRefsOverride> |
|
17 |
|
18 <!-- TemplateML implementation to create the .sql files --> |
|
19 <templateml xmlns="http://www.s60.com/xml/templateml/1"> |
|
20 <!-- just to create empty folder, maybe it could be done better--> |
|
21 <output dir="content/private/20022F90" file="castorage.db" encoding="UTF-8"></output> |
|
22 <output dir="temp/castoragedb/" file="castoragedb_create.sql" encoding="UTF-8"> |
|
23 <template file="castoragedb_templates/castoragedb_create.sql"/> |
|
24 </output> |
|
25 <output dir="temp/castoragedb/" file="castoragedb_variant.sql" encoding="UTF-8"> |
|
26 <template file="castoragedb_templates/castoragedb_variant.sql"/> |
|
27 </output> |
|
28 </templateml> |
|
29 |
|
30 <!-- CommandML implementation to create the database using the .sql files --> |
|
31 <commandml xmlns="http://www.s60.com/xml/commandml/1"> |
|
32 <command executable="sqlite3" shell="true" cwd="%CONE_OUT_ABSOLUTE%/temp/castoragedb"> |
|
33 <argument value='%CONE_OUT_ABSOLUTE%/content/private/20022F90/castorage.db ".read castoragedb_create.sql"'/> |
|
34 </command> |
|
35 <command executable="sqlite3" shell="true" cwd="%CONE_OUT_ABSOLUTE%/temp/castoragedb"> |
|
36 <argument value='%CONE_OUT_ABSOLUTE%/content/private/20022F90/castorage.db ".genfkey --exec"'/> |
|
37 </command> |
|
38 <command executable="sqlite3" shell="true" cwd="%CONE_OUT_ABSOLUTE%/temp/castoragedb"> |
|
39 <argument value='%CONE_OUT_ABSOLUTE%/content/private/20022F90/castorage.db ".read castoragedb_variant.sql"'/> |
|
40 </command> |
|
41 </commandml> |
|
42 |
|
43 <content xmlns="http://www.s60.com/xml/content/2"> |
|
44 <output dir="content/private/20022F35/customsvg" flatten="true" > |
|
45 <input> |
|
46 <include files="${CaStorageDbSetting.Collections.Icon.localPath}"/> |
|
47 </input> |
|
48 <input> |
|
49 <include files="${CaStorageDbSetting.URLs.URLIcon.localPath}"/> |
|
50 </input> |
|
51 <input> |
|
52 <include files="${CaStorageDbSetting.OperatorCollections.Icon.localPath}"/> |
|
53 </input> |
|
54 <input> |
|
55 <include files="${CaStorageDbSetting.OperatorURLs.OperatorURLIcon.localPath}"/> |
|
56 </input> |
|
57 </output> |
|
58 </content> |
|
59 |
|
60 </container> |