Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 17114 invoked from network); 15 Jan 2004 16:11:05 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Jan 2004 16:11:05 -0000 Received: (qmail 44309 invoked by uid 500); 15 Jan 2004 16:10:55 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 44265 invoked by uid 500); 15 Jan 2004 16:10:55 -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 44223 invoked from network); 15 Jan 2004 16:10:54 -0000 Received: from unknown (HELO 137100.vserver.de) (62.75.137.100) by daedalus.apache.org with SMTP; 15 Jan 2004 16:10:54 -0000 Received: from antbuild.com (localhost.localdomain [127.0.0.1]) by 137100.vserver.de (8.11.6/8.11.6) with ESMTP id i0FGAmW12361 for ; Thu, 15 Jan 2004 17:10:49 +0100 Message-ID: <4006BB21.3000507@antbuild.com> Date: Thu, 15 Jan 2004 17:09:05 +0100 From: =?ISO-8859-1?Q?Antoine_L=E9vy-Lambert?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: New Launcher and JPackage RPMs References: <4006B228.6090702@corvil.com> In-Reply-To: <4006B228.6090702@corvil.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Peter, can we improve the new classloader so that the work of inspecting the jars does not happen each time an is done ? Antoine Peter Reilly wrote: > Stefan Bodewig wrote: > >> Hi, >> >> today I found myself discussing with the JPackage folks on their list >> about the problems the RPM setup has with the new Launcher. >> >> They put all the installed jars into a single directory and let config >> files put together the classpath before they invoke Ant IIUC. >> >> So far we've told people that the new Launcher would pull in all jars >> from ANT_HOME/lib (and in addition from ~/.ant/lib, but we didn't say >> that very loud) - but this is not true. It pulls in all jars from the >> directory containing ant-launcher.jar, no matter where it is. >> >> In stock installs this is the same, but not in the RPM installation >> where this behavior pulls in the whole Java universe. >> >> > This may have performance implications. > I was looking at slowdowns from 1.5 to 1.6. One issue is > > This is slower in 1.6 than it is in 1.5. This is due to the new > classloader (I think). The new classloader added the jars in > ${ant.home}/lib to the > classpath and also opens each jar looking for classpath information in > it. > If the is at the top level, this happens each time an > ant-call is > done - so a common idiom causes problems: > > > ( or &common;) name="compile-mains"> > target="compile"/> > > > .... > > > > > Where common.xml contains: > > > > > Peter > >> I'm not convinced that we need to adjust anything, but it is an >> interesting thing to note. >> >> Stefan >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org >> For additional commands, e-mail: dev-help@ant.apache.org >> >> >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org