Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 30223 invoked from network); 11 Apr 2003 01:30:44 -0000 Received: from mailgate5.cinetic.de (217.72.192.165) by daedalus.apache.org with SMTP; 11 Apr 2003 01:30:44 -0000 Received: from web.de (fmomail03.dlan.cinetic.de [172.20.1.236]) by mailgate5.cinetic.de (8.11.6p2/8.11.2/SuSE Linux 8.11.0-0.4) with SMTP id h3B1Uqq24289 for user@ant.apache.org; Fri, 11 Apr 2003 03:30:52 +0200 Date: Fri, 11 Apr 2003 03:30:52 +0200 Message-Id: <200304110130.h3B1Uqq24289@mailgate5.cinetic.de> MIME-Version: 1.0 Organization: http://freemail.web.de/ From: "Karsten Wutzke" To: "Ant Users List" Subject: Re: Return from task with BUILD SUCCESSFUL? Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Of course, my problem could be restated even simpler. I used the in hope of successfully returning... It's basically a simple if-then construct with successful return from the target. Any ideas? Karsten "Ant Users List" schrieb am 11.04.03 03:17:41: > > Hi all! > > Is there any way in Ant to return from a target *successfully*, that is without printing "BUILD FAILED"??? I would like a "BUILD SUCCESSFUL" message instead, so is no go. > > I'm using an ant-contrib construct from inside an , that simply does some checking, and when an exception is caught, I want to print some information and return from the task from inside the . Using from inside the raises an exception in the IfTask class... > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Any ideas? Stefan? > > Karsten > > PS: Maybe an ant-contrib task would help? > PPS: Sorry for the mail before, please ignore it > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > ______________________________________________________________________________ UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101