Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 42174 invoked from network); 13 Jul 2002 22:57:35 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Jul 2002 22:57:35 -0000 Received: (qmail 15094 invoked by uid 97); 13 Jul 2002 22:57:47 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 15024 invoked by uid 97); 13 Jul 2002 22:57:45 -0000 Mailing-List: contact ant-dev-help@jakarta.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 ant-dev@jakarta.apache.org Received: (qmail 14983 invoked by uid 98); 13 Jul 2002 22:57:45 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-Id: <5.1.0.14.2.20020714084407.01b58fc8@www.stocksoftware.com.au> X-Sender: xdonald@mail.optushome.com.au X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 14 Jul 2002 08:57:08 +1000 To: "Ant Developers List" From: Peter Donald Subject: Re: My itches for 1.6 In-Reply-To: References: <5.1.0.14.2.20020713115912.01c0baa8@www.stocksoftware.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 08:54 AM 7/13/2002 -0700, you wrote: >On Sat, 13 Jul 2002, Peter Donald wrote: > > > At 03:01 PM 7/12/2002 -0700, you wrote: > > >Not sure I understand what will brake. I'm not talking about putting > > >ant implementation in a separate loader, like tomcat does - just > > >have a small Bootstrap that creates an AntClassLoader and puts > > >everything in lib/ in it ( like the shell is doing ). > > > > The sheel places them in the system classloader and thus a classloader like > > > > new URLClassLoader( new URL[] { myFile.toURL() } ); > > > > include the ant classes (as they are in system classloader). > >You realize this is wrong and such code will fail in a container >environment. ( as general programming - for ant it may be ok ). It is not wrong. Thats the way ant was designed to work ;) >Ok, would it be ok if the ant classes ( core, types, standard taskdefs ) >are in the system loader, but the optional tasks are not ? Not for my tasks. They use junit and xslt liasons. Cheers, Peter Donald ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Faced with the choice between changing one's mind, and proving that there is no need to do so - almost everyone gets busy on the proof." - John Kenneth Galbraith ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- To unsubscribe, e-mail: For additional commands, e-mail: