IBM Streams 4.3.0

Toolkit information model file

The toolkit information model is an optional file called info.xml. It contains the name, description, and version information about the toolkit. It also contains any dependencies that might exist on other toolkits, in the form of a list of toolkit names and versions or range of versions required.

The description of national language resources and files to be included or excluded from application bundle files are defined in the toolkit information model.

To specify a range of versions for the dependent toolkits, use brackets ([]) or parentheses. Use brackets to represent an inclusive range and parentheses to represent an exclusive range. The following examples describe how to specify a dependency on a range of toolkit versions:

  • [1.0.0, 2.0.0] represents a dependency on toolkit versions 1.0.0 - 2.0.0, both inclusive.
  • [1.0.0, 2.0.0) represents a dependency on toolkit versions 1.0.0 or later, but not including 2.0.0.
  • (1.0.0, 2.0.0] represents a dependency on toolkits versions later than 1.0.0 and less than or equal to 2.0.0.
  • (1.0.0, 2.0.0) represents a dependency on toolkit versions 1.0.0 - 2.0.0, both exclusive.

Sample

Here is an example of a toolkit information model file (info.xml).

<toolkitInfoModel 
  xmlns="http://www.ibm.com/xmlns/prod/streams/spl/toolkitInfo" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema−instance" 
  xmlns:cmn="http://www.ibm.com/xmlns/prod/streams/spl/common" 
  xsi:schemaLocation="http://www.ibm.com/xmlns/prod/streams/spl/toolkitInfo toolkitInfoModel.xsd">
 <identity> 
   <name>my−toolkit</name> 
   <description>My Toolkit</description> 
   <version>1.0.0</version> 
   <requiredProductVersion>2.0.0</requiredProductVersion> 
 </identity> 
 <dependencies> 
   <toolkit> 
     <cmn:name>test−pkg</cmn:name> 
     <cmn:version>1.2.3</cmn:version> 
   </toolkit> 
   <toolkit> 
     <cmn:name>another−test−pkg</cmn:name> 
     <cmn:version>[4.5.6,5.2)</cmn:version> 
   </toolkit> 
 </dependencies> 
</toolkitInfoModel>