The grid-library.dtd
The following is the grid-library.dtd file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright 2022 TIBCO Software, Inc. All Rights Reserved. -->
<!-- Grid-Library is in the root of the GL. -->
<!ELEMENT grid-library (grid-library-name, grid-library-version?, arguments?, dependency*, conflict*, jar-path*, lib-path*,
assembly-path*, command-path*, hooks-path*, environment-variables*, java-system-properties*)>
<!ATTLIST grid-library jre (true|false) "false">
<!ATTLIST grid-library bridge (true|false) "false">
<!ATTLIST grid-library super (true|false) "false">
<!ATTLIST grid-library os CDATA #IMPLIED >
<!ATTLIST grid-library compiler CDATA #IMPLIED >
<!-- The library name. -->
<!ELEMENT grid-library-name (#PCDATA)>
<!-- The version. If not specified, 0 is implied. -->
<!ELEMENT grid-library-version (#PCDATA)>
<!-- Additional arguments to the JVM. -->
<!ELEMENT arguments (property*)>
<!-- A library dependency. Dependencies can be specified by package name and
optional version.
If the version is not specified, the latest version is chosen at load time. -->
<!ELEMENT dependency (grid-library-name, grid-library-version?)>
<!-- A library conflict. Indicates that this library conflicts with the given
library.
If this library is NOT a dependency, and grid-library-name="*",
then it indicates that this library conflicts with all other libraries
(aside from its own dependencies). -->
<!ELEMENT conflict (grid-library-name)>
<!-- The JAR path. If specified, all jars and classes in the path are loaded. -->
<!ELEMENT jar-path (pathelement*)>
<!ATTLIST jar-path os CDATA #IMPLIED>
<!ATTLIST jar-path compiler CDATA #IMPLIED>
<!-- An element of a path, typically a directory. -->
<!ELEMENT pathelement (#PCDATA)>
<!-- Load library path. If not specified, it is assumed that no native libraries are
loaded by this GL.
If this is specified and it the library was not loaded at init time, the Engine will restart, adding this path to the current path. -->
<!ELEMENT lib-path (pathelement*)>
<!ATTLIST lib-path os CDATA #IMPLIED>
<!ATTLIST lib-path compiler CDATA #IMPLIED>
<!-- .NET assembly path. System.AppDomain.CurrentDomain.AppendPrivatePath(path) will be called on this path,
which add it to the lookup location for assemblies. -->
<!ELEMENT assembly-path (pathelement*)>
<!ATTLIST assembly-path os CDATA #IMPLIED>
<!ATTLIST assembly-path compiler CDATA #IMPLIED>
<!-- The path in which the Engine will search for Command Service executables. -->
<!ELEMENT command-path (pathelement*)>
<!ATTLIST command-path os CDATA #IMPLIED>
<!ATTLIST command-path compiler CDATA #IMPLIED>
<!-- Engine hooks library path. Hook will be initialized as libraries are loaded. -->
<!ELEMENT hooks-path (pathelement*)>
<!ATTLIST hooks-path os CDATA #IMPLIED>
<!ATTLIST hooks-path compiler CDATA #IMPLIED>
<!-- Environment variables to set. Environment variables are set via JNI immediately prior to executing a task using this library. -->
<!ELEMENT environment-variables (property*)>
<!ATTLIST environment-variables os CDATA #IMPLIED>
<!ATTLIST environment-variables compiler CDATA #IMPLIED>
<!-- A property, used by env vars & system props. -->
<!ELEMENT property (name,value)>
<!-- The name for a property element. -->
<!ELEMENT name (#PCDATA)>
<!-- The value for a property element. -->
<!ELEMENT value (#PCDATA)>
<!-- Java system properties, which are set upon load. -->
<!ELEMENT java-system-properties (property*)>
<!ATTLIST java-system-properties os CDATA #IMPLIED>
<!ATTLIST java-system-properties compiler CDATA #IMPLIED>
<!-- end of grid-library dtd -->