tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/ant Tomcat3Precompiler.java
Date Mon, 05 Aug 2002 13:30:51 GMT
keith       2002/08/05 06:30:49

  Modified:    src/share/org/apache/tomcat/ant Tomcat3Precompiler.java
  Log:
  Preserve notification of build failure, even if Jasper does a hard exit.
  
  Revision  Changes    Path
  1.4       +2 -2      jakarta-tomcat/src/share/org/apache/tomcat/ant/Tomcat3Precompiler.java
  
  Index: Tomcat3Precompiler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/ant/Tomcat3Precompiler.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Tomcat3Precompiler.java	11 Jun 2002 22:50:03 -0000	1.3
  +++ Tomcat3Precompiler.java	5 Aug 2002 13:30:49 -0000	1.4
  @@ -122,8 +122,8 @@
                   java.createArg().setValue(args[i]);
               }
               java.setFailonerror(getJspc().getFailonerror());
  -            //don't fork
  -            java.setFork(false);
  +            //fork to catch JspC CompileExceptions
  +            java.setFork(true);
               java.execute();
               return true;
           } catch (Exception ex) {
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message