You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by me...@apache.org on 2001/01/16 20:20:50 UTC
cvs commit: jakarta-ant/src/antidote/org/apache/tools/ant/gui/customizer .wrapper
metasim 01/01/16 11:20:49
Added: src/antidote/org/apache/tools/ant/gui/customizer .wrapper
Log:
Testing rig. Not totally generallized, but helpful.
Revision Changes Path
1.1 jakarta-ant/src/antidote/org/apache/tools/ant/gui/customizer/.wrapper
Index: .wrapper
===================================================================
#!/bin/sh
# Wrapper script for launching Java files without having to type the
# package prefix. To use make a link to this file with the same name
# as the class you want to run.
# Edit this line to represent the package that your class belongs to.
PACKAGE=org.apache.tools.ant.gui.customizer
# Set your application's classpath here.
CLASSPATH=$HOME/build/antidote/classes:$HOME/build/ant/lib/ant.jar
# Compose the fully qualified class name.
START=$PACKAGE.`basename $0`
# Java runtime path.
EXE=/usr/java1.3/bin/java
# Set any runtime options here
OPTS="-classpath $CLASSPATH"
# Turn the JIT off if the variable "DEBUG" is set in the environment.
if [ ! -z $DEBUG ]; then
OPTS="$OPTS -Djava.compiler=NONE"
fi
# Launch the program.
#echo $EXE $OPTS $START $*
exec $EXE $OPTS $START $*