Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 99968 invoked from network); 20 Nov 2001 18:16:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Nov 2001 18:16:49 -0000 Received: (qmail 23837 invoked by uid 97); 20 Nov 2001 18:16:49 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 23821 invoked by uid 97); 20 Nov 2001 18:16:48 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 23810 invoked from network); 20 Nov 2001 18:16:48 -0000 Message-ID: <3BFA9D07.2020006@arielpartners.com> Date: Tue, 20 Nov 2001 13:12:23 -0500 From: "Craeg K. Strong" Organization: Ariel Partners LLC User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012 X-Accept-Language: en-us MIME-Version: 1.0 To: Ant Developers List Subject: Re: Smarter Javac References: <20011120023712.16712.qmail@mailweb30.rediffmail.com> <200111201015.fAKAFpJ27175@mail008.syd.optusnet.com.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N [comments embedded below] Peter Donald wrote: >On Tue, 20 Nov 2001 13:37, Magesh Umasankar wrote: > >>>because for some reason you may always compile file X with debugging, >>>while Y with no debugging. This does not mean you can't aggregate the >>>files during compiler execution >>> >>>javac -g Bar.java Baz.java >>> >>How would a Javac task that takes in 2 compilers, one with debug turned on, >>other turned off, depending upon file being used be setup in build.xml >>for Ant 1.x or Ant2? I mean, will current Javac attributes be set at the >>fileset level? >> >It will be multiple tasks but that does not mean that the set of data on >which these tasks operate is >a) constant over multiple builds >b) non-overlapping > >The benefit I see of coloring is making it easier to use ant in large >systems. As ant doesn't yet integrate full dependency analysis in single step >there will always need to be developer awareness of issues such as >* I turned debugging off - I need to recompile >* I changed constant X in interface Y - I need to recompile > >Only fixing half the problem doesn't really gain us anything - it doesn't >make ant any more relevent for usage in large projects (because it doesn't do >full dependency checking) and for small projects it is still easier to use >jikes and do a full compile. > <2cents> I believe that often the computational effort required to do full dependency checking is larger than the effort required to do a full rebuild. However, I am mostly concerned with correctness. For javac, that does not come up quite as often, b/c you generally do a full build every time anyway. For other tasks like