catalina.home system property configured with the pathname of the Tomcat installation
directory.bootstrap.jar and $JAVA_HOME/lib/tools.jar.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:
ant.home system property to corresponding to the value of
catalina.home (useful when your command line tool runs Ant).common/classes and common/lib to the class loader
repositories.server/classes and server/lib to the class loader
repositories.shared/classes and shared/lib to the class loader
repositories.main()
method.| Modifier and Type | Field and Description |
|---|---|
| private static boolean | ant
Set |
| 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? |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| private static void |
| ant | back to summary |
|---|---|
| private static boolean ant Set | |
| catalinaHome | back to summary |
|---|---|
| private static final String catalinaHome The pathname of our installation base directory. | |
| common | back to summary |
|---|---|
| private static boolean common Include common classes in the repositories? | |
| log | back to summary |
|---|---|
| private static final Log log | |
| server | back to summary |
|---|---|
| private static boolean server Include server classes in the repositories? | |
| shared | back to summary |
|---|---|
| private static boolean shared Include shared classes in the repositories? | |
| Tool | back to summary |
|---|---|
| public Tool() | |
| main | back to summary |
|---|---|
| public static void main(String[] args) The main program for the bootstrap.
| |
| usage | back to summary |
|---|---|
| private static void usage() Display usage information about this tool. | |