ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Running Ant via Shell script
Date Fri, 06 Apr 2007 10:33:15 GMT
u can call the ant task inside the shelll script.

below is content of script file u need to just run script file 
............... as $

ant all --> all is a task in build.xml

a=`grep -ni "BUILD SUCCESSFUL" BuildLogger1.txt|wc -l`

if [ $a -ne 0 ]
  echo "Found"
  ant Mail_SuccessStatus_wl
  echo "Not Found"
  ant Mail_FailureStatus_wl

R u clear with solution.


soussou97 <> 
04/04/2007 06:37 PM
Please respond to
"Ant Users List" <>


Running Ant via Shell script


I try to understand the following command : $ANT_HOME/bin/ant
Its possible to run Ant via a shell script under Linux ? Why to use this
type of command (advantage) ?


View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

This e-Mail may contain proprietary and confidential information and is sent for the intended
recipient(s) only.  If by an addressing or transmission error this mail has been misdirected
to you, you are requested to delete this mail immediately. You are also hereby notified that
any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution
and/or publication of this e-mail message, contents or its attachment other than by its intended
recipient/s is strictly prohibited.

Visit us at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message