ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prashant...@polaris.co.in
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 a.sh.. u need to just run script file 
............... as $a.sh

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

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

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


R u clear with solution.

Bye



soussou97 <dboussebha@yahoo.fr> 
04/04/2007 06:37 PM
Please respond to
"Ant Users List" <user@ant.apache.org>


To
user@ant.apache.org
cc

Subject
Running Ant via Shell script







Hi;

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

Regards;


-- 
View this message in context: 
http://www.nabble.com/Running-Ant-via-Shell-script-tf3525700.html#a9836553
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



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 http://www.polaris.co.in

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