Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 64039 invoked from network); 4 Jul 2007 05:36:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jul 2007 05:36:18 -0000 Received: (qmail 89832 invoked by uid 500); 4 Jul 2007 05:36:16 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 89802 invoked by uid 500); 4 Jul 2007 05:36:16 -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 89791 invoked by uid 99); 4 Jul 2007 05:36:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 22:36:16 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (herse.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, 03 Jul 2007 22:36:13 -0700 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 l645Zobj032161 for ; Wed, 4 Jul 2007 07:35:50 +0200 Received: from z011034.bk.fin.local ([130.11.7.34]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Wed, 4 Jul 2007 07:35:11 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: AW: ant -lib seems not working on Linux RHEL 5 Date: Wed, 4 Jul 2007 07:35:11 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ant -lib seems not working on Linux RHEL 5 Thread-Index: Ace9v3CqQqp4Uon/RD+5+WXZBFmHCgAPZCAg From: To: X-OriginalArrivalTime: 04 Jul 2007 05:35:11.0301 (UTC) FILETIME=[16F6FF50:01C7BDFD] X-Virus-Checked: Checked by ClamAV on apache.org >The Ant -lib option does not seem working on Linux RHEL 5. > >I am in a directory, where I have ant-contrib-1.0b2.jar and the >following t.xml. -lib specifies a path to search for jars and classes If your antlib.jar is in the current directory, try "ant -lib ." Jan > >$ cat t.xml > > > > > > > >I run this using the -lib option. > >$ ant -lib ant-contrib-1.0.b2 -f t.xml >Buildfile: t.xml > [taskdef] Could not load definitions from resource >net/sf/antcontrib/antlib.xml. It could not be found. > >BUILD FAILED=20 > ... Could not create task or type of type: if. > >The above t.xml works on a different platform. > >Thank you, > >--Vladimir > >P.S. If I explicitly specify classpath in taskdef, it works on Linux >RHEL 5. > >$ cat t.xml > > classpath=3D"ant-contrib-1.0b2.jar"/> > > > > > >$ ant -f t.xml >Buildfile: t.xml > [echo] it works! > >BUILD SUCCESSFUL > >Notice: This email message, together with any attachments,=20 >may contain information of BEA Systems, Inc., its=20 >subsidiaries and affiliated entities, that may be=20 >confidential, proprietary, copyrighted and/or legally=20 >privileged, and is intended solely for the use of the=20 >individual or entity named in this message. If you are not the=20 >intended recipient, and have received this message in error,=20 >please immediately return this by email and then delete it. > >--------------------------------------------------------------------- >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