org.clapper.curn
Class Bootstrap
java.lang.Object
org.clapper.curn.Bootstrap
public class Bootstrap
- extends java.lang.Object
Main program that bootstraps curn by adding new elements to the
classpath on the fly. This utility takes a list of jar files, zip files
and/or directories. It loads them all into a class loader and, at the
same time, searches any directories (not recursively) for jars and zip
files. It then invokes the tool specified on the command line. Usage:
java org.clapper.curn.Bootstrap [jar|zip|dir] ... -- programClassName [args]
This utility performs the following parameter substitutions on the
[jar|zip|dir] parameters:
| Parameter |
Substituted with |
| @user.home |
The value of the "user.home" Java system property (i.e., the
user's home directory, if any). |
| @user.name |
The value of the "user.name" Java system property (i.e., the
invoking user's name, if known). |
| @java.home |
The value of the "java.home" Java system property (i.e., the
location of the Java JRE). |
| @pwd |
The current working directory (i.e., the value of the "user.dir"
Java system property). |
- Version:
- $Revision: 6491 $
- Author:
- Copyright © 2006 Brian M. Clapper
|
Method Summary |
static void |
main(java.lang.String[] args)
Main program |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(java.lang.String[] args)
throws java.lang.Throwable
- Main program
- Throws:
java.lang.Throwable
Copyright © 2004-2006 Brian M. Clapper. All Rights Reserved.