Rational Developer for System z, Version 7.6

Subproject definition schema

The following schema defines tags used to define a subproject definition file.
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:element name="SUBPROJECT-STRUCTURE">
  <xsd:annotation>
    <xsd:documentation>
      Top level element of a host-based subproject definition
      file. Note: any string representing a file can contain
      the substitution variable <HLQ> which will be
      replaced by the user's user ID at system connect time
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="WSED-VERSION"></xsd:element>
      <xsd:element ref="SUBPROJECT"></xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

<xsd:element name="WSED-VERSION" type="xsd:string"></xsd:element>

<xsd:element name="SUBPROJECT">
  <xsd:annotation>
    <xsd:documentation>
      Defines the structure of a host-based subproject
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="SUBPROJECT-NAME"></xsd:element>
      <xsd:element ref="SUBPROJECT-NATURE-LIST"></xsd:element>
      <xsd:element ref="SUBPROJECT-PROPERTIES-LOCATION"></xsd:element>
      <xsd:element ref="SUBPROJECT-TYPE"></xsd:element>
      <xsd:element ref="FOLDER-LIST"></xsd:element>
      <xsd:element ref="FILE-LIST"></xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

<xsd:element name="SUBPROJECT-NAME" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation></xsd:documentation>
  </xsd:annotation>
</xsd:element>

<xsd:element name="SUBPROJECT-NATURE-LIST">
  <xsd:annotation>
    <xsd:documentation>
      A list of Eclipse project natures to be associated with
      this subproject
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="SUBPROJECT-NATURE" minOccurs="0"></xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

<xsd:element name="SUBPROJECT-NATURE" type="subprojectNatureType">
  <xsd:annotation>
    <xsd:documentation>
      Currently only one nature is supported
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>

<xsd:simpleType name="subprojectNatureType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="com.ibm.ftt.projects.zos.zosnature"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:element name="SUBPROJECT-PROPERTIES-LOCATION" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>
      The path to the subproject properties file. The path is
      relative to the root project configuration folder on the
      remote system.
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>

<xsd:element name="SUBPROJECT-TYPE" type="subprojectType">
  <xsd:annotation>
    <xsd:documentation>
      Currently only zos-subproject type is supported
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>

<xsd:simpleType name="subprojectType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="zos-subproject"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:element name="FOLDER-LIST">
  <xsd:annotation>
    <xsd:documentation>
      A list of folder resources contained by this subproject.
      For MVS, this would be a PDS
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
       <xsd:element ref="FOLDER" minOccurs="0"></xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

<xsd:element name="FOLDER">
  <xsd:annotation>
    <xsd:documentation>
      Information related to the folder resource
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="FOLDER-NAME"></xsd:element>
      <xsd:element ref="FOLDER-TYPE"></xsd:element>
      <xsd:element ref="FOLDER-STATE"></xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

<xsd:element name="FOLDER-NAME" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>
      The fully qualified name of the folder resource on the
      remote system e.g. A.B.C on MVS
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>

<xsd:element name="FOLDER-TYPE" type="folderType">
  <xsd:annotation>
    <xsd:documentation>
      Currently the folder type must be "pds"
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>

<xsd:simpleType name="folderType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="pds"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:element name="FOLDER-STATE">
  <xsd:annotation>
    <xsd:documentation>
      Information related to the state of the folder resource
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="STATE-IS-OFFLINE"></xsd:element>
      <xsd:element ref="PHYSICAL-FOLDER"></xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

<xsd:element name="STATE-IS-OFFLINE" type="isOfflineType">
  <xsd:annotation>
    <xsd:documentation>
      Currently the state must be online
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>

<xsd:simpleType name="isOfflineType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="false"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:element name="PHYSICAL-FOLDER">
  <xsd:annotation>
    <xsd:documentation>
      Information related to the physical folder on the remote
      system
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="FOLDER-NAME"></xsd:element>
      <xsd:element ref="FOLDER-PHYSICAL-PATH"></xsd:element>
      <xsd:element ref="FOLDER-TYPE"></xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

<xsd:element name="FOLDER-PHYSICAL-PATH" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>
      The fully qualified name of the folder resource on the
      remote system e.g. A.B.C on MVS
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>

<xsd:element name="FILE-LIST">
  <xsd:annotation>
    <xsd:documentation>
      A list of file resources contained by this subproject.
      For MVS, this would be a PDS member or a sequential
      data set
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="FILE" minOccurs="0"></xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

<xsd:element name="FILE">
  <xsd:annotation>
    <xsd:documentation>
      Information related to the file resource
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="FILE-NAME"></xsd:element>
      <xsd:element ref="FILE-EXTENSION"></xsd:element>
      <xsd:element ref="FILE-NAME-NO-EXTENSION"></xsd:element>
      <xsd:element ref="FILE-TYPE"></xsd:element>
      <xsd:element ref="FILE-STATE"></xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

<xsd:element name="FILE-NAME" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>
      The fully qualified name of the file resource on the
      remote system, including mapped extension e.g.
      A.B.COBOL/HELLO.cbl for a PDS member on MVS where
      A.B.COBOL is the PDS name and HELLO is the member name
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>

<xsd:element name="FILE-EXTENSION" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>
      This should correspond to the extension defined by the
      file system mapping for this system. E.g. **COBOL
      data sets would have a .cbl extension
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>

<xsd:element name="FILE-NAME-NO-EXTENSION" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>
      The fully qualified file name without the extension
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>

<xsd:element name="FILE-TYPE" type="fileType">
  <xsd:annotation>
    <xsd:documentation>
      For MVS this would be PDS member or sequential data set
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>

<xsd:simpleType name="fileType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="pds-member"/>
    <xsd:enumeration value="sequential"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:element name="FILE-STATE">
  <xsd:annotation>
    <xsd:documentation>
      Information related to the state of the file resource
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="STATE-IS-OFFLINE"></xsd:element>
      <xsd:element ref="PHYSICAL-FILE"></xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

<xsd:element name="PHYSICAL-FILE">
  <xsd:annotation>
    <xsd:documentation>
      Information related to the physical file on the remote
      system
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="FILE-NAME"></xsd:element>
      <xsd:element ref="FILE-PHYSICAL-PATH"></xsd:element>
      <xsd:element ref="FILE-TYPE"></xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

<xsd:element name="FILE-PHYSICAL-PATH" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>
      The fully qualified name of the file resource on the
      remote system e.g. A.B.C on MVS
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>

</xsd:schema>

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)