Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 8967 invoked by uid 500); 24 Sep 2001 23:30:43 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 8949 invoked from network); 24 Sep 2001 23:30:43 -0000 Message-ID: <007201c14550$e8b327c0$6401a8c0@hoopster> From: "Joe St. Germain" To: References: <004801c14545$27da4340$6401a8c0@hoopster> <053301c14546$eccfe780$8b00000a@TariqM> Subject: Re: stopping an Date: Mon, 24 Sep 2001 19:30:29 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi T Master, I'm new to "ANT". I've only been using it for about 3 days. I've got all of my individual XML files done, but was thinking I could create a main XML file to kicj off all of the other XML files. A sort of controller XML file. I thought I'd use the task within a task for each XML file I wanted to run, and that worls fine. The probelm is thast if 1 of the 'd XML files has a compile( javac ) error, I'd like processing of the main XMLfile to stop. I can't find a way to make the stop happen. I haven't tried using tasks within a task, but will give it a try. I'll let you know what happens, unless you can tell me that provessing will not stop this way either. Thanks for answering my post T Master, -Joe ----- Original Message ----- From: "T Master" To: Sent: Monday, September 24, 2001 6:19 PM Subject: Re: stopping an > Why are you using to call other buildfiles? > use : > > > Unless of course, this is the way you want.... > > > > ----- Original Message ----- > From: "Joe St. Germain" > To: > Sent: Monday, September 24, 2001 4:06 PM > Subject: stopping an > > > Does anyone know how to stop the processing of an . > My kicks off a in another build.xml file. If > reports errors, I'd like the calling exec to stop execution > and anything passed that exec to also stop. If you haven't already > guest, I've got a build.xml that controls the execution of other > XML files via the task. I tried the failonerror flag on both > tasks, but it dosen't work. I don't believe that javac returns > anything, and that may be the reason. > > > -Joe > > >