From 2e364fd6693d0360eafd523a34ffe7e992df87e3 Mon Sep 17 00:00:00 2001 From: metasim Date: Tue, 16 Jan 2001 19:20:49 +0000 Subject: [PATCH] Testing rig. Not totally generallized, but helpful. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268470 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tools/ant/gui/customizer/.wrapper | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 src/antidote/org/apache/tools/ant/gui/customizer/.wrapper diff --git a/src/antidote/org/apache/tools/ant/gui/customizer/.wrapper b/src/antidote/org/apache/tools/ant/gui/customizer/.wrapper new file mode 100755 index 000000000..5995815e9 --- /dev/null +++ b/src/antidote/org/apache/tools/ant/gui/customizer/.wrapper @@ -0,0 +1,28 @@ +#!/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 $*