geirm       01/04/02 21:08:26

  Added:       .        BUILD_DOCS.txt
  Log:
  Simple instructions to build the site
  
  Revision  Changes    Path
  1.1                  jakarta-commons/BUILD_DOCS.txt
  
  Index: BUILD_DOCS.txt
  ===================================================================
  To build the Commons site :
  
  1) Make sure ant, xerces and velocity are in your classpath.
    (Sorry, I tried...)
  
  2) Either invoke Ant directly with the build.xml file in this
    directory
  
    or 
  
    java org.apache.tools.ant.Main -buildfile build.xml
  
    or
  
    use the following as a build.sh script :)
  
  --- CUT HERE --- 
  
  #!/bin/sh
  #-----------------------------
  # Script for building 
  #-----------------------------
  
  #--------------------------------------------
  # No need to edit anything past here
  #--------------------------------------------
  if test -z "${JAVA_HOME}" ; then
      echo "ERROR: JAVA_HOME not found in your environment."
      echo "Please, set the JAVA_HOME variable in your environment to match the"
      echo "location of the Java Virtual Machine you want to use."
      exit
  fi
  
  if [ "$BUILDFILE" = "" ] ; then
      BUILDFILE=build.xml
  fi
  
  ${JAVA_HOME}/bin/java -classpath ${CLASSPATH} \
                         org.apache.tools.ant.Main \
                         -buildfile ${BUILDFILE} "$@"
  
  
  

Reply via email to