|
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 Override the setting refs so that modifying HomeScreenDbSettings |
|
8 causes the execution of both the TemplateML and CommandML |
|
9 implementations. Otherwise the TemplateML implementation would be |
|
10 executed only if the settings have been changed, and the CommandML |
|
11 implementation would be executed every time. |
|
12 --> |
|
13 <settingRefsOverride> |
|
14 <settingRef value="HomeScreenDbSettings"/> |
|
15 </settingRefsOverride> |
|
16 |
|
17 <!-- TemplateML implementation to create the .sql files --> |
|
18 <templateml xmlns="http://www.s60.com/xml/templateml/1"> |
|
19 |
|
20 <!-- just to create empty folder --> |
|
21 <output dir="content/private/20022f35/" file="homescreen.db" encoding="UTF-8"></output> |
|
22 |
|
23 <output dir="private/20022f35/sql/" file="create.sql" encoding="UTF-8"> |
|
24 <template file="homescreendb_templates/create.sql"></template> |
|
25 </output> |
|
26 <output dir="private/20022f35/sql/" file="fill.sql" encoding="UTF-8"> |
|
27 <template file="homescreendb_templates/fill.sql"/> |
|
28 </output> |
|
29 </templateml> |
|
30 |
|
31 <!-- CommandML implementation to create the database using the .sql files --> |
|
32 <commandml xmlns="http://www.s60.com/xml/commandml/1"> |
|
33 <command executable="sqlite3" shell="true" cwd="%CONE_OUT_ABSOLUTE%/private/20022f35/sql"> |
|
34 <argument value='%CONE_OUT_ABSOLUTE%/content/private/20022f35/homescreen.db ".read create.sql"'/> |
|
35 </command> |
|
36 <command executable="sqlite3" shell="true" cwd="%CONE_OUT_ABSOLUTE%/private/20022f35/sql"> |
|
37 <argument value='%CONE_OUT_ABSOLUTE%/content/private/20022f35/homescreen.db ".genfkey --exec"'/> |
|
38 </command> |
|
39 <command executable="sqlite3" shell="true" cwd="%CONE_OUT_ABSOLUTE%/private/20022f35/sql"> |
|
40 <argument value='%CONE_OUT_ABSOLUTE%/content/private/20022f35/homescreen.db ".read fill.sql"'/> |
|
41 </command> |
|
42 </commandml> |
|
43 </container> |