symbian4/mw/mds/package_definition.xml
branchHighFidelityModel
changeset 246 f99f9ea9b39f
parent 150 8d58b930d36e
child 316 079a06b9ec58
--- a/symbian4/mw/mds/package_definition.xml	Wed May 26 17:18:20 2010 +0100
+++ b/symbian4/mw/mds/package_definition.xml	Wed May 26 17:30:43 2010 +0100
@@ -1,208 +1,149 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE SystemDefinition [
-<!ELEMENT SystemDefinition ( systemModel )>
-<!ATTLIST SystemDefinition
-  name CDATA #REQUIRED
-  schema CDATA #REQUIRED
->
-<!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not.  -->
-
-<!-- System Model Section of DTD -->
-<!ELEMENT systemModel (layer+)>
-
-<!ELEMENT layer (block* | collection*)*>
-<!-- Kernel Services, Base Services, OS Services, Etc -->
-<!ATTLIST layer
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
-  levels NMTOKENS #IMPLIED
-  span CDATA #IMPLIED
->
-
-<!ELEMENT block (subblock* | collection*)*>
- <!-- Generic OS services, Comms Services, etc -->
-<!ATTLIST block
-  levels NMTOKENS #IMPLIED
-  span CDATA #IMPLIED
-  level NMTOKEN #IMPLIED
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
->
-
-<!ELEMENT subblock (collection)*>
-<!-- Cellular Baseband Services, Networking Services, etc -->
-<!ATTLIST subblock
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
->
-
-<!ELEMENT collection (component)*>
-<!-- Screen Driver, Content Handling, etc -->
-<!ATTLIST collection
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
-  level NMTOKEN #IMPLIED
->
-
-<!ELEMENT component (unit)*>
-<!-- contains units or is a  package or prebuilt -->
-<!ATTLIST component
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
-  deprecated CDATA #IMPLIED
-  introduced CDATA #IMPLIED
-  contract CDATA #IMPLIED
-  plugin (Y|N) "N"
-  filter CDATA #IMPLIED
-  class NMTOKENS #IMPLIED
-  supports CDATA #IMPLIED
-  purpose ( optional | mandatory | development ) "optional"
->
-
-<!ELEMENT unit EMPTY >
-<!-- must be buildable (bld.inf) -->
-<!-- bldFile  may someday be removed in favour of mrp -->
-<!ATTLIST unit
-  mrp CDATA #IMPLIED
-  filter CDATA #IMPLIED
-  bldFile CDATA #IMPLIED
-  root CDATA #IMPLIED
-  version NMTOKEN #IMPLIED
-  prebuilt NMTOKEN #IMPLIED
-  late (Y|N) #IMPLIED
-  priority CDATA #IMPLIED
->
-]>
-<SystemDefinition name="Symbian^4" schema="2.0.1">
-  <systemModel>
-    <layer name="mw" long-name="Middleware" levels="generic specific">
-      <block name="mds" level="specific" long-name="Metadata Services" levels="mgr eng server int">
-        <collection name="mds_plat" long-name="Metadata Services Platform Interfaces" level="int">
-          <component name="context_engine_plugin_api" long-name="Context Engine Plugin API" introduced="^2" filter="s60" class="api">
-            <unit bldFile="/sf/mw/mds/mds_plat/context_engine_plugin_api/group" filter="!test"/>
-            <unit bldFile="/sf/mw/mds/mds_plat/context_engine_plugin_api/tsrc/group" filter="test,api_test"/>
-          </component>
-          <component name="harvester_framework_api" long-name="Harvester Framework API" introduced="^2" filter="s60" class="api">
-            <unit bldFile="/sf/mw/mds/mds_plat/harvester_framework_api/group" filter="!test"/>
-            <unit bldFile="/sf/mw/mds/mds_plat/harvester_framework_api/tsrc/group" filter="test,api_test"/>
-            <!-- can only have one unit with the same filter, #include the following from the previous unit -->
-            <unit bldFile="/sf/mw/mds/mds_plat/harvester_framework_api/tsrc/composerplugintest/group" filter="test,api_test"/>
-            <unit bldFile="/sf/mw/mds/mds_plat/harvester_framework_api/tsrc/harvesterclienttest/group" filter="test,api_test"/>
-            <unit bldFile="/sf/mw/mds/mds_plat/harvester_framework_api/tsrc/harvesterdatatest/group" filter="test,api_test"/>
-            <unit bldFile="/sf/mw/mds/mds_plat/harvester_framework_api/tsrc/harvesterplugintest/group" filter="test,api_test"/>
-            <unit bldFile="/sf/mw/mds/mds_plat/harvester_framework_api/tsrc/monitorplugintest/group" filter="test,api_test"/>
-          </component>
-          <component name="location_manager_api" long-name="Location Manager API" introduced="^2" filter="s60" class="api">
-            <unit bldFile="/sf/mw/mds/mds_plat/location_manager_api/group" filter="!test"/>
-            <unit bldFile="/sf/mw/mds/mds_plat/location_manager_api/tsrc/group" filter="test,api_test"/>
-          </component>
-          <component name="metadata_engine_api" long-name="Metadata Engine API" introduced="^2" filter="s60" class="api">
-            <unit bldFile="/sf/mw/mds/mds_plat/metadata_engine_api/group" filter="!test"/>
-            <unit bldFile="/sf/mw/mds/mds_plat/metadata_engine_api/tsrc/group" filter="test,api_test"/>
-          </component>
-          <component name="content_listing_framework_collection_manager_api" long-name="Content Listing Framework Collection Manager API" introduced="^2" filter="s60" class="api">
-            <unit bldFile="/sf/mw/mds/mds_plat/content_listing_framework_collection_manager_api/group" filter="!test"/>
-            <unit bldFile="/sf/mw/mds/mds_plat/content_listing_framework_collection_manager_api/tsrc/group" filter="test,api_test"/>
-          </component>
-          <component name="content_listing_framework_extended_api" long-name="Content Listing Framework Extended API" introduced="^2" filter="s60" class="api">
-            <unit bldFile="/sf/mw/mds/mds_plat/content_listing_framework_extended_api/group"/>
-          </component>
-        </collection>
-        <collection name="mds_pub" long-name="Metadata Services Public Interfaces" level="int">
-          <component name="content_listing_framework_api" long-name="Content Listing Framework API" introduced="^2" filter="s60" class="api">
-            <unit bldFile="/sf/mw/mds/mds_pub/content_listing_framework_api/group" filter="!test"/>
-            <unit bldFile="/sf/mw/mds/mds_pub/content_listing_framework_api/tsrc/group" filter="test,api_test"/>
-          </component>
-        </collection>
-        <collection name="metadataengine" long-name="Metadata Engine" level="eng">
-          <component name="metadataengine_common" filter="s60" long-name="Metadata Engine Common" introduced="^2">
-            <unit bldFile="/sf/mw/mds/metadataengine/common/group"/>
-          </component>
-          <component name="metadataengine_server" filter="s60" long-name="Metadata Engine Server" introduced="^2">
-            <unit bldFile="/sf/mw/mds/metadataengine/server/group"/>
-          </component>
-          <component name="metadataengine_client" filter="s60" long-name="Metadata Engine Client" introduced="^2">
-            <unit bldFile="/sf/mw/mds/metadataengine/client/group"/>
-          </component>
-          <component name="metadataengine_build" filter="s60" long-name="Metadata Engine Build" introduced="^2">
-            <!--make this collection a single component, or split this bld.inf into the other units  -->
-            <unit bldFile="/sf/mw/mds/metadataengine/group"/>
-          </component>
-        </collection>
-        <collection name="locationmanager" long-name="Location Manager" level="mgr">
-          <component name="locationtrail" filter="s60" long-name="Location Trail" introduced="^2">
-            <unit bldFile="/sf/mw/mds/locationmanager/locationtrail/group"/>
-          </component>
-          <component name="locationmanager_server" filter="s60" long-name="Location Manager Server" introduced="^2">
-            <unit bldFile="/sf/mw/mds/locationmanager/server/group"/>
-          </component>
-          <component name="locationmanager_client" filter="s60" long-name="Location Manager Client" introduced="^2">
-            <unit bldFile="/sf/mw/mds/locationmanager/client/group"/>
-          </component>
-          <component name="locationmanager_build" filter="s60" long-name="Location Manager Build" introduced="^2">
-            <!--make this collection a single component, or split this bld.inf into the other units  -->
-            <unit bldFile="/sf/mw/mds/locationmanager/group"/>
-          </component>
-        </collection>
-        <collection name="contextengine" long-name="Context Engine" level="eng">
-          <component name="contextengine_plugins" filter="s60" long-name="Context Engine Plugins" introduced="^2" plugin="Y">
-            <unit bldFile="/sf/mw/mds/contextengine/plugins/group"/>
-          </component>
-          <component name="contextengine_build" filter="s60" long-name="Context Engine Build" introduced="^2">
-            <!--make this collection a single component, or make this unit self-contained  -->
-            <unit bldFile="/sf/mw/mds/contextengine/group"/>
-          </component>
-        </collection>
-        <collection name="harvester" long-name="Harvester" level="eng">
-          <component name="blacklistclient" filter="s60" long-name="Blacklist Client" introduced="^2">
-            <unit bldFile="/sf/mw/mds/harvester/blacklistclient/group"/>
-          </component>
-          <component name="blacklistserver" filter="s60" long-name="Blacklist Server" introduced="^2">
-            <unit bldFile="/sf/mw/mds/harvester/blacklistserver/group"/>
-          </component>
-          <component name="harvester_common" filter="s60" long-name="Harvester Common" introduced="^2">
-            <unit bldFile="/sf/mw/mds/harvester/common/group"/>
-          </component>
-          <component name="composerplugins" filter="s60" long-name="Composer Plugins" introduced="^2" plugin="Y">
-            <unit bldFile="/sf/mw/mds/harvester/composerplugins/group"/>
-          </component>
-          <component name="harvesterplugins" filter="s60" long-name="Harvester Plugins" introduced="^2" plugin="Y">
-            <unit bldFile="/sf/mw/mds/harvester/harvesterplugins/group"/>
-          </component>
-          <component name="monitorplugins" filter="s60" long-name="Monitor Plugins" introduced="^2" plugin="Y">
-            <unit bldFile="/sf/mw/mds/harvester/monitorplugins/group"/>
-          </component>
-          <component name="harvester_server" filter="s60" long-name="Harvester Server" introduced="^2">
-            <unit bldFile="/sf/mw/mds/harvester/server/group"/>
-          </component>
-          <component name="harvester_client" filter="s60" long-name="Harvester Client" introduced="^2">
-            <unit bldFile="/sf/mw/mds/harvester/client/group"/>
-          </component>
-          <component name="harvester_build" filter="s60" long-name="Harvester Build" introduced="^2">
-            <!-- split these exports into the other components -->
-            <unit bldFile="/sf/mw/mds/harvester/group"/>
-          </component>
-        </collection>
-        <collection name="watchdog" long-name="Watchdog" level="server">
-          <!-- collection is really a component. Move down a directory -->
-          <component name="mdswatchdog" filter="s60" long-name="Metadata Watchdog" introduced="^2">
-            <unit bldFile="/sf/mw/mds/watchdog/group"/>
-          </component>
-        </collection>
-        <collection name="clfwrapper" long-name="Content Listing Framework Wrapper" level="int">
-          <!-- collection is really a component. Move down a directory -->
-          <component name="clfwrapper_build" filter="s60" long-name="CLF Wrapper Build" introduced="^2" class="placeholder">
-            <!-- Uncomment unit when configuration is in place. Currently #included from mds_build -->
-            <!--<unit bldFile="clfwrapper/group"/>-->
-          </component>
-        </collection>
-        <collection name="mds_info" long-name="Metadata Services Info" level="int">
-          <component name="mds_build" filter="s60" long-name="Metadata Services Build" introduced="^2">
-            <!-- consider distributiing this into the rest of the components in the package -->
-            <unit bldFile="/sf/mw/mds/group"/>
-          </component>
-        </collection>
-      </block>
-    </layer>
-  </systemModel>
+<SystemDefinition schema="3.0.0">
+ <package id="mds" name="Metadata Services" levels="mgr eng server int">
+  <collection id="mds_plat" name="Metadata Services Platform Interfaces" level="int">
+   <component id="context_engine_plugin_api" name="Context Engine Plugin API" introduced="^2" class="api" filter="s60">
+    <meta rel="Api" href="mds_plat/context_engine_plugin_api/context_engine_plugin_api.metaxml"/>
+    <unit bldFile="mds_plat/context_engine_plugin_api/group" filter="!test"/>
+    <unit bldFile="mds_plat/context_engine_plugin_api/tsrc/group" filter="test,api_test"/>
+   </component>
+   <component id="harvester_framework_api" name="Harvester Framework API" introduced="^2" class="api" filter="s60">
+    <meta rel="Api" href="mds_plat/harvester_framework_api/harvester_framework_api.metaxml"/>
+    <unit bldFile="mds_plat/harvester_framework_api/group" filter="!test"/>
+    <unit bldFile="mds_plat/harvester_framework_api/tsrc/group" filter="test,api_test"/>
+		<!-- can only have one unit with the same filter, #include the following from the previous unit -->
+    <unit bldFile="mds_plat/harvester_framework_api/tsrc/composerplugintest/group" filter="test,api_test"/>
+    <unit bldFile="mds_plat/harvester_framework_api/tsrc/harvesterclienttest/group" filter="test,api_test"/>
+    <unit bldFile="mds_plat/harvester_framework_api/tsrc/harvesterdatatest/group" filter="test,api_test"/>
+    <unit bldFile="mds_plat/harvester_framework_api/tsrc/harvesterplugintest/group" filter="test,api_test"/>
+    <unit bldFile="mds_plat/harvester_framework_api/tsrc/monitorplugintest/group" filter="test,api_test"/>
+   </component>
+   <component id="location_manager_api" name="Location Manager API" introduced="^2" class="api" filter="s60">
+    <meta rel="Api" href="mds_plat/location_manager_api/location_manager_api.metaxml"/>
+    <unit bldFile="mds_plat/location_manager_api/group" filter="!test"/>
+    <unit bldFile="mds_plat/location_manager_api/tsrc/group" filter="test,api_test"/>
+   </component>
+   <component id="metadata_engine_api" name="Metadata Engine API" introduced="^2" class="api" filter="s60">
+    <meta rel="Api" href="mds_plat/metadata_engine_api/metadata_engine_api.metaxml"/>
+    <unit bldFile="mds_plat/metadata_engine_api/group" filter="!test"/>
+    <unit bldFile="mds_plat/metadata_engine_api/tsrc/group" filter="test,api_test"/>
+   </component>
+   <component id="content_listing_framework_collection_manager_api" name="Content Listing Framework Collection Manager API" introduced="^2" class="api" filter="s60">
+    <meta rel="Api" href="mds_plat/content_listing_framework_collection_manager_api/content_listing_framework_collection_manager_api.metaxml"/>
+    <meta rel="config">
+     <defined condition="RD_MDS_2_5"/>
+    </meta>
+    <unit bldFile="mds_plat/content_listing_framework_collection_manager_api/group" filter="!test"/>
+    <unit bldFile="mds_plat/content_listing_framework_collection_manager_api/tsrc/group" filter="test,api_test"/>
+   </component>
+   <component id="content_listing_framework_extended_api" name="Content Listing Framework Extended API" introduced="^2" class="api" filter="s60">
+    <meta rel="Api" href="mds_plat/content_listing_framework_extended_api/content_listing_framework_extended_api.metaxml"/>
+    <meta rel="config">
+     <defined condition="RD_MDS_2_5"/>
+    </meta>
+    <unit bldFile="mds_plat/content_listing_framework_extended_api/group"/>
+   </component>
+  </collection>
+  <collection id="mds_pub" name="Metadata Services Public Interfaces" level="int">
+   <component id="content_listing_framework_api" name="Content Listing Framework API" introduced="^2" class="api" filter="s60">
+    <meta rel="Api" href="mds_pub/content_listing_framework_api/content_listing_framework_api.metaxml"/>
+    <meta rel="config">
+     <defined condition="RD_MDS_2_5"/>
+    </meta>
+    <unit bldFile="mds_pub/content_listing_framework_api/group" filter="!test"/>
+    <unit bldFile="mds_pub/content_listing_framework_api/tsrc/group" filter="test,api_test"/>
+   </component>
+  </collection>
+  <collection id="metadataengine" name="Metadata Engine" level="eng">
+   <component id="metadataengine_common" filter="s60" name="Metadata Engine Common" introduced="^2">
+    <unit bldFile="metadataengine/common/group"/>
+   </component>
+   <component id="metadataengine_server" filter="s60" name="Metadata Engine Server" introduced="^2">
+    <unit bldFile="metadataengine/server/group"/>
+   </component>
+   <component id="metadataengine_client" filter="s60" name="Metadata Engine Client" introduced="^2">
+    <unit bldFile="metadataengine/client/group"/>
+   </component>
+   <component id="metadataengine_build" filter="s60" name="Metadata Engine Build" introduced="^2">
+    <!--make this collection a single component, or split this bld.inf into the other units  -->
+    <unit bldFile="metadataengine/group"/>
+   </component>
+  </collection>
+  <collection id="locationmanager" name="Location Manager" level="mgr">
+   <component id="locationtrail" filter="s60" name="Location Trail" introduced="^2">
+    <unit bldFile="locationmanager/locationtrail/group"/>
+   </component>
+   <component id="locationmanager_server" filter="s60" name="Location Manager Server" introduced="^2">
+    <unit bldFile="locationmanager/server/group"/>
+   </component>
+   <component id="locationmanager_client" filter="s60" name="Location Manager Client" introduced="^2">
+    <unit bldFile="locationmanager/client/group"/>
+   </component>
+   <component id="locationmanager_build" filter="s60" name="Location Manager Build" introduced="^2">
+    <!--make this collection a single component, or split this bld.inf into the other units  -->
+    <unit bldFile="locationmanager/group"/>
+   </component>
+  </collection>
+  <collection id="contextengine" name="Context Engine" level="eng">
+   <component id="contextengine_plugins" filter="s60" name="Context Engine Plugins" class="plugin" introduced="^2">
+    <unit bldFile="contextengine/plugins/group"/>
+   </component>
+   <component id="contextengine_build" filter="s60" name="Context Engine Build" introduced="^2">
+    <!--make this collection a single component, or make this unit self-contained  -->
+    <unit bldFile="contextengine/group"/>
+   </component>
+  </collection>
+  <collection id="harvester" name="Harvester" level="eng">
+   <component id="blacklistclient" filter="s60" name="Blacklist Client" introduced="^2">
+    <unit bldFile="harvester/blacklistclient/group"/>
+   </component>
+   <component id="blacklistserver" filter="s60" name="Blacklist Server" introduced="^2">
+    <unit bldFile="harvester/blacklistserver/group"/>
+   </component>
+   <component id="harvester_common" filter="s60" name="Harvester Common" introduced="^2">
+    <unit bldFile="harvester/common/group"/>
+   </component>
+   <component id="composerplugins" filter="s60" name="Composer Plugins" class="plugin" introduced="^2">
+    <unit bldFile="harvester/composerplugins/group"/>
+   </component>
+   <component id="harvesterplugins" filter="s60" name="Harvester Plugins" class="plugin" introduced="^2">
+    <unit bldFile="harvester/harvesterplugins/group"/>
+   </component>
+   <component id="monitorplugins" filter="s60" name="Monitor Plugins" class="plugin" introduced="^2">
+    <unit bldFile="harvester/monitorplugins/group"/>
+   </component>
+   <component id="harvester_server" filter="s60" name="Harvester Server" introduced="^2">
+    <unit bldFile="harvester/server/group"/>
+   </component>
+   <component id="harvester_client" filter="s60" name="Harvester Client" introduced="^2">
+    <unit bldFile="harvester/client/group"/>
+   </component>
+   <component id="harvester_build" filter="s60" name="Harvester Build" introduced="^2">
+    <!-- split these exports into the other components -->
+    <unit bldFile="harvester/group"/>
+   </component>
+  </collection>
+  <collection id="watchdog" name="Watchdog" level="server">
+   <!-- collection is really a component. Move down a directory -->
+   <component id="mdswatchdog" filter="s60" name="Metadata Watchdog" introduced="^2">
+    <unit bldFile="watchdog/group"/>
+   </component>
+  </collection>
+  <collection id="clfwrapper" name="Content Listing Framework Wrapper" level="int">
+   <!-- collection is really a component. Move down a directory -->
+   <meta rel="config">
+    <defined condition="RD_MDS_2_5"/>
+   </meta>
+   <component id="clfwrapper_build" filter="s60" name="CLF Wrapper Build" introduced="^2">
+    <!-- Uncomment unit when configuration is in place. Currently #included from mds_build -->
+    <!--<unit bldFile="clfwrapper/group"/>-->
+   </component>
+  </collection>
+  <collection id="mds_info" name="Metadata Services Info" level="int">
+   <component id="mds_build" filter="s60" name="Metadata Services Build" introduced="^2">
+    <!-- consider distributiing this into the rest of the components in the package -->
+    <unit bldFile="group"/>
+   </component>
+  </collection>
+ </package>
 </SystemDefinition>