greenrd     00/11/15 10:33:32

  Modified:    src/org/apache/cocoon/processor/xsp XSPProcessor.java
  Log:
  really did fix XSP classpath this time
  
  Revision  Changes    Path
  1.29      +6 -3      
xml-cocoon/src/org/apache/cocoon/processor/xsp/XSPProcessor.java
  
  Index: XSPProcessor.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/XSPProcessor.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- XSPProcessor.java 2000/11/07 19:56:22     1.28
  +++ XSPProcessor.java 2000/11/15 18:33:32     1.29
  @@ -1,4 +1,4 @@
  -/*-- $Id: XSPProcessor.java,v 1.28 2000/11/07 19:56:22 greenrd Exp $ --
  +/*-- $Id: XSPProcessor.java,v 1.29 2000/11/15 18:33:32 greenrd Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -78,7 +78,7 @@
    * This class implements the XSP engine.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Ricardo Rocha</a>
  - * @version $Revision: 1.28 $ $Date: 2000/11/07 19:56:22 $
  + * @version $Revision: 1.29 $ $Date: 2000/11/15 18:33:32 $
    */
   public class XSPProcessor extends AbstractActor
     implements Processor, Configurable, Status
  @@ -214,10 +214,13 @@
       if (classpath == null) {
         classpath = (String)
           this.servletContext.getAttribute("org.apache.tomcat.jsp_classpath");
  -      if (classpath == null || "".equals (classpath)) {
  -        classpath = System.getProperty("java.class.path");
  -      }
       }
  +    if (classpath == null) 
  +      classpath = "";
  +    else
  +      classpath += File.pathSeparator;
  +
  +    classpath += System.getProperty("java.class.path");
   
       // Set parameters for each language processor
       Enumeration enum = this.languages.elements();
  
  
  

Reply via email to