Start of changeIBM Content Navigator, Version 2.0.3     Supports:  CMIS for Content Manager

Removing libraries

You can remove an existing library by using the LibraryDelete tool.

About this task

In an interactive mode, the tool prompts you for all required options. You can also run the tool in a silent mode by specifying the options and values. You can use either the single character or the full name of the option.

To display a list of available options, enter java com.ibm.content.cm.tools.LibraryDelete -? or java com.ibm.content.cm.tools.LibraryDelete -help.

Procedure

To run the LibraryDelete tool:

Run the Java command with the following format: java com.ibm.content.cm.tools.LibraryDelete -options values.
Use the following command options for the LibraryDelete tool:
r or repository
The Content Manager EE database name or the alias name.
u or user
The Content Manager EE user ID that you use to log in.
p or password
The Content Manager EE password that you use to log in.
o or options
The Content Manager EE connection options that you can use to connect to Content Manager EE. For more information about connection options, see the DKDatastoreICM::connect() method or the SConnectDisconnectICM.java sample.
l or label
The label or the short name of the library that you delete.
g or grp
The existing library group under which the library is created.
d or deleteFolder
Delete the underlying mapped folder. The option can be set to true or false.
z or throwExc
The exception message. The value can be either true or false. The default value is false.

Example

The following code sample shows how to run the tool in an interactive mode:
Operating system Code sample
Linux or UNIX systems ./configure-repository.sh LibraryDelete
Windows configure-repository.bat LibraryDelete
The following code sample shows how to run the tool in a silent mode. You must enter the command in one line.
java com.ibm.content.cm.tools.LibraryDelete -r icmnlsdb -u icmadmin -p password
 -o SCHEMA=ICMADMIN -g myLibGrp -l myLib -d false -z true
End of change