Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 37605 invoked from network); 16 Apr 2008 11:21:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2008 11:21:53 -0000 Received: (qmail 14038 invoked by uid 500); 16 Apr 2008 11:21:49 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 14012 invoked by uid 500); 16 Apr 2008 11:21: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 14001 invoked by uid 99); 16 Apr 2008 11:21:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2008 04:21:49 -0700 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [192.6.10.60] (HELO tobor.hpl.hp.com) (192.6.10.60) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2008 11:20:54 +0000 Received: from localhost (localhost [127.0.0.1]) by tobor.hpl.hp.com (Postfix) with ESMTP id 8B298B7B70 for ; Wed, 16 Apr 2008 12:21:00 +0100 (BST) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from tobor.hpl.hp.com ([127.0.0.1]) by localhost (tobor.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QYuC-mk-iEbn for ; Wed, 16 Apr 2008 12:20:44 +0100 (BST) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [16.25.144.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tobor.hpl.hp.com (Postfix) with ESMTPS id 9860CB7B83 for ; Wed, 16 Apr 2008 12:19:56 +0100 (BST) MailScanner-NULL-Check: 1208949577.60379@aurdyeKXJct1kWuylGD9yg Received: from [16.25.171.118] (morzine.hpl.hp.com [16.25.171.118]) by ha-node-br2.hpl.hp.com (8.14.1/8.13.4) with ESMTP id m3GBJZYJ013009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 16 Apr 2008 12:19:35 +0100 (BST) Message-ID: <4805E0C9.7060900@apache.org> Date: Wed, 16 Apr 2008 12:19:37 +0100 From: Steve Loughran User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: Ant Users List Subject: Re: taskdef not receiving the classpath properly? References: <47FF7495.7040208@free.fr> <47FF8ACF.4010506@free.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m3GBJZYJ013009 X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org Kathryn Rivard wrote: > Turns out upgrading to Ant 1.7.0 (and clearing out all the crud in Fedora 7 > that makes you use the rpm version) fixed the problem -- no taskdef > classpath, no CLASSPATH environment variable necessary, it works exactly how > I want it to. It was probably the RPM version getting in ahead of anything else...we changed the scripts in Ant1.7 so your own installation gets in there first. 1. Ant1.7 adds a -lib command to add new stuff to a lib directory 2. you can also stick jars into ~/.ant/lib, so that different users can have stuff in the classpath, even with a root-only ANT_HOME/lib -steve -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org