homescreenapp/hsapplication/conf/base/implml/homescreendb.implml
changeset 77 4b195f3bea29
parent 36 cdae8c6c3876
equal deleted inserted replaced
61:2b1b11a301d2 77:4b195f3bea29
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <container xmlns="http://www.symbianfoundation.org/xml/implml/1">
     2 <container xmlns="http://www.symbianfoundation.org/xml/implml/1">
     3     <tag name="target" value="rofs3"/>
     3   <tag name="target" value="rofs2"/> 
     4     
     4   <tag name="target" value="rofs3"/> 
       
     5   
     5     <!--
     6     <!--
     6     Override the setting refs so that modifying HomeScreenDbSettings
     7     Override the setting refs so that modifying HomeScreenDbSettings
     7     causes the execution of both the TemplateML and CommandML
     8     causes the execution of both the TemplateML and CommandML
     8     implementations. Otherwise the TemplateML implementation would be
     9     implementations. Otherwise the TemplateML implementation would be
     9     executed only if the settings have been changed, and the CommandML
    10     executed only if the settings have been changed, and the CommandML
    13         <settingRef value="HomeScreenDbSettings"/>
    14         <settingRef value="HomeScreenDbSettings"/>
    14     </settingRefsOverride>
    15     </settingRefsOverride>
    15     
    16     
    16     <!-- TemplateML implementation to create the .sql files -->
    17     <!-- TemplateML implementation to create the .sql files -->
    17     <templateml xmlns="http://www.s60.com/xml/templateml/1">
    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     
    18         <output dir="private/20022f35/sql/" file="create.sql" encoding="UTF-8">
    23         <output dir="private/20022f35/sql/" file="create.sql" encoding="UTF-8">
    19             <template file="homescreendb_templates/create.sql"></template>
    24             <template file="homescreendb_templates/create.sql"></template>
    20         </output>
    25         </output>
    21         <output dir="private/20022f35/sql/" file="fill.sql" encoding="UTF-8">
    26         <output dir="private/20022f35/sql/" file="fill.sql" encoding="UTF-8">
    22             <template file="homescreendb_templates/fill.sql"/>
    27             <template file="homescreendb_templates/fill.sql"/>
    24     </templateml>
    29     </templateml>
    25     
    30     
    26     <!-- CommandML implementation to create the database using the .sql files -->
    31     <!-- CommandML implementation to create the database using the .sql files -->
    27     <commandml xmlns="http://www.s60.com/xml/commandml/1">
    32     <commandml xmlns="http://www.s60.com/xml/commandml/1">
    28         <command executable="sqlite3" shell="true" cwd="%CONE_OUT_ABSOLUTE%/private/20022f35/sql">
    33         <command executable="sqlite3" shell="true" cwd="%CONE_OUT_ABSOLUTE%/private/20022f35/sql">
    29             <argument value='../homescreen.db ".read create.sql"'/>
    34             <argument value='%CONE_OUT_ABSOLUTE%/content/private/20022f35/homescreen.db ".read create.sql"'/>
    30         </command>
    35         </command>
    31         <command executable="sqlite3" shell="true" cwd="%CONE_OUT_ABSOLUTE%/private/20022f35/sql">
    36         <command executable="sqlite3" shell="true" cwd="%CONE_OUT_ABSOLUTE%/private/20022f35/sql">
    32             <argument value='../homescreen.db ".genfkey --exec"'/>
    37             <argument value='%CONE_OUT_ABSOLUTE%/content/private/20022f35/homescreen.db ".genfkey --exec"'/>
    33         </command>
    38         </command>
    34         <command executable="sqlite3" shell="true" cwd="%CONE_OUT_ABSOLUTE%/private/20022f35/sql">
    39         <command executable="sqlite3" shell="true" cwd="%CONE_OUT_ABSOLUTE%/private/20022f35/sql">
    35             <argument value='../homescreen.db ".read fill.sql"'/>
    40             <argument value='%CONE_OUT_ABSOLUTE%/content/private/20022f35/homescreen.db ".read fill.sql"'/>
    36         </command>
    41         </command>
    37     </commandml>
    42     </commandml>
    38 </container>
    43 </container>