Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 48216 invoked from network); 3 Aug 2005 17:58:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Aug 2005 17:58:41 -0000 Received: (qmail 67260 invoked by uid 500); 3 Aug 2005 17:58:33 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 67223 invoked by uid 500); 3 Aug 2005 17:58:33 -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 67210 invoked by uid 99); 3 Aug 2005 17:58:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2005 10:58:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [69.20.112.2] (HELO gate2.excedent.us) (69.20.112.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2005 10:58:24 -0700 Received: from jackie (CPE000f66366977-CM0013711451aa.cpe.net.cable.rogers.com [69.199.52.234]) by gate2.excedent.us (SMTP Server) with ESMTP id A4D8CC065B; Wed, 3 Aug 2005 13:58:32 -0400 (EDT) From: "Moran Ben-David" To: "'Moran Ben-David'" , "'Ant Users List'" Subject: RE: Adding to ant's classpath from an ant build script Date: Wed, 3 Aug 2005 13:58:47 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: Thread-Index: AcWYSBBkuO6sAh6aQYqbqzRUr8fQvQADHRDgAAAULuA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Message-Id: <20050803175832.A4D8CC065B@gate2.excedent.us> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I mean.. I did the following (just for the records of this archive for anyone searching): Thanks, again, moran > -----Original Message----- > From: Moran Ben-David [mailto:moran@place-base.com] > Sent: Wednesday, August 03, 2005 1:57 PM > To: 'Ant Users List' > Subject: RE: Adding to ant's classpath from an ant build script >=20 > Thank you, Antoine. I used the following worked like a charm. >=20 >=20 > Moran >=20 > > -----Original Message----- > > From: Antoine Levy-Lambert [mailto:antoine@gmx.de] > > Sent: Wednesday, August 03, 2005 12:17 PM > > To: Ant Users List > > Subject: Re: Adding to ant's classpath from an ant build script > > > > Hello Moran, > > > > if your use case does not bring you in the delegating class loader = case, > > you can use the classpath attribute of the task (actually > > documented under typedef, because taskdef is an extension of > ). > > > > Cheers, > > > > Antoine > > > > > --- Urspr=FCngliche Nachricht --- > > > Von: "Moran Ben-David" > > > An: "'Ant Users List'" > > > Betreff: Adding to ant's classpath from an ant build script > > > Datum: Wed, 3 Aug 2005 11:56:34 -0400 > > > > > > I have a custom Ant task in a jar file (custom.jar) that I would = like > to > > > use > > > in my ant build.xml. > > > > > > However, I would like to add this jar to the ant runtime only = during > the > > > execution of my script. Is there a way I can tell ant to include = this > > jar > > > (/home/me/custom.jar) in its classpath from my build.xml? > > > > > > I don't want to copy the file to the ant/lib directory. Instead, = I > just > > > want to expose it for my script alone. > > > > > > Thanks in advance, > > > Moran Ben-David > > > > > > > > > = --------------------------------------------------------------------- > > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org