symbian3/mw/metadatasrv/package_definition.xml
branchHighFidelityModel
changeset 245 30e67220bf86
parent 147 af12043c2836
child 481 3e63b7f94b64
--- a/symbian3/mw/metadatasrv/package_definition.xml	Tue May 25 11:17:36 2010 +0100
+++ b/symbian3/mw/metadatasrv/package_definition.xml	Wed May 26 17:18:20 2010 +0100
@@ -1,118 +1,51 @@
 <?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^3" schema="2.0.1">
-  <systemModel>
-    <layer name="mw" long-name="Middleware" levels="generic specific">
-      <block name="metadatasrv" level="specific" long-name="Legacy Metadata Services" levels="plugin framework server generic specific">
-        <collection name="metadatasrv_pub" long-name="Legacy Metadata Services Public Interfaces" level="specific">
-          <component name="content_listing_framework_api" long-name="Content Listing Framework API" filter="s60" class="api">
-            <!-- Leave commented out until confguration is in use
+<SystemDefinition schema="3.0.0">
+ <package id="metadatasrv" name="Legacy Metadata Services" levels="plugin framework server generic specific">
+  <collection id="metadatasrv_pub" name="Legacy Metadata Services Public Interfaces" level="specific">
+   <component id="content_listing_framework_api" name="Content Listing Framework API" class="api" filter="s60">
+    <meta rel="config">
+     <not-defined condition="RD_MDS_2_5"/>
+    </meta>
+    <!-- Leave commented out until confguration is in use
 	unit bldFile="metadatasrv_pub/content_listing_framework_api/group"/>-->
-          </component>
-          <component name="media_fetch_api" long-name="Media Fetch API" filter="s60" class="api">
-            <unit bldFile="/sf/mw/metadatasrv/metadatasrv_pub/media_fetch_api/group"/>
-          </component>
-          <component name="metadatasrv_pub_build" long-name="Legacy Metadata Services Public Interface Build" filter="s60" class="api">
-            <!-- only needed for #ifdefs, remove when confguration is in use -->
-            <unit bldFile="/sf/mw/metadatasrv/metadatasrv_pub/group"/>
-          </component>
-        </collection>
-        <collection name="metadatasrv_plat" long-name="Legacy Metadata Services Platform Interfaces" level="specific">
-          <component name="media_fetch_implementation_api" long-name="Media Fetch Implementation API" filter="s60" class="api">
-            <unit bldFile="/sf/mw/metadatasrv/metadatasrv_plat/media_fetch_implementation_api/group"/>
-          </component>
-          <component name="content_listing_framework_collection_manager_api" long-name="Content Listing Framework Collection Manager API" filter="s60" class="api">
-            <!-- Leave commented out until confguration is in use
+   </component>
+   <component id="media_fetch_api" name="Media Fetch API" class="api" filter="s60">
+    <meta rel="Api" href="metadatasrv_pub/media_fetch_api/media_fetch_api.metaxml"/>
+    <unit bldFile="metadatasrv_pub/media_fetch_api/group"/>
+   </component>
+   <component id="metadatasrv_pub_build" name="Legacy Metadata Services Public Interface Build" class="api" filter="s60">
+	<!-- only needed for #ifdefs, remove when confguration is in use -->
+    <unit bldFile="metadatasrv_pub/group"/>
+   </component>
+  </collection>
+  <collection id="metadatasrv_plat" name="Legacy Metadata Services Platform Interfaces" level="specific">
+   <component id="media_fetch_implementation_api" name="Media Fetch Implementation API" class="api" filter="s60">
+    <meta rel="Api" href="metadatasrv_plat/media_fetch_implementation_api/media_fetch_implementation_api.metaxml"/>
+    <unit bldFile="metadatasrv_plat/media_fetch_implementation_api/group"/>
+   </component>
+   <component id="content_listing_framework_collection_manager_api" name="Content Listing Framework Collection Manager API" class="api" filter="s60">
+    <meta rel="config">
+     <not-defined condition="RD_MDS_2_5"/>
+    </meta>
+    <!-- Leave commented out until confguration is in use
     <unit bldFile="metadatasrv_plat/content_listing_framework_collection_manager_api/group"/>-->
-          </component>
-          <component name="content_listing_framework_extended_api" long-name="Content Listing Framework Extended API" filter="s60" class="api">
-            <!-- Leave commented out until confguration is in use
+   </component>
+   <component id="content_listing_framework_extended_api" name="Content Listing Framework Extended API" class="api" filter="s60">
+    <meta rel="config">
+     <not-defined condition="RD_MDS_2_5"/>
+    </meta>
+    <!-- Leave commented out until confguration is in use
     <unit bldFile="metadatasrv_plat/content_listing_framework_extended_api/group"/>-->
-          </component>
-          <component name="metadatasrv_plat_build" long-name="Legacy Metadata Services Platform Interface Build" filter="s60" class="api">
-            <!-- only needed for #ifdefs, remove when confguration is in use -->
-            <unit bldFile="/sf/mw/metadatasrv/metadatasrv_plat/group"/>
-          </component>
-        </collection>
-        <collection name="mediamanagementutilities" long-name="Media Management Utilities" level="generic">
-          <component name="mediafetch" filter="s60" long-name="Media Fetch">
-            <unit bldFile="/sf/mw/metadatasrv/mediamanagementutilities/mediafetch/group"/>
-          </component>
-        </collection>
-      </block>
-    </layer>
-  </systemModel>
+   </component>
+   <component id="metadatasrv_plat_build" name="Legacy Metadata Services Platform Interface Build" class="api" filter="s60">
+	<!-- only needed for #ifdefs, remove when confguration is in use -->
+    <unit bldFile="metadatasrv_plat/group"/>
+   </component>
+  </collection>
+  <collection id="mediamanagementutilities" name="Media Management Utilities" level="generic">
+   <component id="mediafetch" filter="s60" name="Media Fetch">
+    <unit bldFile="mediamanagementutilities/mediafetch/group"/>
+   </component>
+  </collection>
+ </package>
 </SystemDefinition>