ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Javac.java
Date Wed, 18 Oct 2000 08:44:35 GMT
bodewig     00/10/18 01:44:35

  Modified:    .        WHATSNEW
               src/main/org/apache/tools/ant/taskdefs Javac.java
  Log:
  Don't print stack traces on compilation errors.
  
  Revision  Changes    Path
  1.35      +5 -3      jakarta-ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- WHATSNEW	2000/10/17 11:00:38	1.34
  +++ WHATSNEW	2000/10/18 08:44:35	1.35
  @@ -62,14 +62,14 @@
   * copydir, copyfile, deltree and rename are now deprecated. They
   should be replaced with the new copy, delete and move tasks.
   
  -* <java> uses ClassLoader of its own in no-fork mode if a classpath is
  +* <java> uses a ClassLoader of its own in no-fork mode if a classpath is
   specified.
   
   * <style> will create the necessary target directories and reprocess
   all files if the stylesheet changes.
   
   * New data types fileset and patternset - expected to get a broader use.
  -They as well as PATH like structures can now be defined on a global
  +They, as well as PATH like structures, can now be defined on a global
   level and later be referenced by their id attribute.
   
   * You can specify environment variables to <exec>.
  @@ -114,4 +114,6 @@
   
   * Nested <src> in <javac> caused NullPointerException.
   
  -* Corrupt Zip- and Jar-files ar now deleted if the task fails.
  \ No newline at end of file
  +* Corrupt Zip- and Jar-files ar now deleted if the task fails.
  +
  +* many more fixes we've forgotten to document here ...
  
  
  
  1.50      +4 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javac.java
  
  Index: Javac.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javac.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- Javac.java	2000/10/12 15:00:23	1.49
  +++ Javac.java	2000/10/18 08:44:35	1.50
  @@ -521,7 +521,11 @@
                   throw new BuildException(FAIL_MSG, location);
               }
           } catch (Exception ex) {
  +            if (ex instanceof BuildException) {
  +                throw (BuildException) ex;
  +            } else {
                   throw new BuildException("Error starting modern compiler", ex, location);
  +            }
           }
       }
   
  
  
  

Mime
View raw message