ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vishnumalakala, Santa" <>
Subject Only one ant command is executing in batch file and not executing other commands after ant in batch file
Date Wed, 13 Feb 2008 08:50:02 GMT


	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

	 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.	


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:
For additional commands, e-mail:

View raw message