tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Compiler.java
Date Sun, 12 Sep 2004 20:46:23 GMT
markt       2004/09/12 13:46:23

  Modified:    jasper2/src/share/org/apache/jasper/compiler Tag: TOMCAT_5_0
                        Compiler.java
  Log:
  Fix bug 29570. Ant javac task needs temp dir to create temp
  file if command line is too long.
   - Ported from TC4
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.88.2.2  +1 -0      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java
  
  Index: Compiler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java,v
  retrieving revision 1.88.2.1
  retrieving revision 1.88.2.2
  diff -u -r1.88.2.1 -r1.88.2.2
  --- Compiler.java	2 Sep 2004 15:19:26 -0000	1.88.2.1
  +++ Compiler.java	12 Sep 2004 20:46:23 -0000	1.88.2.2
  @@ -356,6 +356,7 @@
           javac.setClasspath(path);
           javac.setDebug(ctxt.getOptions().getClassDebugInfo());
           javac.setSrcdir(srcPath);
  +        javac.setTempdir(options.getScratchDir());
           javac.setOptimize(! ctxt.getOptions().getClassDebugInfo() );
           javac.setFork(ctxt.getOptions().getFork());
           info.append("    srcDir=" + srcPath + "\n" );
  
  
  

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


Mime
View raw message