From dev-return-84673-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Thu Nov 05 13:51:16 2009 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 65846 invoked from network); 5 Nov 2009 13:51:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Nov 2009 13:51:16 -0000 Received: (qmail 23184 invoked by uid 500); 5 Nov 2009 13:51:15 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 23078 invoked by uid 500); 5 Nov 2009 13:51:15 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 23068 invoked by uid 99); 5 Nov 2009 13:51:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2009 13:51:15 +0000 X-ASF-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.111.102 as permitted sender) Received: from [65.55.111.102] (HELO blu0-omc2-s27.blu0.hotmail.com) (65.55.111.102) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2009 13:51:10 +0000 Received: from BLU142-W6 ([65.55.111.73]) by blu0-omc2-s27.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 5 Nov 2009 05:50:49 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_7c9d869a-3907-47d2-a470-ba7e041d8750_" X-Originating-IP: [71.184.166.105] From: Martin Gainty To: Ant Developers List Subject: RE: For every usage of Ant class api, different class loader Date: Thu, 5 Nov 2009 08:50:50 -0500 Importance: Normal In-Reply-To: <874op93xru.fsf@v35516.1blu.de> References: <26208572.post@talk.nabble.com> <877hu51qly.fsf@v35516.1blu.de> <26211694.post@talk.nabble.com> <874op93xru.fsf@v35516.1blu.de> MIME-Version: 1.0 X-OriginalArrivalTime: 05 Nov 2009 13:50:49.0894 (UTC) FILETIME=[FBBC6C60:01CA5E1E] --_7c9d869a-3907-47d2-a470-ba7e041d8750_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable came up on maven users where a build engineer wanted to call a custom task = which would load using his provided classloader the only way I knew how to implement any ant task using supplied classloade= r was for the classloader to create a whole new project (build.xml)=20 (i suspect reverseloader would have at least provided the build engineer th= e custom classpath he desired) unsure as to all the implications of using custom classloader over default = system classloader ? *gruss* Martin Gainty=20 ______________________________________________=20 Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9 =20 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . > From: bodewig@apache.org > To: dev@ant.apache.org > Subject: Re: For every usage of Ant class api=2C different class loader > Date: Thu=2C 5 Nov 2009 14:29:41 +0100 >=20 > On 2009-11-05=2C Raja Nagendra Kumar wrote: >=20 > > I was waiting for you replies.. all these days.. Thank you for answerin= g > > this.. >=20 > Unless I'm mistaken there has been less than four hours between your > mail and my response ... >=20 > Please understand that I work on open source projects on my free time > like early mornings (when I reponded to your mail) or my lunchbreak > (right now) and that Ant is not the only project I work on. >=20 > >> or use the (deprecated) reverseloader attribute of taskdef. >=20 > > ok=2C in this approach=2C could you pl. let me know how this attribute = change > > the class loading.. and its impact with static blocks >=20 > Usually when you have a nested classpath Ant will still consult the > system classloader before the classpath you've specified when trying to > load a class (this usually is what you want). If you set reverseloader > to true it will look into the specified classpath before consulting the > system classloader. >=20 > Stefan >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: dev-unsubscribe@ant.apache.org > For additional commands=2C e-mail: dev-help@ant.apache.org >=20 =20 _________________________________________________________________ Hotmail: Trusted email with Microsoft's powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141664/direct/01/ http://clk.atdmt.com/GBL/go/177141664/direct/01/ --_7c9d869a-3907-47d2-a470-ba7e041d8750_--