markt 2004/09/12 13:47:27 Modified: jasper2/src/share/org/apache/jasper/compiler AntCompiler.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 1.3 +1 -0 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/AntCompiler.java Index: AntCompiler.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/AntCompiler.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AntCompiler.java 2 Sep 2004 16:05:06 -0000 1.2 +++ AntCompiler.java 12 Sep 2004 20:47:27 -0000 1.3 @@ -161,6 +161,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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]