Nov 23 16:23:23 cvs[25708]: dante/client v1.1.5 running
Index: JikesJavaCompiler.java
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/JikesJavaCompiler.java,v
retrieving revision 1.2
diff -u -r1.2 JikesJavaCompiler.java
--- JikesJavaCompiler.java	2000/09/01 15:58:44	1.2
+++ JikesJavaCompiler.java	2000/11/23 15:23:24
@@ -1,5 +1,5 @@
 /*
- * $Header: /home/cvspublic/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/JikesJavaCompiler.java,v 1.2 2000/09/01 15:58:44 pierred Exp $
+ * $Header: /home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/JikesJavaCompiler.java,v 1.2 2000/09/01 15:58:44 pierred Exp $
  * $Revision: 1.2 $
  * $Date: 2000/09/01 15:58:44 $
  *
@@ -134,12 +134,14 @@
     public boolean compile(String source) {
 	Process p;
 	int exitValue = -1;
+	String quote = "";
 
         // Used to dynamically load classpath if using Microsoft 
         // virtual machine
         if (MicrosoftClasspath==null) {
             MicrosoftClasspath = new StringBuffer(200);
             if (System.getProperty("java.vendor").startsWith("Microsoft")) {
+                quote = "\"";
                 //Get Microsoft classpath
                 String javaHome = System.getProperty("java.home") + 
                                   "\\Packages";
@@ -152,12 +154,12 @@
         }
 
         String[] compilerCmd = new String[] {
-          "\"" + compilerPath + "\"",
+          quote + compilerPath + quote,
           //XXX - add encoding once Jikes supports it
-          "-classpath", "\"" + classpath + MicrosoftClasspath + "\"",
-          "-d", "\"" + outdir + "\"",
+          "-classpath", quote + classpath + MicrosoftClasspath + quote,
+          "-d", quote + outdir + quote,
           "-nowarn",
-          "\"" + source + "\""
+          quote + source + quote
         };
 
         ByteArrayOutputStream tmpErr = new ByteArrayOutputStream(OUTPUT_BUFFER_SIZE);
