Re: Using Ant commands in a batch file; having problem; ant exits

2006-10-24 Thread Steve Loughran
Res Pons wrote: Hi everyone I'm trying to run a batch file consisted of 3 or more lines below and cd into different build folders of different projects and run a specific ant target as listed below. But the problem is that after the first instance of ant is run successfully, the batch file ex

Re: Using Ant commands in a batch file; having problem; ant exits

2006-10-23 Thread Antoine Levy-Lambert
Hi, just replace "ant target" by "call ant target" Regards, Antoine Res Pons wrote: > Hi everyone > > I'm trying to run a batch file consisted of 3 or more lines below and > cd into different build folders of different projects and run a > specific ant target as listed below. But the problem is

RE: Using Ant commands in a batch file; having problem; ant exits

2006-10-23 Thread bill/wilandra
Assuming you are on a Windows machine, then ant is a .bat file and you must call ant from another .bat file. HTH Bill -Original Message- From: Res Pons [mailto:[EMAIL PROTECTED] Sent: Monday, October 23, 2006 3:46 PM To: user@ant.apache.org Subject: Using Ant commands in a batch file; h