[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    RE: Possibility to catch info/warn/error messages ?
From:       "Rebhan, Gilbert" <Gilbert.Rebhan () huk-coburg ! de>
Date:       2005-07-28 12:48:58
Message-ID: 1397E81F23832842BDD7B2D758D4B0B52AACF3 () VEX00120 ! lan ! huk-coburg ! de
[Download RAW message or body]


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic