Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 88665 invoked from network); 30 Nov 2004 12:53:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Nov 2004 12:53:20 -0000 Received: (qmail 64047 invoked by uid 500); 30 Nov 2004 12:53:15 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 63991 invoked by uid 500); 30 Nov 2004 12:53:14 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 63962 invoked by uid 99); 30 Nov 2004 12:53:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from arbiter.telmap.com (HELO callisto.telmap.com) (62.90.92.58) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 04:53:12 -0800 Received: from tmexch1.telmap.com ([192.168.2.3]) by callisto.telmap.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 30 Nov 2004 14:53:02 +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: Classpath issues Date: Tue, 30 Nov 2004 14:53:04 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Classpath issues thread-index: AcTS6pxtmES9kW2aQAW4XrIQiNZ0PQD8Cr/A From: "Omry Yadan" To: "Ant Developers List" X-OriginalArrivalTime: 30 Nov 2004 12:53:02.0750 (UTC) FILETIME=[87307BE0:01C4D6DB] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I can specify the classpath of user tasks when I define them. This makes the build more portable, because I can include the required jars with it, and have a relative classpath in the taskdef. Can I somehow do the same for system tasks with external dependencies? Suppose I want to use the mail task which depends on mail.jar etc. I do not want to put mail.jar in the ant lib path, because it means anyone else who would want to use my build need to do the same. I would rather add it to a lib directory under the build.xml directory, and have the build.xml reference it, like it does with my user tasks. Can it be done? Omry. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org