the attached patch makes JikesJavaCompiler output error information in a
format that can be parsed so that the information shows up in the browser.
basically, the patch just adds +E to the jikes command line options so that
errors are listed in emacs form.

Index: jasper/src/share/org/apache/jasper/compiler/JikesJavaCompiler.java
===================================================================
RCS file: 
/home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/JikesJavaCompiler.java,v
retrieving revision 1.4
diff -u -r1.4 JikesJavaCompiler.java
--- jasper/src/share/org/apache/jasper/compiler/JikesJavaCompiler.java  2001/02/08 
13:37:54     1.4
+++ jasper/src/share/org/apache/jasper/compiler/JikesJavaCompiler.java  2001/08/08 
+15:04:30
@@ -162,6 +162,7 @@
                "-classpath", quote + classpath + MicrosoftClasspath + quote,
                "-d", quote + outdir + quote,
                "-nowarn",
+                "+E",
                quote + source + quote
             };
        } else {
@@ -170,6 +171,7 @@
                 //XXX - add encoding once Jikes supports it
                 "-classpath", quote + classpath + MicrosoftClasspath + quote,
                 "-nowarn",                
+                "+E",
                 quote + source + quote    
             };
        }

Reply via email to