Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 39121 invoked from network); 12 Dec 2005 10:26:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Dec 2005 10:26:35 -0000 Received: (qmail 12558 invoked by uid 500); 12 Dec 2005 10:26:27 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 12505 invoked by uid 500); 12 Dec 2005 10:26:26 -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 12494 invoked by uid 99); 12 Dec 2005 10:26:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 02:26:26 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 02:26:26 -0800 Received: from z011100.bk.fin.local (z011104.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id jBCAQ2fR021357 for ; Mon, 12 Dec 2005 11:26:02 +0100 Received: from z011134.bk.fin.local ([130.11.7.134]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Mon, 12 Dec 2005 11:26:03 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: AW: How to detect missing jars in a ? Date: Mon, 12 Dec 2005 11:26:03 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to detect missing jars in a ? Thread-Index: AcX+/Vn6OWXU8mACSmqtbaX2QkFlUwACQdVA From: To: X-OriginalArrivalTime: 12 Dec 2005 10:26:03.0737 (UTC) FILETIME=[7461A490:01C5FF06] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Quick hack: 0) sb.append(","); sb.append(includedFiles[i]); } } =20 if (sb.length() > 0) { project.setNewProperty(message, sb.toString()); } ]]> Jan =20 >-----Urspr=FCngliche Nachricht----- >Von: Bertrand Delacretaz [mailto:bdelacretaz@apache.org]=20 >Gesendet: Montag, 12. Dezember 2005 10:20 >An: user@ant.apache.org >Betreff: How to detect missing jars in a ? > >Hi, > >I'd like a construct like > > > > > > >to fail if missing.jar is not available. > >Is there a way without using a separate element=20 >(which means having the missing.jar name in two places, unless=20 >I'm missing something)? > >Making the Path class configurable to cause an error instead=20 >of logging the "dropping " + f + " from path as it doesn't=20 >exist" could be a solution, but I'm wondering if there's an=20 >easier way, without duplicating jar names. > >-- > Bertrand Delacretaz > independent consultant, Lausanne, Switzerland > http://www.codeconsult.ch > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org