ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant bootstrap.sh
Date Sun, 27 Jan 2002 19:25:29 GMT
sbailliez    02/01/27 11:25:29

  Modified:    .        bootstrap.sh
  Log:
  - Make the script fail if compilation or bootstrap fail.
  
  Revision  Changes    Path
  1.61      +11 -0     jakarta-ant/bootstrap.sh
  
  Index: bootstrap.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/bootstrap.sh,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- bootstrap.sh	10 Jan 2002 14:18:42 -0000	1.60
  +++ bootstrap.sh	27 Jan 2002 19:25:29 -0000	1.61
  @@ -116,6 +116,11 @@
       ${TOOLS}/ant/*.java ${TOOLS}/ant/taskdefs/*.java \
       ${TOOLS}/ant/taskdefs/compilers/*.java \
       ${TOOLS}/ant/taskdefs/condition/*.java
  +ret=$?
  +if [ $ret != 0 ]; then  
  +  echo ... Failed compiling Ant classes !
  +  exit $ret
  +fi
   
   echo ... Copying Required Files
   
  @@ -129,6 +134,12 @@
   echo ... Building Ant Distribution
   
   "${JAVACMD}" -classpath "${CLASSPATH}" -Dant.home=. org.apache.tools.ant.Main -emacs "$@"
bootstrap
  +ret=$?
  +if [ $ret != 0 ]; then  
  +  echo ... Failed Building Ant Distribution !
  +  exit $ret
  +fi
  +
   
   echo ... Cleaning Up Build Directories
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message