Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 88200 invoked by uid 500); 2 Jul 2003 05:16:15 -0000 Mailing-List: contact forrest-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-cvs@xml.apache.org Received: (qmail 88189 invoked from network); 2 Jul 2003 05:16:15 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 2 Jul 2003 05:16:15 -0000 Received: (qmail 97270 invoked by uid 1389); 2 Jul 2003 05:16:14 -0000 Date: 2 Jul 2003 05:16:14 -0000 Message-ID: <20030702051614.97269.qmail@icarus.apache.org> From: crossley@apache.org To: xml-forrest-cvs@apache.org Subject: cvs commit: xml-forrest/src/resources/forrest-shbat/bin forrest X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N crossley 2003/07/01 22:16:14 Modified: src/resources/forrest-shbat/bin forrest Log: Pass the ant exit code through to any calling program. Submitted by: Sander Temme sandertemme.net Revision Changes Path 1.10 +3 -2 xml-forrest/src/resources/forrest-shbat/bin/forrest Index: forrest =================================================================== RCS file: /home/cvs/xml-forrest/src/resources/forrest-shbat/bin/forrest,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- forrest 3 Jan 2003 08:34:44 -0000 1.9 +++ forrest 2 Jul 2003 05:16:14 -0000 1.10 @@ -57,7 +57,8 @@ echo "Apache Forrest. Run 'forrest -projecthelp' to list options" echo -"$FORREST_HOME/ant/bin/ant" -buildfile "$ANTFILE" -Dbasedir="$PROJECT_HOME" -Dproject.home="$PROJECT_HOME" -Dforrest.home="$FORREST_DOT_HOME" -emacs $@ +"$FORREST_HOME/ant/bin/ant" -buildfile "$ANTFILE" -Dbasedir="$PROJECT_HOME" -Dproject.home="$PROJECT_HOME" -Dforrest.home="$FORREST_DOT_HOME" -emacs $@ +RESULT=$? # ---- Restore Classpath unset CLASSPATH @@ -69,4 +70,4 @@ ANT_HOME="$OLD_ANT_HOME" export ANT_HOME - +exit $RESULT