ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2274] - failonerror does not work
Date Sat, 07 Jul 2001 17:15:16 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2274

*** shadow/2274	Thu Jun 21 11:19:33 2001
--- shadow/2274.tmp.2075	Sat Jul  7 10:15:16 2001
***************
*** 49,52 ****
      <delete dir="${build}"/>
      <delete dir="${dist}"/>
    </target>
! </project>
--- 49,72 ----
      <delete dir="${build}"/>
      <delete dir="${dist}"/>
    </target>
! </project>
! 
! ------- Additional Comments From nico@apache.org  2001-07-07 10:15 -------
! It works as expected for me.
! 
! Is your problem that you expect Test2.java to be compiled regardless of the 
! errors in Test1.java? This behaviour depends on the compiler you are using. 
! 
! For example the release notes for JDK 1.3 tell us: 
! 
! "When the new 1.3 compiler detects an error in a source file during a 
! compilation, it continues to parse the remaining source files and attempts to 
! identify any further errors that they may contain. Code generation is 
! completely suppressed for the remainder of the compilation, however, and no 
! class files will be generated, even for compilation units that contain no 
! errors. The old compiler in 1.2 would generate class files for any compilation 
! units that did not contain errors. This resulted in less redundant work during 
! the repeated compilations required to identify and correct all errors in a 
! large program containing many files with errors. We hope to improve this 
! behavior in the future. The new compiler is substantially faster overall, 
! however, which should tend to offset this somewhat. "

Mime
View raw message