Library Tool updates library.txt files. For more detailed information about the structure of these files, refer to Configuration Tasks ® Configuration of Additional Libraries . Library Tool can be started using the libtool script file, located in the <SAPj2eeEngine_install_dir>/tools directory. The syntax of the parameters is as follows:
libtool validate|include [parameter_values]
The syntax of the
validate
option is:
libtool validate –s <cluster_directory_name>
This option verifies the JAR files in the corresponding cluster node directory. All JAR files in each entry in library.txt file are compared with the JAR files in the additional-lib directory. If the comparison fails, an appropriate error message is displayed.
library.txt
files can be updated with the
include
command. The syntax is:
libtool include –s <source_directory> –d <destination_directory> [-r]
<source_directory>
is the directory containing the source
library.txt
file. This file stores information about the new libraries – this information is also added to the destination
library.txt
file. Parameter
–r
performs a special function. If the source file and the destination file contain equal library names and
–r
is specified in the command line, the old library entry is updated with the new one. Otherwise, the old library remains unchanged.