ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Burgess <>
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".



| Jay Burgess [Vertical Technology Group]
| "Essential Technology Links"

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message