Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 29617 invoked from network); 20 Sep 2000 09:09:30 -0000 Received: from public.ndh.net (HELO public.ndh.com) (195.94.90.21) by locus.apache.org with SMTP; 20 Sep 2000 09:09:30 -0000 Received: from sbodewig.bost.de ([195.227.98.11]) by public.ndh.com (8.9.3/8.8.0) with ESMTP id LAA18285 for ; Wed, 20 Sep 2000 11:09:16 +0200 (MET DST) Received: (from bodewig@localhost) by sbodewig.bost.de (8.9.3/8.9.3) id LAA02375; Wed, 20 Sep 2000 11:09:16 +0200 X-Authentication-Warning: sbodewig.bost.de: bodewig set sender to bodewig@bost.de using -f To: ant-dev@jakarta.apache.org Subject: Re: Keeping a non-runtime-added classpath for compiles References: <20000920085323.3717.qmail@web111.yahoomail.com> From: Stefan Bodewig Date: 20 Sep 2000 11:09:16 +0200 In-Reply-To: Diane Holt's message of "Wed, 20 Sep 2000 01:53:23 -0700 (PDT)" Message-ID: Lines: 23 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N >>>>> "DH" == Diane Holt writes: DH> --- Stefan Bodewig wrote: >> This is there, because you need the runtime classes in the >> classpath to compile anything. DH> Not true. I've turned that off in my Javac.java, and my compiles DH> work fine that way Wonder where jikes will find java.util.Vector then. Anyway. While we could add a flag like this for jikes, there seems to be now way - I'd like to be proven wrong - to tell javac to omit them. The only option I'd see was to exec the command line version of javac using the JDK you want to compile against. We could add another magic property for jikes - build.compiler.runtime or something like that (I didn't say that 8^). Adding an attribute to that isn't supported by modern/classic compile doesn't feel right. Stefan