com.townleyenterprises.tool
Class mkcpbat
java.lang.Object
com.townleyenterprises.tool.mkcpbat
- public final class mkcpbat
- extends java.lang.Object
This is a simple utility to automatically generate an MS-DOS
compatible COMMAND.COM script used to set the classpath for your
environment.
The basic usage of this command is something like the following:
C:\project> java -cp te-common.jar com.townleyenterprises.tool.mkcpbat --outfile classpath.bat lib/*.jar
C:\project> call classpath.bat
The main motivation behind this tool is that there's no easy way to
do this with the built-in mechanisms of the OS. For UNIX, you can
do the following instead:
$ for file in `pwd`/lib/*.jar;do CLASSPATH=$file:$CLASSPATH;export CLASSPATH; done
- Since:
- 2.1
- Version:
- $Id: mkcpbat.java,v 1.5 2004/07/30 16:43:41 atownley Exp $
- Author:
- Andrew S. Townley
Method Summary |
static void |
main(java.lang.String[] args)
|
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)
Copyright © 2002-2004, Andrew S. Townley and Townley Enterprises. All Rights Reserved.
This project is hosted on http://te-code.sourceforge.net.