cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/language/java XSPJavaProcessor.java
Date Thu, 27 Apr 2000 17:57:44 GMT
stefano     00/04/27 10:57:43

  Modified:    src/org/apache/cocoon/processor/xsp/language/java
                        XSPJavaProcessor.java
  Log:
  typos
  
  Revision  Changes    Path
  1.8       +4 -8      xml-cocoon/src/org/apache/cocoon/processor/xsp/language/java/XSPJavaProcessor.java
  
  Index: XSPJavaProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/language/java/XSPJavaProcessor.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XSPJavaProcessor.java	2000/04/13 10:42:57	1.7
  +++ XSPJavaProcessor.java	2000/04/27 17:57:43	1.8
  @@ -1,4 +1,4 @@
  -/*-- $Id: XSPJavaProcessor.java,v 1.7 2000/04/13 10:42:57 stefano Exp $ --
  +/*-- $Id: XSPJavaProcessor.java,v 1.8 2000/04/27 17:57:43 stefano Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -62,7 +62,7 @@
   
   /**
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
  - * @version $Revision: 1.7 $ $Date: 2000/04/13 10:42:57 $
  + * @version $Revision: 1.8 $ $Date: 2000/04/27 17:57:43 $
    */
   public class XSPJavaProcessor implements XSPLanguageProcessor {
     // Create class loader
  @@ -102,25 +102,22 @@
   
     public void compile(String filename) throws Exception {
       String repositoryName = this.repository.getCanonicalPath();
  -      String fullFilename = repositoryName + File.separator + filename;
  +    String fullFilename = repositoryName + File.separator + filename;
   
       String[] compilerArgs = {
         "-classpath",
           repositoryName +
           File.pathSeparator +
           System.getProperty("java.class.path"),
  -
         "-O",
  -
         // "-deprecation",
         // "-verbose",
  -
         fullFilename
       };
   
       ByteArrayOutputStream err = new ByteArrayOutputStream();
       
  -    // FIXME: we should make this reflection based and also allowed other
  +    // FIXME: we should make this reflection based and also allow other
       // compilers to be plugged in. Maybe we can steal... ehmmm, borrow.. some
       // Tomcat code for this :) (SM)
       
  @@ -135,7 +132,6 @@
           if (errorLines[i].startsWith(fullFilename)) {
             errorLines[i] = errorLines[i].substring(pos);
           }
  -
           buffer.append(errorLines[i] + "\n");
         }
   
  
  
  

Mime
View raw message