Create the grid-library.xml File

Grid Library

The grid-library.xml file is located at the root of a Grid Library archive. It specifies name, version, dependencies, paths, operating system, and other information about a Grid Library. The following is an example of a grid-library.xml for a distribution:

<?xml version="1.0" encoding="UTF-8"?>

<grid-library os="linux">

<grid-library-name>

TIBCO_BWPlugin_Dist

</grid-library-name>

<grid-library-version>

3.4.0.0

</grid-library-version>

</grid-library>

Your grid-library.xml must contain the following elements and attributes:

  • Agrid-library element with an os attribute. The os attribute defines the operating system on which the distribution is running. You can define the element and attribute with value in any of the following ways:

    • <grid-library os="linux">
    • <grid-library os="linux64">
    • <grid-library os="linux64">
    • <grid-library os="solaris">
    • <grid-library os="solarisX86">
    • <grid-library os="win32">
    • <grid-library os="win64">
  • If the distribution is platform-neutral, set the element and os attribute to: <grid-library os="all">

  • A grid-library-name element. This defines the name of the distribution.
Note:

The distribution Grid Library must begin with "TIBCO_" so that it is recognized but any string may be appended after that. It can be named anything as long as it follows Silver Fabric Grid Library naming conventions. It is suggested to use the naming convention of TIBCO_BWpluginName_distribution_gridlib, where BW Plugin Name, is the BusinessWorks plug-in name used by TIBCO Universal installer.

  • A grid-library-version element. This defines the version of the BusinessWorks plug-in. The numeric value may have at the most to five digits.

    For more information on the grid-library.xml file, see the "Using the Silver Fabric SDK" chapter of the Silver Fabric Developer’s Guide.