ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carfield Yim <carfield....@netdimensions.com>
Subject Can I have more dependance checking in ant?
Date Fri, 28 Feb 2003 03:11:18 GMT
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??


Mime
View raw message