User: juha    
  Date: 00/10/05 01:36:06

  Added:       webstore/build build.sh
  Log:
  Shell script courtesy of Marcel.
  
  Revision  Changes    Path
  1.1                  zola/webstore/build/build.sh
  
  Index: build.sh
  ===================================================================
  #!/bin/sh
  
  if [ ${JAVA_HOME:=""} = "" ] ; then
     echo "ERROR: Please set the environment variable JAVA_HOME"
     exit
  fi
  
  if [ ${TOMCAT_HOME:=""} = "" ] ; then
     echo "ERROR: Please set the environment variable TOMCAT_HOME"
     exit
  fi
  
  CLASSPATH=$CLASSPATH:../../lib/ant.jar:../../lib/servlet.jar
  CLASSPATH=$CLASSPATH:../../lib/xml.jar
  
  $JAVA_HOME/bin/java -Dant.home=$TOMCAT_HOME \
                      -Dtomcat.home=$TOMCAT_HOME \
                      -classpath $CLASSPATH \
                      org.apache.tools.ant.Main -buildfile build.xml $@
  
  
  
  

Reply via email to