Top Description Fields Constructors Methods
org.apache.catalina.startup

public final Class Tool

extends Object
Class Inheritance
Imports
java.io.File, java.lang.reflect.Method, java.util.ArrayList, .List, org.apache.juli.logging.Log, .LogFactory

General purpose wrapper for command line tools that should execute in an environment with the common class loader environment set up by Catalina. This should be executed from a command line script that conforms to the following requirements:

The command line to execute the tool looks like:

  java -classpath $CLASSPATH org.apache.catalina.startup.Tool \
    ${options} ${classname} ${arguments}

with the following replacement contents:

Author
Craig R. McClanahan

Field Summary

Modifier and TypeField and Description
private static boolean
ant

Set ant.home system property?

private static final String
catalinaHome

The pathname of our installation base directory.

private static boolean
common

Include common classes in the repositories?

private static final Log
private static boolean
server

Include server classes in the repositories?

private static boolean
shared

Include shared classes in the repositories?

Constructor Summary

AccessConstructor and Description
public
Tool()

Method Summary

Modifier and TypeMethod and Description
public static void
main(String[]
Command line arguments to be processed
args
)

The main program for the bootstrap.

private static void
usage()

Display usage information about this tool.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

antback to summary
private static boolean ant

Set ant.home system property?

catalinaHomeback to summary
private static final String catalinaHome

The pathname of our installation base directory.

commonback to summary
private static boolean common

Include common classes in the repositories?

logback to summary
private static final Log log
serverback to summary
private static boolean server

Include server classes in the repositories?

sharedback to summary
private static boolean shared

Include shared classes in the repositories?

Constructor Detail

Toolback to summary
public Tool()

Method Detail

mainback to summary
public static void main(String[] args)

The main program for the bootstrap.

Parameters
args:String[]

Command line arguments to be processed

Annotations
@SuppressWarnings:null
usageback to summary
private static void usage()

Display usage information about this tool.