symbian3/app/webuis/package_definition.xml
branchHighFidelityModel
changeset 245 30e67220bf86
parent 46 c94b55c3fb61
child 503 369bf028144a
--- a/symbian3/app/webuis/package_definition.xml	Tue May 25 11:17:36 2010 +0100
+++ b/symbian3/app/webuis/package_definition.xml	Wed May 26 17:18:20 2010 +0100
@@ -1,124 +1,52 @@
 <?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="app" long-name="Applications" levels="services apps">
-      <block name="webuis" level="services" long-name="Web UIs" levels="plugin app">
-        <collection name="browserui" long-name="Browser UI" level="app">
-          <component name="browser" filter="s60" long-name="Browser">
-            <unit bldFile="/sf/app/webuis/browserui/browser/group"/>
-          </component>
-          <component name="operatormenu" filter="s60" long-name="Browser Operator Menu">
-            <unit bldFile="/sf/app/webuis/browserui/operatormenu/group"/>
-          </component>
-          <component name="videoservices" filter="s60" long-name="Browser Video Services">
-            <unit bldFile="/sf/app/webuis/browserui/videoservices/group"/>
-          </component>
-        </collection>
-        <collection name="browserplugins" long-name="Browser Plugins" level="plugin">
-          <component name="browsersysteminfoplugin" filter="s60" long-name="Browser System Info Plugin" plugin="Y">
-            <!-- uncomment the unit when configuration is in place, it's currently #included from browserplugins_build -->
-            <!-- <unit bldFile="browserplugins/browsersysteminfoplugin/group"/>-->
-          </component>
-          <component name="browsergpsplugin" filter="s60" long-name="Browser GPS Plugin" plugin="Y">
-            <!-- uncomment the unit when configuration is in place, it's currently #included from browserplugins_build -->
-            <!-- <unit bldFile="browserplugins/browsergpsplugin/group"/>-->
-          </component>
-          <component name="browseraudiovideoplugin" filter="s60" long-name="Browser Audio Video Plugin" plugin="Y">
-            <unit bldFile="/sf/app/webuis/browserplugins/browseraudiovideoplugin/group"/>
-          </component>
-          <component name="browserplugins_build" filter="s60" long-name="Browser Plugins Build">
-            <!-- when configuration is in place, the #ifdef is no longer needed and this component can be removed -->
-            <unit bldFile="/sf/app/webuis/browserplugins/group"/>
-          </component>
-        </collection>
-        <collection name="pushmtm" long-name="Push MTM" level="plugin">
-          <component name="pushmtm_help" filter="s60" long-name="Push MTM Help">
-            <unit bldFile="/sf/app/webuis/pushmtm/help/group"/>
-          </component>
-          <component name="plugins" filter="s60" long-name="Push MTM Plugins" plugin="Y">
-            <unit bldFile="/sf/app/webuis/pushmtm/plugins/group"/>
-          </component>
-          <component name="pushmtm_build" filter="s60" long-name="Push MTM Build">
-            <!-- Some content is at collection level and some is at comopnent level. Either make this a single
+<SystemDefinition schema="3.0.0">
+  <package id="webuis" name="Web UIs" levels="plugin app">
+    <collection id="browserui" name="Browser UI" level="app">
+      <component id="browser" filter="s60" name="Browser">
+        <unit bldFile="browserui/browser/group"/>
+      </component>
+      <component id="operatormenu" filter="s60" name="Browser Operator Menu">
+        <unit bldFile="browserui/operatormenu/group"/>
+      </component>
+      <component id="videoservices" filter="s60" name="Browser Video Services">
+        <unit bldFile="browserui/videoservices/group"/>
+      </component>
+    </collection>
+    <collection id="browserplugins" name="Browser Plugins" level="plugin">
+      <component id="browsersysteminfoplugin" filter="s60" name="Browser System Info Plugin" class="plugin">
+      	<meta rel="config">
+      		<defined condition="__WEB_WIDGETS"/>
+      	</meta>
+      	<!-- uncomment the unit when configuration is in place, it's currently #included from browserplugins_build -->
+        <!-- <unit bldFile="browserplugins/browsersysteminfoplugin/group"/>-->
+      </component>
+      <component id="browsergpsplugin" filter="s60" name="Browser GPS Plugin" class="plugin">
+      	<meta rel="config">
+      		<defined condition="__WEB_WIDGETS"/>
+      	</meta>
+      	<!-- uncomment the unit when configuration is in place, it's currently #included from browserplugins_build -->
+        <!-- <unit bldFile="browserplugins/browsergpsplugin/group"/>-->
+      </component>
+      <component id="browseraudiovideoplugin" filter="s60" name="Browser Audio Video Plugin" class="plugin">
+        <unit bldFile="browserplugins/browseraudiovideoplugin/group"/>
+      </component>
+      <component id="browserplugins_build" filter="s60" name="Browser Plugins Build">
+		<!-- when configuration is in place, the #ifdef is no longer needed and this component can be removed -->
+        <unit bldFile="browserplugins/group"/>
+      </component>
+    </collection>
+    <collection id="pushmtm" name="Push MTM" level="plugin">
+      <component id="pushmtm_help" filter="s60" name="Push MTM Help">
+        <unit bldFile="pushmtm/help/group"/>
+      </component>
+      <component id="plugins" filter="s60" name="Push MTM Plugins" class="plugin">
+        <unit bldFile="pushmtm/plugins/group"/>
+      </component>
+      <component id="pushmtm_build" filter="s60" name="Push MTM Build">
+		<!-- Some content is at collection level and some is at comopnent level. Either make this a single
 			component and move it down a diretcory, or make separate independent components in this collection -->
-            <unit bldFile="/sf/app/webuis/pushmtm/group"/>
-          </component>
-        </collection>
-      </block>
-    </layer>
-  </systemModel>
+        <unit bldFile="pushmtm/group"/>
+      </component>
+    </collection>
+  </package>
 </SystemDefinition>