Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 51248 invoked from network); 2 Dec 2001 23:37:16 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 Dec 2001 23:37:16 -0000 Received: (qmail 24902 invoked by uid 97); 2 Dec 2001 23:37:17 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 24886 invoked by uid 97); 2 Dec 2001 23:37:17 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 24875 invoked from network); 2 Dec 2001 23:37:15 -0000 Date: Sun, 2 Dec 2001 15:19:05 -0800 (PST) From: "Craig R. McClanahan" Sender: craigmcc@localhost To: Tomcat Developers List Subject: Re: [PATCH] about kjc In-Reply-To: <87667qeana.wl@arpa.rd.nttdata.co.jp> Message-ID: <20011202151657.N64068-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sun, 2 Dec 2001, Takashi Okamoto wrote: > Date: Sun, 02 Dec 2001 09:19:37 +0900 > From: Takashi Okamoto > Reply-To: Tomcat Developers List > To: costinm@covalent.net > Cc: Tomcat Developers List > Subject: Re: [PATCH] about kjc > > Hi, Costin. > > At Sat, 1 Dec 2001 09:24:59 -0800 (PST), > wrote: > > +1 for the patch, but there's something that bothers me - we are starting > > to duplicate what's already present in ant. Next we'll have gcj support, > > etc. > > How difficult would it be to add an 'ant' compiler adapter, that will just > > use the ant task ? > > Of cource, using ant is better:) It's good idea. > It seems not so difficult. You can use Javac or CompilerAdapterFactory > (and Compiler Adapter) class for it. > I looked at this option a little bit a while back, and have only one concern -- multiple threads trying to compile at the same time. Ant tasks generally assume that they don't need to worry about thread safety issues, so we need to review this code carefully. (Of course, this issue applies even more so to the "new" Javac entry point in 1.4 -- it writes error messages to System.out). > > And also use the same ant mechansim, a global property - it's > > possible other tools will need a compiler ( what is cocoon doing ? ) > > ? > > I don't know recent Cocoon. But cocoon 1.8.x was using just tomcat's > JavaCompiler;) > > > This would also allow to automatically compile servlets ( the same > > as jsps are compiled ), > > Resin has it already. It's very useful:) > > thanks. > ---- > Takashi Okamoto > Craig McClanahan -- To unsubscribe, e-mail: For additional commands, e-mail: