Simplify jrt package definition to ensure that java_stubs are built properly - matrixmenu depends on javaregistryclient.dll HighFidelityModel
authorWilliam Roberts <williamr@symbian.org>
Fri, 30 Apr 2010 17:32:15 +0100
branchHighFidelityModel
changeset 186 4d3b366e82ed
parent 185 4f9b808eb677
child 187 038710a76c00
Simplify jrt package definition to ensure that java_stubs are built properly - matrixmenu depends on javaregistryclient.dll
symbian3/app/jrt/package_definition.xml
symbian3/app/jrt/package_definition_3.0.xml
--- a/symbian3/app/jrt/package_definition.xml	Fri Apr 30 14:00:00 2010 +0100
+++ b/symbian3/app/jrt/package_definition.xml	Fri Apr 30 17:32:15 2010 +0100
@@ -1,78 +1,78 @@
 <?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
->
-]>
+<!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">
@@ -89,27 +89,10 @@
           </component>
         </collection>
         <collection name="java_stubs" long-name="Java Stubs" level="util">
-          <!-- uncomment all components when configuration is in place. Currently #included from jrt_build -->
-          <component name="javadrmutils" long-name="Java DRM Utils" filter="s60,sf_build" class="placeholder">
-            <!--<unit bldFile="java_stubs/jrtdrmutils/group"/>-->
-          </component>
-          <component name="javaenvinfo" long-name="Java Environment Info" filter="s60,sf_build" class="placeholder">
-            <!--<unit bldFile="java_stubs/jrtenvinfo/group"/>-->
-          </component>
-          <component name="javaregistry" filter="s60,sf_build" long-name="Java Registry" class="placeholder">
-            <!--<unit bldFile="java_stubs/jrtregistry/clientserver/client/group"/>-->
-          </component>
-          <component name="java_stubs_build" filter="s60,sf_build" long-name="Java Stubs ROM" class="placeholder">
-            <!-- Remove the #includes and rename JRT ROM-->
+          <component name="java_stubs_build" filter="s60" long-name="JRT Stubs Build">
             <unit bldFile="/sf/app/jrt/java_stubs/group"/>
           </component>
         </collection>
-        <collection name="jrt_info" long-name="JRT Info" level="rt">
-          <component name="jrt_build" filter="s60" long-name="JRT Build">
-            <!--  needed for __JAVA_STUBS condition
-            <unit bldFile="/sf/app/jrt/group"/> -->
-          </component>
-        </collection>
       </block>
     </layer>
   </systemModel>
--- a/symbian3/app/jrt/package_definition_3.0.xml	Fri Apr 30 14:00:00 2010 +0100
+++ b/symbian3/app/jrt/package_definition_3.0.xml	Fri Apr 30 17:32:15 2010 +0100
@@ -13,28 +13,8 @@
    </component>
   </collection>
   <collection id="java_stubs" name="Java Stubs" level="util">
-   <meta rel="config">
-    <defined condition="__JAVA_STUBS"/>
-   </meta>
-   <!-- uncomment all components when configuration is in place. Currently #included from jrt_build -->
-   <component id="javadrmutils" name="Java DRM Utils" filter="s60,sf_build">
-    <!--<unit bldFile="java_stubs/jrtdrmutils/group"/>-->
-   </component>
-   <component id="javaenvinfo" name="Java Environment Info" filter="s60,sf_build">
-    <!--<unit bldFile="java_stubs/jrtenvinfo/group"/>-->
-   </component>
-   <component id="javaregistry" filter="s60,sf_build" name="Java Registry">
-    <!--<unit bldFile="java_stubs/jrtregistry/clientserver/client/group"/>-->
-   </component>
-   <component id="java_stubs_build" filter="s60,sf_build" name="Java Stubs ROM">
-    <!-- Remove the #includes and rename JRT ROM-->
-    <!--<unit bldFile="java_stubs/group"/>-->
-   </component>
-  </collection>
-  <collection id="jrt_info" name="JRT Info" level="rt">
-   <component id="jrt_build" filter="s60" name="JRT Build">
-    <!--  needed for __JAVA_STUBS condition -->
-    <unit bldFile="group"/>
+   <component id="java_stubs_build" filter="s60" name="JRT Stubs Build">
+    <unit bldFile="java_stubs/group"/>
    </component>
   </collection>
  </package>