From user-return-60031-apmail-ant-user-archive=ant.apache.org@ant.apache.org Mon Mar 05 21:33:49 2007 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 9669 invoked from network); 5 Mar 2007 21:33:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2007 21:33:47 -0000 Received: (qmail 23409 invoked by uid 500); 5 Mar 2007 21:33:34 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 23297 invoked by uid 500); 5 Mar 2007 21:33:33 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 23238 invoked by uid 99); 5 Mar 2007 21:33:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 13:33:33 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [139.76.165.211] (HELO aismt06p.bellsouth.com) (139.76.165.211) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 13:33:20 -0800 Received: from ([139.76.131.83]) by aismt06p.bellsouth.com with SMTP id KP-AXPRN.17582288; Mon, 05 Mar 2007 16:32:43 -0500 Received: from 01NC27689010625.AD.BLS.COM ([90.144.44.200]) by 01GAF5142010622.AD.BLS.COM with Microsoft SMTPSVC(6.0.3790.2499); Mon, 5 Mar 2007 16:32:42 -0500 Received: from 01NC27689010641.AD.BLS.COM ([90.144.44.103]) by 01NC27689010625.AD.BLS.COM with Microsoft SMTPSVC(6.0.3790.2499); Mon, 5 Mar 2007 16:32:42 -0500 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826 Content-Transfer-Encoding: 7bit Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C75F6D.CECBD955" Importance: normal Priority: normal Subject: Failing a javac task due to Xlint warnings Date: Mon, 5 Mar 2007 16:32:42 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Failing a javac task due to Xlint warnings Thread-Index: AcdfbgXdAsnwANVzQwu8BofzVNF1Ag== From: "Brown, Carlton" To: X-OriginalArrivalTime: 05 Mar 2007 21:32:42.0787 (UTC) FILETIME=[CEBC4F30:01C75F6D] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C75F6D.CECBD955 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi all, I am looking for a way to cause javac to fail if certain warnings are encountered (deprecation, etc). I did not see any attribute to that would produce such behavior. My next thought was to capture the stdout or stderr of javac into a property and then check it in a nested in a task, but I also saw no such property for capturing javac output. Any ideas? Thanks in advance.... ***** The information transmitted is intended only for the person or entity to = which it is addressed and may contain confidential, proprietary, and/or = privileged material. Any review, retransmission, dissemination or other = use of, or taking of any action in reliance upon this information by = persons or entities other than the intended recipient is prohibited. If = you received this in error, please contact the sender and delete the = material from all computers. GA622 ------_=_NextPart_001_01C75F6D.CECBD955--