You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@locus.apache.org on 2000/09/19 02:33:15 UTC

cvs commit: xml-cocoon build.sh

stefano     00/09/18 17:33:14

  Modified:    .        Tag: xml-cocoon2 build.sh
  Log:
  sheesh, wrong one...
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.10.2.12 +17 -2     xml-cocoon/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/build.sh,v
  retrieving revision 1.10.2.11
  retrieving revision 1.10.2.12
  diff -u -r1.10.2.11 -r1.10.2.12
  --- build.sh	2000/09/19 00:25:32	1.10.2.11
  +++ build.sh	2000/09/19 00:33:13	1.10.2.12
  @@ -2,12 +2,27 @@
   # -----------------------------------------------------------------------------
   # build.sh - Unix Build Script for Apache Cocoon
   #
  -# $Id: build.sh,v 1.10.2.11 2000/09/19 00:25:32 stefano Exp $
  +# $Id: build.sh,v 1.10.2.12 2000/09/19 00:33:13 stefano Exp $
   # -----------------------------------------------------------------------------
   
  -ANT_HOME=.
  +# ----- Verify and Set Required Environment Variables -------------------------
  +   
  +if [ "$ANT_HOME" = "" ] ; then
  +  ANT_HOME=.
  +fi
   
  +if [ "$JAVA_HOME" = "" ] ; then
  +  echo You must set JAVA_HOME to point at your Java Development Kit installation
  +  exit 1
  +fi
  +
  +# ----- Set Up The Runtime Classpath ------------------------------------------
  +
   CP=$JAVA_HOME/lib/tools.jar:$ANT_HOME/lib/ant.jar:./lib/xerces_1_2.jar
  + 
  +# ----- Make sure Ant script is executable ------------------------------------
  +
  +chmod 0755 $ANT_HOME/bin/antRun
   
   # ----- Execute The Requested Build -------------------------------------------