ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: Possibility to catch info/warn/error messages ?
Date Thu, 28 Jul 2005 12:48:58 GMT

Hi,

... forget my last two mails.

javac was set to failonerror="false" in a presetdef  - oh boy 
so every build was successful, even with hundreds of compileerrors.

Now with failonerror="true" for javac/cvs , it's working better ;-)

Gilbert

-----Original Message-----
From: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de] 
Sent: Thursday, July 28, 2005 2:07 PM
To: user@ant.apache.org
Subject: Possibility to catch info/warn/error messages ?


Hi,

is there a possibility to catch messages like f.e. =

<message priority="warn">cvs [server aborted]: no such tag
sl_05_01_27_bla</message>

or

Compile failed

means messages that appear on the stdout, when running a buildscript ?

Using the xmllogger is no option, as the logfile is written after build
has finished.

I want to check for those messagepatterns and set a property success |
failed.

Later i check the set property and do a <fail> or let the build run
through.


Gilbert

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


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


Mime
View raw message