From user-return-67592-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue Apr 21 09:17:51 2009 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 63524 invoked from network); 21 Apr 2009 09:17:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Apr 2009 09:17:51 -0000 Received: (qmail 51008 invoked by uid 500); 21 Apr 2009 09:17:49 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 50938 invoked by uid 500); 21 Apr 2009 09:17:49 -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 50928 invoked by uid 99); 21 Apr 2009 09:17:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 09:17:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.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; Tue, 21 Apr 2009 09:17:39 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id n3L9HIJ7009031 for ; Tue, 21 Apr 2009 11:17:19 +0200 Received: from z011101.bk.fin.local ([130.11.7.101]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.1830); Tue, 21 Apr 2009 11:17:19 +0200 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011101.bk.fin.local with Microsoft SMTPSVC(6.0.3790.1830); Tue, 21 Apr 2009 11:17:18 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: AW: Pass multiple directories to -lib option Date: Tue, 21 Apr 2009 11:17:18 +0200 Message-ID: <9EE86F1965E19E499C80DE52AC807B5502A47E08@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Pass multiple directories to -lib option Thread-Index: AcnCX4TlBgLdI26+RYOXQylLJK1zfwAAPqAg References: <52BD14DC0EC59C46ADE90599784266A50CEE9BA6B8@MX034ZED0001.TIFDOM.COM> From: To: X-OriginalArrivalTime: 21 Apr 2009 09:17:18.0911 (UTC) FILETIME=[F83CA4F0:01C9C261] X-Virus-Checked: Checked by ClamAV on apache.org > I tried several ways (space separated, semicolon-separated)=20 > to add more than one directory to the -lib option, somehow I=20 > cannot get this working (-diagnostics doesn't list my=20 > jars..). Thankful for any tips. Use multiple -lib options $ant -lib one.jar -lib another.jar The 'help' output and the manual say: "-lib specifies a path to search for jars and classes" I had a look into the source code: the is a real path: it is tokenized by File.pathSeparator and each token is added to Ants classpath. Jan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org