Return-Path: Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Delivered-To: mailing list dev@ant.apache.org Received: (qmail 67149 invoked from network); 22 Feb 2003 22:52:09 -0000 Received: from mta05.mail.au.uu.net (HELO mta05.mail.mel.aone.net.au) (203.2.192.85) by daedalus.apache.org with SMTP; 22 Feb 2003 22:52:09 -0000 Received: from cortexebusiness.com.au ([63.60.239.70]) by mta05.mail.mel.aone.net.au with ESMTP id <20030222225207.PCEV23795.mta05.mail.mel.aone.net.au@cortexebusiness.com.au>; Sun, 23 Feb 2003 09:52:07 +1100 Message-ID: <3E580001.10103@cortexebusiness.com.au> Date: Sun, 23 Feb 2003 09:56:01 +1100 From: Conor MacNeill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en-au MIME-Version: 1.0 To: Ant Developers List CC: stefano@apache.org Subject: Re: Javac task design problems References: <3AAB91D6-4640-11D7-B0D0-000393CFE402@codeconsult.ch> <3E576483.90400@apache.org> 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 Stefano Mazzocchi wrote: > > Build time went from 25 minutes to 5 minutes on my machine (a pentium II > 366 ronzputer). Other people experienced equivalent speedups and > everybody is joyful, singing and dancing and with renewed faith on mankind. If you keep that up, the government will declare it illegal. > > The ideal solution to the problem (without requiring to filter > everything out would be) > > > > > > > > > > > > > > > > > too bad it doesn't work because the tasks assumes that each file > in its fileset is a directory! Not quite true, I think. The problem is more likely to come from javac itself since it will go looking for files based on the source paths. IOW, there is a disconnect between javac the task and javac the compiler. Why not this: That should cause javac to pick up the changed files first and ignore the other copy in src. Well I haven't tried it, so YMMV ... BTW, the other thing to consider is why you need to copy and filter at all at the java source level. Ant's own build approach is to stick all that sort of stuff in a resource and filter it. Conor