Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 94451 invoked by uid 500); 20 Jun 2001 10:04:14 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 94218 invoked from network); 20 Jun 2001 10:04:08 -0000 Message-ID: <3B307554.CFE377CE@ezgov.com> Date: Wed, 20 Jun 2001 12:05:08 +0200 From: Rob van Oostrum Organization: EzGov X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: java generics compiler and ant? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N how about adding the includeRuntime=false attribute, and put the rt.jar on the compiler classpath manually (where you can cotnrol the order) Jon Skeet wrote: > > if the generics collect.jar is only for compiling against, > > why would you want it > > in your bootclasspath, rather than in the compiler's classpath (javac > > -classpath)? > > Because otherwise the "normal" classes from rt.jar will be used, and the > new classes will be ignored - so the compiler will complain. > > Jon