Can I send these output as email using mail logger Santa.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 3:29 PM To: user@ant.apache.org Subject: AW: Only one ant command is executing in batch file and not executing other commands after ant in batch file call ant -f build1.xml > build.log call ant -f build2.xml >> build.log > redirects to a file >> appends to a file Jan > -----Ursprüngliche Nachricht----- > Von: Vishnumalakala, Santa [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 13. Februar 2008 10:49 > An: Ant Users List > Betreff: RE: Only one ant command is executing in batch file > and not executing other commands after ant in batch file > > Thank you. It is solving my purpose. > And one more problem is can I take standard output of two > build files in one file?? > Why because if I use below command > ant -l test.log -buildfile Test1\build\build.xml > test.log is always creating the new. It is not updating the existing. > Thanks for your cooperation. > Thanks, > Santa. > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 13, 2008 2:28 PM > To: user@ant.apache.org > Subject: AW: Only one ant command is executing in batch file > and not executing other commands after ant in batch file > > > use "call ant" instead of "ant". > > "ant" is a batchfile and if that is finished the called batch > is terminated. with "call" your batch will proceed. > > its a windows behaviour and you'll find that in every batch .... > > > Jan > > > -----Ursprüngliche Nachricht----- > > Von: Vishnumalakala, Santa [mailto:[EMAIL PROTECTED] > > Gesendet: Mittwoch, 13. Februar 2008 09:50 > > An: Ant Users List > > Betreff: Only one ant command is executing in batch file and > > not executing other commands after ant in batch file > > > > > > Hi, > > > > This is Santa. I am using ANT for my development. > > > > Problem is :: Only one ant command is executing in > batch file and not > > executing other commands after ant command in batch file > > > > I am trying to write batch file to execute Ant tasks.But after > > executing one ant command control is going to prompt rather than > > executing other commands in batch file.Could you please help me to > > execute all tasks in batch file. This is happening only for ant > > command not any other commands in batch file. > > > > My build.bat: > > > > set ANT_HOME=D:\Program > > Files\Ant\apache-ant-1.6.1-bin\apache-ant-1.6.1 > > set > PATH=%PATH%;%ANT_HOME%\bin;D:/vsanta/App(D)/GSNL/GSNLProject/G > > SNL-UI/bui > > ld; > > > > ant -l test1.log -buildfile Test1\build\build.xml > > ant -l test2.log -buildfile Test2\build\build.xml > > > > Running build.bat...after executing first ant command > i.e. build.xml > > in Test1 folder(My build is success) > > control is going to command prompt rather than executing > > another ant command. > > > > > > Thanks, > > Santa. > > > > ----------------------------------------- > > This message and any attachments are intended only for the > use of the > > addressee and may contain information that is privileged and > > confidential. If the reader of the message is not the intended > > recipient or an authorized representative of the intended > recipient, > > you are hereby notified that any dissemination of this > communication > > is strictly prohibited. If you have received this communication in > > error, notify the sender immediately by return email and delete the > > message and any attachments from your system. > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]