Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 75918 invoked from network); 28 Feb 2003 03:07:48 -0000 Received: from smtp.netdimensions.com (HELO mail.netdimensions.com) (202.82.124.59) by daedalus.apache.org with SMTP; 28 Feb 2003 03:07:48 -0000 Received: from netdimensions.com ([202.82.124.170]) by mail.netdimensions.com (8.11.6/8.11.6) with ESMTP id h1S37mD26842 for ; Fri, 28 Feb 2003 11:07:48 +0800 Message-ID: <3E5ED356.3040602@netdimensions.com> Date: Fri, 28 Feb 2003 11:11:18 +0800 From: Carfield Yim User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: zh-tw, en-us MIME-Version: 1.0 To: user@ant.apache.org Subject: Can I have more dependance checking in ant? 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 If I have a method like public void getSomething() throws SQLException { ... } Then later, I change getSomething() so that it won't throws SQLException, like public void getSomething() { ... } When compile, JBuilder will have compilation error like: XXX.java:117: exception java.sql.SQLException is never thrown in body of corresponding try statement } catch (SQLException e) { ^ However, I don't get same compilation in ant other that delete everything and re-compile everything. Is it possible that I can same dependence checking without re-compile everything??