You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by ca...@apache.org on 2001/05/21 22:49:57 UTC

cvs commit: jakarta-taglibs/random build.sh

catlett     01/05/21 13:49:57

  Added:       random   build.sh
  Log:
  first import of random taglib
  
  Revision  Changes    Path
  1.1                  jakarta-taglibs/random/build.sh
  
  Index: build.sh
  ===================================================================
  #! /bin/sh
  
  if [ -z "$ANT_HOME" ] ; then
    ANT_HOME=../../jakarta-ant
  fi
  if [ -z "$JAVA_HOME" ] ; then
    echo you need to set JAVA_HOME to the location of your jdk
    exit 1
  fi
  
  args=""
  if [ "$SERVLET_JAR" != "" ] ; then
    args="$args -Dservlet.jar=$SERVLET_JAR"
  fi
  args="$args -Dant.home=$ANT_HOME"
  
  cp=$ANT_HOME/lib/ant.jar:$ANT_HOME/lib/xml.jar:$JAVA_HOME/lib/tools.jar
  
  java -classpath $cp:$CLASSPATH org.apache.tools.ant.Main $args "$@"