Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 56815 invoked from network); 31 Mar 2003 20:20:41 -0000 Received: from palrel11.hp.com (156.153.255.246) by daedalus.apache.org with SMTP; 31 Mar 2003 20:20:41 -0000 Received: from klaatu.cv.hp.com (smtp2.cv.hp.com [15.0.200.102]) by palrel11.hp.com (Postfix) with ESMTP id 9494F1C011D0 for ; Mon, 31 Mar 2003 12:20:46 -0800 (PST) Received: from iseran.com (ranier.cv.hp.com [15.87.25.18]) by klaatu.cv.hp.com (Postfix) with ESMTP id A6FCA2BDF0 for ; Mon, 31 Mar 2003 12:20:45 -0800 (PST) Message-ID: <3E88A354.80005@iseran.com> Date: Mon, 31 Mar 2003 12:21:40 -0800 From: Steve Loughran User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030302 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: how to pass -J option to In-Reply-To: <3E887EC7.4040603@hanaden.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hanasaki JiJi wrote: > any way to pass the option flag -J to the > It is needed to use the beta of JSR14 java generics as shown in the > below batch file for Unix that executes the new compiler. > > exec ${J2SE14}/bin/javac -J-Xbootclasspath/p:${JSR14DISTR}/javac.jar > -bootclasspath ${JSR14DISTR}/collect.jar:${J2SE14}/jre/lib/rt.jar > -source 1.5 "$@" > you might want to write your own adapter to the generics compiler; the back end class that goes from the user specification to the actual compiler invocation.