commonservices/sysutil/layers.sysdef.xml
author hgs
Thu, 01 Jul 2010 11:20:10 +0300
changeset 41 c87e5f80c17d
permissions -rw-r--r--
201025_04
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
41
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
     1
<?xml version="1.0"?>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
     2
<!DOCTYPE SystemDefinition [
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
     3
 <!ELEMENT SystemDefinition (systemModel?, build?)>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
     4
 <!ATTLIST SystemDefinition
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
     5
  name CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
     6
  schema CDATA #REQUIRED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
     7
 <!ELEMENT systemModel (layer+)>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
     8
 <!ELEMENT layer (logicalset* | module*)*>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
     9
 <!ATTLIST layer
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    10
  name CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    11
  levels CDATA #IMPLIED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    12
  span CDATA #IMPLIED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    13
 <!ELEMENT logicalset (logicalsubset* | module* | unit* | package* | prebuilt*)*>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    14
 <!ATTLIST logicalset 
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    15
  name CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    16
  levels CDATA #IMPLIED  
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    17
  span CDATA #IMPLIED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    18
  level CDATA #IMPLIED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    19
 <!ELEMENT logicalsubset (module* | unit* | package* | prebuilt*)*>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    20
 <!ATTLIST logicalsubset name CDATA #REQUIRED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    21
 <!ELEMENT module (component* | unit* | package* | prebuilt*)*>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    22
 <!ATTLIST module
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    23
  name CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    24
  level CDATA #IMPLIED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    25
 <!ELEMENT component (unit* | package* | prebuilt*)*>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    26
 <!ATTLIST component name CDATA #REQUIRED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    27
 <!ELEMENT unit EMPTY>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    28
 <!ATTLIST unit
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    29
  unitID ID #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    30
  name CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    31
  mrp CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    32
  filter CDATA #IMPLIED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    33
  bldFile CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    34
  priority CDATA #IMPLIED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    35
  contract CDATA #IMPLIED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    36
 <!ELEMENT package EMPTY>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    37
 <!ATTLIST package
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    38
  name CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    39
  mrp CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    40
  filter CDATA #IMPLIED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    41
  contract CDATA #IMPLIED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    42
 <!ELEMENT prebuilt EMPTY>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    43
 <!ATTLIST prebuilt
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    44
  name CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    45
  version CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    46
  late (Y|N) #IMPLIED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    47
  filter CDATA #IMPLIED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    48
  contract CDATA #IMPLIED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    49
 <!ELEMENT build (option* | target+ | targetList+ | unitList+ | configuration+)*>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    50
 <!ELEMENT unitList (unitRef+)>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    51
 <!ATTLIST unitList
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    52
  name ID #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    53
  description CDATA #REQUIRED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    54
 <!ELEMENT unitRef EMPTY>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    55
 <!ATTLIST unitRef unit IDREF #REQUIRED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    56
 <!ELEMENT targetList EMPTY>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    57
 <!ATTLIST targetList
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    58
  name ID #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    59
  description CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    60
  target IDREFS #REQUIRED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    61
 <!ELEMENT target EMPTY>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    62
 <!ATTLIST target
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    63
  name ID #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    64
  abldTarget CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    65
  description CDATA #REQUIRED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    66
 <!ELEMENT option EMPTY>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    67
 <!ATTLIST option
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    68
  name ID #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    69
  abldOption CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    70
  description CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    71
  enable (Y | N | y | n) #REQUIRED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    72
 <!ELEMENT configuration (unitListRef+ | layerRef+ | task+)*>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    73
 <!ATTLIST configuration
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    74
  name ID #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    75
  description CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    76
  filter CDATA #REQUIRED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    77
 <!ELEMENT task ( unitListRef* , (buildLayer | specialInstructions))>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    78
 <!ELEMENT unitListRef EMPTY>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    79
 <!ATTLIST unitListRef unitList IDREF #REQUIRED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    80
 <!ELEMENT layerRef EMPTY>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    81
 <!ATTLIST layerRef layerName CDATA #REQUIRED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    82
 <!ELEMENT buildLayer EMPTY>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    83
 <!ATTLIST buildLayer
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    84
  command CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    85
  targetList IDREFS #IMPLIED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    86
  unitParallel (Y | N | y | n) #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    87
  targetParallel (Y | N | y | n) #IMPLIED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    88
 <!ELEMENT specialInstructions EMPTY>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    89
 <!ATTLIST specialInstructions
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    90
  name CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    91
  cwd CDATA #REQUIRED
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    92
  command CDATA #REQUIRED>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    93
  <!ENTITY layer_real_source_path "sf/os/devicesrv/commonservices/sysutil" >
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    94
]>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    95
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    96
<SystemDefinition name="Dvscode" schema="1.4.0">
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    97
  <systemModel>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    98
    <layer name="os_layer">
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
    99
		<module name="DeviceSrv_DFS">
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
   100
			<unit name="sysutil" unitID="sos.sysutil" bldFile="&layer_real_source_path;/group" mrp="&layer_real_source_path;/group/sysutil.mrp"/>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
   101
		</module>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
   102
    </layer>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
   103
	
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
   104
	<layer name="api_test_layer">
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
   105
		<module name="DeviceSrv_DFS">
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
   106
			<unit name="sysutil" unitID="sos.sysutil_test" bldFile="&layer_real_source_path;/group" mrp="&layer_real_source_path;/group/sysutil.mrp"/>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
   107
		</module>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
   108
	</layer>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
   109
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
   110
  </systemModel>
c87e5f80c17d 201025_04
hgs
parents:
diff changeset
   111
</SystemDefinition>