symbian3/mw/appinstall/package_definition.xml
branchHighFidelityModel
changeset 43 35cc8ff825d7
parent 30 0f4f00318d20
child 63 d7aa110911c4
equal deleted inserted replaced
42:82a6c2dffce1 43:35cc8ff825d7
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!DOCTYPE SystemDefinition [
     2 <!DOCTYPE SystemDefinition [
     3  <!ELEMENT SystemDefinition (systemModel?,SystemBuild?)>
     3 <!ELEMENT SystemDefinition ( systemModel )>
     4  <!ATTLIST SystemDefinition
     4 <!ATTLIST SystemDefinition
     5   name CDATA #REQUIRED
     5   name CDATA #REQUIRED
     6   schema CDATA #REQUIRED>
     6   schema CDATA #REQUIRED
     7  <!ELEMENT systemModel (layer+)>
     7 >
     8  <!ELEMENT layer (block*|collection*)*>
     8 <!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not.  -->
     9  <!ATTLIST layer
     9 
       
    10 <!-- System Model Section of DTD -->
       
    11 <!ELEMENT systemModel (layer+)>
       
    12 
       
    13 <!ELEMENT layer (block* | collection*)*>
       
    14 <!-- Kernel Services, Base Services, OS Services, Etc -->
       
    15 <!ATTLIST layer
    10   name CDATA #REQUIRED
    16   name CDATA #REQUIRED
    11   long-name CDATA #IMPLIED
    17   long-name CDATA #IMPLIED
    12   levels NMTOKENS #IMPLIED
    18   levels NMTOKENS #IMPLIED
    13   span CDATA #IMPLIED>
    19   span CDATA #IMPLIED
    14  <!ELEMENT block (subblock*|collection*)*>
    20 >
    15  <!ATTLIST block
    21 
       
    22 <!ELEMENT block (subblock* | collection*)*>
       
    23  <!-- Generic OS services, Comms Services, etc -->
       
    24 <!ATTLIST block
    16   levels NMTOKENS #IMPLIED
    25   levels NMTOKENS #IMPLIED
    17   span CDATA #IMPLIED
    26   span CDATA #IMPLIED
    18   level NMTOKEN #IMPLIED
    27   level NMTOKEN #IMPLIED
    19   name CDATA #REQUIRED
    28   name CDATA #REQUIRED
    20   long-name CDATA #IMPLIED>
    29   long-name CDATA #IMPLIED
    21  <!ELEMENT subblock (collection)*>
    30 >
    22  <!ATTLIST subblock
    31 
    23   name CDATA #REQUIRED
    32 <!ELEMENT subblock (collection)*>
    24   long-name CDATA #IMPLIED>
    33 <!-- Cellular Baseband Services, Networking Services, etc -->
    25  <!ELEMENT collection (component)*>
    34 <!ATTLIST subblock
    26  <!ATTLIST collection
       
    27   name CDATA #REQUIRED
    35   name CDATA #REQUIRED
    28   long-name CDATA #IMPLIED
    36   long-name CDATA #IMPLIED
    29   level NMTOKEN #IMPLIED>
    37 >
    30  <!ELEMENT component (unit)*>
    38 
    31  <!ATTLIST component
    39 <!ELEMENT collection (component)*>
       
    40 <!-- Screen Driver, Content Handling, etc -->
       
    41 <!ATTLIST collection
       
    42   name CDATA #REQUIRED
       
    43   long-name CDATA #IMPLIED
       
    44   level NMTOKEN #IMPLIED
       
    45 >
       
    46 
       
    47 <!ELEMENT component (unit)*>
       
    48 <!-- contains units or is a  package or prebuilt -->
       
    49 <!ATTLIST component
    32   name CDATA #REQUIRED
    50   name CDATA #REQUIRED
    33   long-name CDATA #IMPLIED
    51   long-name CDATA #IMPLIED
    34   deprecated CDATA #IMPLIED
    52   deprecated CDATA #IMPLIED
    35   introduced CDATA #IMPLIED
    53   introduced CDATA #IMPLIED
    36   contract CDATA #IMPLIED
    54   contract CDATA #IMPLIED
    37   plugin (Y|N) 'N'
    55   plugin (Y|N) "N"
    38   filter CDATA #IMPLIED
    56   filter CDATA #IMPLIED
    39   class NMTOKENS #IMPLIED
    57   class NMTOKENS #IMPLIED
    40   supports CDATA #IMPLIED
    58   supports CDATA #IMPLIED
    41   purpose (optional|mandatory|development) 'optional'>
    59   purpose ( optional | mandatory | development ) "optional"
    42  <!ELEMENT unit EMPTY>
    60 >
    43  <!ATTLIST unit
    61 
       
    62 <!ELEMENT unit EMPTY >
       
    63 <!-- must be buildable (bld.inf) -->
       
    64 <!-- bldFile  may someday be removed in favour of mrp -->
       
    65 <!ATTLIST unit
    44   mrp CDATA #IMPLIED
    66   mrp CDATA #IMPLIED
    45   filter CDATA #IMPLIED
    67   filter CDATA #IMPLIED
    46   bldFile CDATA #IMPLIED
    68   bldFile CDATA #IMPLIED
    47   root CDATA #IMPLIED
    69   root CDATA #IMPLIED
    48   version NMTOKEN #IMPLIED
    70   version NMTOKEN #IMPLIED
    49   prebuilt NMTOKEN #IMPLIED
    71   prebuilt NMTOKEN #IMPLIED
    50   late (Y|N) #IMPLIED
    72   late (Y|N) #IMPLIED
    51   priority CDATA #IMPLIED>
    73   priority CDATA #IMPLIED
    52  <!ELEMENT SystemBuild (option*|target+|targetList+|list+|configuration+)*>
    74 >
    53  <!ATTLIST SystemBuild schema CDATA #REQUIRED>
       
    54  <!ELEMENT list (ref+)>
       
    55  <!ATTLIST list
       
    56   name ID #REQUIRED
       
    57   description CDATA #REQUIRED>
       
    58  <!ELEMENT ref EMPTY>
       
    59  <!ATTLIST ref item CDATA #REQUIRED>
       
    60  <!ELEMENT targetList EMPTY>
       
    61  <!ATTLIST targetList
       
    62   name ID #REQUIRED
       
    63   description CDATA #REQUIRED
       
    64   target IDREFS #REQUIRED>
       
    65  <!ELEMENT target EMPTY>
       
    66  <!ATTLIST target
       
    67   name ID #REQUIRED
       
    68   abldTarget CDATA #REQUIRED
       
    69   description CDATA #REQUIRED>
       
    70  <!ELEMENT option EMPTY>
       
    71  <!ATTLIST option
       
    72   name ID #REQUIRED
       
    73   abldOption CDATA #REQUIRED
       
    74   description CDATA #REQUIRED
       
    75   enable (Y|N) #REQUIRED>
       
    76  <!ELEMENT configuration (listRef+|ref+|task+)*>
       
    77  <!ATTLIST configuration
       
    78   name ID #REQUIRED
       
    79   description CDATA #REQUIRED
       
    80   filter CDATA #REQUIRED>
       
    81  <!ELEMENT task (listRef*,(buildLayer|specialInstructions))>
       
    82  <!ELEMENT listRef EMPTY>
       
    83  <!ATTLIST listRef list CDATA #REQUIRED>
       
    84  <!ELEMENT buildLayer EMPTY>
       
    85  <!ATTLIST buildLayer
       
    86   command CDATA #REQUIRED
       
    87   targetList IDREFS #IMPLIED
       
    88   unitParallel (Y|N) #REQUIRED
       
    89   targetParallel (Y|N) 'N'>
       
    90  <!ELEMENT specialInstructions EMPTY>
       
    91  <!ATTLIST specialInstructions
       
    92   name CDATA #REQUIRED
       
    93   cwd CDATA #REQUIRED
       
    94   root CDATA #IMPLIED
       
    95   command CDATA #REQUIRED>
       
    96 ]>
    75 ]>
    97 <SystemDefinition schema="2.0.1" name="Symbian^3">
    76 <SystemDefinition name="Symbian^3" schema="2.0.1">
    98 <systemModel>
    77   <systemModel>
    99 <layer name="mw" long-name="Middleware" levels="generic specific">
    78     <layer name="mw" long-name="Middleware" levels="generic specific">
   100 <block name="appinstall" level="generic" long-name="Application Installation" levels="tool framework generic api">
    79       <block name="appinstall" level="generic" long-name="Application Installation" levels="tool framework generic api">
   101 <collection name="installationservices" long-name="Installation Services" level="generic">
    80         <collection name="ncdengine" long-name="Nokia Content Discover" level="framework">
   102 <component name="swi" long-name="Secure Software Install" purpose="optional">
    81           <!-- is this really just a component? If so move down one diretcory. Otherwise properly split up the bld.inf -->
   103 <unit bldFile="/sf/mw/appinstall/installationservices/swi/group" mrp="/sf/mw/appinstall/installationservices/swi/group/security_swi.mrp"/>
    82           <component name="ncdengine_engine" filter="s60" long-name="NCD Engine" introduced="^1">
   104 </component>
    83             <unit bldFile="/sf/mw/appinstall/ncdengine/engine/group"/>
   105 <component name="swidevicetools" long-name="Secure Software Install Device Tools" introduced="8.1" purpose="development">
    84           </component>
   106 <unit bldFile="/sf/mw/appinstall/installationservices/swidevicetools/group" mrp="/sf/mw/appinstall/installationservices/swidevicetools/group/security_switools_device.mrp"/>
    85           <component name="debuglogger" filter="s60" long-name="NCD Debug Logger" introduced="^1" class="placeholder">
   107 </component>
    86             <!-- <unit bldFile="ncdengine/debuglogger/group"/> -->
   108 <component name="switestfw" long-name="Software Install Test Framework" deprecated="tb92" introduced="7.0" purpose="development">
    87           </component>
   109 <unit mrp="/sf/mw/appinstall/installationservices/switestfw/group/install_testframework.mrp"/>
    88           <component name="ncdengine_build" filter="s60" long-name="NCD Build" introduced="^1">
   110 </component>
    89             <unit bldFile="/sf/mw/appinstall/ncdengine/group"/>
   111 <component name="swiconfig" long-name="Software Install Config" introduced="9.1" purpose="optional" class="config">
    90           </component>
   112 <unit bldFile="/sf/mw/appinstall/installationservices/swiconfig/group" mrp="/sf/mw/appinstall/installationservices/swiconfig/group/install_config.mrp"/>
    91         </collection>
   113 </component>
    92         <collection name="appinstaller" long-name="Application Installer" level="generic">
   114 </collection>
    93           <component name="appmngr2" filter="s60" long-name="Application Manager 2" introduced="^2">
   115 <collection name="secureswitools" long-name="Secure Software Install Tools" level="tool">
    94             <unit bldFile="/sf/mw/appinstall/appinstaller/appmngr2/group"/>
   116 <component name="makekeys" long-name="MakeKeys" filter="gt" introduced="6.0" purpose="optional" class="PC">
    95           </component>
   117 <unit bldFile="/sf/mw/appinstall/secureswitools/makekeys/group" mrp="/sf/mw/appinstall/secureswitools/makekeys/group/security_makekeys.mrp"/>
    96           <component name="appinstui" filter="s60" long-name="Application Installer UI" introduced="^2">
   118 </component>
    97             <unit bldFile="/sf/mw/appinstall/appinstaller/appinstui/group"/>
   119 <component name="swianalysistoolkit" long-name="SWI Analysis Toolkit" purpose="development" class="PC">
    98           </component>
   120 <unit bldFile="/sf/mw/appinstall/secureswitools/swianalysistoolkit/group" mrp="/sf/mw/appinstall/secureswitools/swianalysistoolkit/group/security_switools.mrp"/>
    99         </collection>
   121 </component>
   100         <collection name="iaupdateapi_stub" long-name="IA Update API Stub" level="api">
   122 <component name="openssllib" long-name="OpenSSL Library" purpose="optional" class="PC">
   101           <!-- the collection is really a component. Move down a directory.-->
   123 <unit mrp="/sf/mw/appinstall/secureswitools/openssllib/security_openssl.mrp"/>
   102           <component name="iaupdateapi_stub_build" long-name="IA Update API Stub Build" filter="s60" introduced="^2">
   124 </component>
   103             <unit bldFile="/sf/mw/appinstall/iaupdateapi_stub/group"/>
   125 <component name="swisistools" long-name="Secure Software Install SIS Tools" purpose="optional" class="PC">
   104           </component>
   126 <unit bldFile="/sf/mw/appinstall/secureswitools/swisistools/group" mrp="/sf/mw/appinstall/secureswitools/swisistools/group/security_sistools.mrp"/>
   105         </collection>
   127 </component>
   106         <collection name="iaupdate" long-name="Independent Apps Update" level="api">
   128 </collection>
   107           <!-- is this really just a component? If so move down one diretcory. Otherwise properly split up the bld.inf -->
   129 <collection name="appinstall_info" long-name="Application Installation Info" level="api">
   108           <component name="iad" long-name="Software Update" filter="s60" introduced="^2">
   130 <component name="appinstall_metadata" long-name="Application Installation Metadata" introduced="tb91" purpose="development" class="config PC">
   109             <unit bldFile="/sf/mw/appinstall/iaupdate/iad/group"/>
   131 <unit mrp="/sf/mw/appinstall/appinstall_info/appinstall_metadata/appinstall_metadata.mrp"/>
   110           </component>
   132 </component>
   111           <component name="iaupdate_help" filter="s60" long-name="IA Update Help" introduced="^2">
   133 </collection>
   112             <unit bldFile="/sf/mw/appinstall/iaupdate/help/group"/>
   134 <collection name="s60">
   113           </component>
   135 <component name="appinstall">
   114           <component name="iaupdate_build" filter="s60" long-name="IA Update Build" introduced="^2">
   136 <unit bldFile="/sf/mw/appinstall/group" mrp=""/>
   115             <unit bldFile="/sf/mw/appinstall/iaupdate/group"/>
   137 </component>
   116           </component>
   138 </collection>
   117         </collection>
   139 </block>
   118         <collection name="installationservices" long-name="Installation Services" level="generic">
   140 </layer>
   119           <component name="swi" long-name="Secure Software Install" purpose="optional">
   141 </systemModel>
   120             <unit bldFile="/sf/mw/appinstall/installationservices/swi/group" mrp="/sf/mw/appinstall/installationservices/swi/group/security_swi.mrp"/>
       
   121           </component>
       
   122           <component name="swidevicetools" long-name="Secure Software Install Device Tools" introduced="8.1" purpose="development">
       
   123             <unit bldFile="/sf/mw/appinstall/installationservices/swidevicetools/group" mrp="/sf/mw/appinstall/installationservices/swidevicetools/group/security_switools_device.mrp"/>
       
   124           </component>
       
   125           <component name="switestfw" long-name="Software Install Test Framework" deprecated="^3" introduced="7.0" purpose="development" filter="test">
       
   126             <unit mrp="/sf/mw/appinstall/installationservices/switestfw/group/install_testframework.mrp" bldFile="/sf/mw/appinstall/installationservices/switestfw/group"/>
       
   127           </component>
       
   128           <component name="swiconfig" long-name="Software Install Config" introduced="9.1" purpose="optional" class="config">
       
   129             <unit bldFile="/sf/mw/appinstall/installationservices/swiconfig/group" mrp="/sf/mw/appinstall/installationservices/swiconfig/group/install_config.mrp"/>
       
   130           </component>
       
   131         </collection>
       
   132         <collection name="secureswitools" long-name="Secure Software Install Tools" level="tool">
       
   133           <component name="makekeys" long-name="MakeKeys" filter="gt" introduced="6.0" purpose="optional" class="PC">
       
   134             <unit bldFile="/sf/mw/appinstall/secureswitools/makekeys/group" mrp="/sf/mw/appinstall/secureswitools/makekeys/group/security_makekeys.mrp"/>
       
   135           </component>
       
   136           <component name="swianalysistoolkit" long-name="SWI Analysis Toolkit" purpose="development" class="PC">
       
   137             <unit bldFile="/sf/mw/appinstall/secureswitools/swianalysistoolkit/group" mrp="/sf/mw/appinstall/secureswitools/swianalysistoolkit/group/security_switools.mrp"/>
       
   138           </component>
       
   139           <component name="openssllib" long-name="OpenSSL Library" purpose="optional" class="PC">
       
   140             <unit mrp="/sf/mw/appinstall/secureswitools/openssllib/security_openssl.mrp"/>
       
   141           </component>
       
   142           <component name="swisistools" long-name="Secure Software Install SIS Tools" purpose="optional" class="PC">
       
   143             <unit bldFile="/sf/mw/appinstall/secureswitools/swisistools/group" mrp="/sf/mw/appinstall/secureswitools/swisistools/group/security_sistools.mrp"/>
       
   144           </component>
       
   145         </collection>
       
   146         <collection name="appinstall_info" long-name="Application Installation Info" level="api">
       
   147           <component name="appinstall_pub" filter="s60" long-name="Application Installation Public Interfaces" class="api">
       
   148             <unit bldFile="/sf/mw/appinstall/appinstall_pub/group"/>
       
   149           </component>
       
   150           <component name="appinstall_plat" filter="s60" long-name="Application Installation Platform Interfaces" class="api">
       
   151             <unit bldFile="/sf/mw/appinstall/appinstall_plat/group"/>
       
   152           </component>
       
   153           <component name="appinstall_test" filter="s60,api_test" long-name="Application Installation Test" purpose="development">
       
   154             <unit bldFile="/sf/mw/appinstall/tsrc/group"/>
       
   155           </component>
       
   156           <component name="appinstall_metadata" long-name="Application Installation Metadata" introduced="^2" purpose="development" class="config PC">
       
   157             <unit mrp="/sf/mw/appinstall/appinstall_info/appinstall_metadata/appinstall_metadata.mrp"/>
       
   158           </component>
       
   159         </collection>
       
   160       </block>
       
   161     </layer>
       
   162   </systemModel>
   142 </SystemDefinition>
   163 </SystemDefinition>