You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2002/11/26 16:30:17 UTC
cvs commit: xml-forrest/src/resources/forrestbot/bin forrestbot
jefft 2002/11/26 07:30:17
Modified: src/resources/forrestbot/bin forrestbot
Log:
Remove the obsolete check for an installed ant
Revision Changes Path
1.2 +0 -12 xml-forrest/src/resources/forrestbot/bin/forrestbot
Index: forrestbot
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/forrestbot/bin/forrestbot,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- forrestbot 3 Nov 2002 10:49:33 -0000 1.1
+++ forrestbot 26 Nov 2002 15:30:17 -0000 1.2
@@ -1,16 +1,5 @@
#!/bin/sh
-
-# ----- 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 (http://jakarta.apache.org/ant)"
- echo "and add \$ANT_HOME/bin to your PATH variable"
- exit 1
-fi
-
-
# use the location of this script to infer $FORREST_HOME
FORREST_HOME=`dirname "$0"`/..
FORRESTBOT_HOME="$FORREST_HOME/forrestbot"
@@ -39,7 +28,6 @@
echo "Apache Forrest. Run 'forrest -projecthelp' to list options"
echo
-
"$FORREST_HOME/ant/bin/ant" -buildfile "$ANTFILE" -Dbasedir="$PWD" -Dforrest.home="$FORREST_HOME" -emacs $@
# ---- Restore Classpath