ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Burgess <li...@vtgroup.com>
Subject <fail> silently
Date Tue, 26 Jul 2005 16:17:21 GMT
I've got a script that contains a number of build commands for various products e.g.

ant check build ProductA
ant check build ProductB
ant check build ProductC

What I want to do is run "check" for each product, and if a product is not valid
for this run, exit that specific Ant invocation quietly and move on to the next
line. Unfortunately, while I can accomplish this with the <fail> task, I get a
nasty BUILD FAILED message which is not really the case.

Is there a way, using Core Tasks, to test and "fail silently".

Thanks.

Jay

| Jay Burgess [Vertical Technology Group]
| "Essential Technology Links"
| http://www.vtgroup.com/






---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message