forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: xml-forrest/src/resources/forrest-shbat/bin forrest
Date Fri, 11 Oct 2002 14:34:48 GMT
jefft       2002/10/11 07:34:48

  Added:       src/resources/forrest-shbat/bin forrest
  Removed:     src/resources/forrest-shbat/bin
  Rename '' to 'forrest'. Now for both Windows and Unix, the command
  'forrest <foo>' will work, making documentation and ml support simpler.
  Revision  Changes    Path
  1.1                  xml-forrest/src/resources/forrest-shbat/bin/forrest
  Index: forrest
  # ----- Test if ant is around ------------------------------------------------
  # and bail out if it does not with a message that it is required
  if [ ! `which ant` ]; then
    echo "You must install Ant ("
    echo "and add \$ANT_HOME/bin to your PATH variable"
    exit 1
  # set the current working dir as the PROJECT_HOME variable 
  # use the location of this script to infer $FORREST_HOME
  FORREST_HOME=`dirname $0`/..
  # set the ant file to use
  echo "Apache Forrest"
  echo "Run 'forrest -projecthelp' to list options"
  # call ant.
  ant -buildfile $ANTFILE -Dproject.home=$PROJECT_HOME -Dforrest.home=$FORREST_HOME -emacs

View raw message