Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 57460 invoked from network); 15 Dec 2003 10:21:02 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Dec 2003 10:21:02 -0000 Received: (qmail 10797 invoked by uid 500); 15 Dec 2003 10:20:27 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 10621 invoked by uid 500); 15 Dec 2003 10:20:27 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 10608 invoked from network); 15 Dec 2003 10:20:26 -0000 Received: from unknown (HELO mail.data-experts.de) (193.155.132.2) by daedalus.apache.org with SMTP; 15 Dec 2003 10:20:26 -0000 Received: from no.name.available by mail.data-experts.de via smtpd (for daedalus.apache.org [208.185.179.12]) with SMTP; Mon, 15 Dec 2003 11:20:40 +0100 Received: from mail.data-experts.de ([192.168.254.1] helo=mail-server.data-experts.de) by mail.data-experts.de with smtp (Exim 3.30 #1) id 1AVqgr-0005SS-00 for user@ant.apache.org; Mon, 15 Dec 2003 12:15:05 +0100 Received: from 92.1.1.95 by mail-server.data-experts.de (InterScan E-Mail VirusWall NT); Mon, 15 Dec 2003 11:20:33 +0100 To: user@ant.apache.org Subject: problems with logging (message priority level) MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: Falko Wiese Date: Mon, 15 Dec 2003 11:22:33 +0100 X-MIMETrack: Serialize by Router on deg_nb_profi01/deg(Release 6.0.3|September 26, 2003) at 15.12.2003 11:22:34, Serialize complete at 15.12.2003 11:22:34 Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-6755137b-27fd-11d8-90e3-0050043ad580" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPartTM-000-6755137b-27fd-11d8-90e3-0050043ad580 Content-Type: multipart/alternative; boundary="=_alternative 0038C9FEC1256DFD_=" --=_alternative 0038C9FEC1256DFD_= Content-Type: text/plain; charset="US-ASCII" Hi, we wrote our own xsl stylesheet for parsing ant log infos. With the message priorities (debug, info, warn, error) we want to decide whether our build run is complete, failed etc. We use ant version 1.5.4. The output for the command 'ant -logger org.apache.tools.ant.XmlLogger -Dant.XmlLogger.stylesheet.uri= -logfile -verbose >/dev/null 2>&1' is the following: ... ... Has anyone an idea, why the message priority is not 'warn'? Thanks a lot for help, Falko Wiese. --=_alternative 0038C9FEC1256DFD_= Content-Type: text/html; charset="US-ASCII"
Hi,

we wrote our own xsl stylesheet for parsing ant log infos. With the message priorities (debug, info, warn, error) we want to decide whether our build run is complete, failed etc. We use ant version 1.5.4.

The output for the command 'ant -logger org.apache.tools.ant.XmlLogger -Dant.XmlLogger.stylesheet.uri=<stylesheet> -logfile <logfile>  -verbose <targets> >/dev/null 2>&1' is the following:

...
                                        <message priority="error"><![CDATA[                   ^]]></message>

                                        <message priority="error"><![CDATA[17 warnings]]></message>

                                </task>

                        </target>

                </task>
...

Has anyone an idea, why the message priority is not 'warn'? Thanks a lot for help,

Falko Wiese. --=_alternative 0038C9FEC1256DFD_=-- ------=_NextPartTM-000-6755137b-27fd-11d8-90e3-0050043ad580 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ------=_NextPartTM-000-6755137b-27fd-11d8-90e3-0050043ad580--