Creating The Grid-library.xml File

The grid-library.xml file, which is located at the root of a Grid Library archive, 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 an implementation:

?xml version="1.0" encoding="UTF-8"?>
<grid-library> 
		
<grid-library-name>
Sample_plugin_extension_gridlib
</grid-library-name>
 <grid-library-version>
1.0.0.0
 </grid-library-version>
 <jar-path>
<pathelement>ds_jars</pathelement>
</jar-path>
</grid-library> 
		

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

  • A grid-library element with an os attribute. The os attribute defines the operating system on which the distribution is running. The element and attribute with value could be defined with any of the following:
    • <grid-library os="linux">
    • <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 the element and os attribute should be set to: <grid-library os="all">.

  • A grid-library-name element. This defines the name of the implementation. The extension Grid Library can be named anything as long as it follows Silver Fabric Grid Library naming conventions. It is suggested to use the naming convention of BW Plugin Name_extension_gridlib, where BW Plugin Name is the BusinessWorks plugin name used by TIBCO Universal installer.
  • A grid-library-version element. This defines the version of the distribution. The standard version format should be 4 digits, with the fourth digit as the extension Hotfix version.
    Note: For more information on the grid-library.xml file, see the "Using the Silver Fabric SDK" chapter of the Silver Fabric Developer’s Guide.

After you create a grid-library.xml file you should include it when Building an Extension Grid Library.