Return-Path: Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Delivered-To: mailing list dev@ant.apache.org Received: (qmail 36778 invoked from network); 7 Apr 2003 07:31:27 -0000 Received: from bodewig.bost.de (195.227.98.11) by daedalus.apache.org with SMTP; 7 Apr 2003 07:31:27 -0000 Received: (from bodewig@localhost) by bodewig.bost.de (8.11.6/8.11.6) id h377Vc532678; Mon, 7 Apr 2003 09:31:38 +0200 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: dev@ant.apache.org Subject: Re: [Patch] trying solve w2k command line length limitations References: <80F5674514B4D311BAFC0040F6A45EEE41829D@ntserver> From: Stefan Bodewig Date: 07 Apr 2003 09:31:38 +0200 In-Reply-To: <80F5674514B4D311BAFC0040F6A45EEE41829D@ntserver> Message-ID: Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Military Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sat, 5 Apr 2003, Ignacio J. Ortega wrote: > what i've tried is to create a properties file from gump instead of > passing the classpath in the command line, make a Launcher class > that loads it in a URLclassloader and start ant's main, Which also implies that we'll need to go through Ant's codebase and replace all Class.forName() calls (we better do that anyway 8-). > i've modified ant Path type to add this property to the classpath > like it's done with java.class.path ( this property is readonly ).., > and if using build.sysclasspath=only, this property contents are > added in addition to java.class.path.. Which introduces a hole to defeat Gump, or any other setup that uses build.sysclasspath=only. I've not looked into the patch, but we'll have to ensure that ant.class.path will be set to java.class.path when the launcher has not been used - and do that before the user had a chance to set this property. Stefan