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 XSPProcessor.java
Date Sat, 08 Apr 2000 10:18:18 GMT
stefano     00/04/08 03:18:18

  Modified:    src/org/apache/cocoon/processor/xsp XSPProcessor.java
  Log:
  better error message when the repository is not writable (bug 102)
  
  Revision  Changes    Path
  1.19      +7 -4      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.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- XSPProcessor.java	2000/04/04 11:12:16	1.18
  +++ XSPProcessor.java	2000/04/08 10:18:18	1.19
  @@ -1,4 +1,4 @@
  -/*-- $Id: XSPProcessor.java,v 1.18 2000/04/04 11:12:16 stefano Exp $ --
  +/*-- $Id: XSPProcessor.java,v 1.19 2000/04/08 10:18:18 stefano Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -75,7 +75,7 @@
    * This class implements the XSP engine.
    *
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
  - * @version $Revision: 1.18 $ $Date: 2000/04/04 11:12:16 $
  + * @version $Revision: 1.19 $ $Date: 2000/04/08 10:18:18 $
    */
   public class XSPProcessor extends AbstractActor
     implements Processor, Configurable, Status
  @@ -178,8 +178,11 @@
       if (!this.repositoryFile.exists()) {
         if (!this.repositoryFile.mkdirs()) {
           throw new RuntimeException("Can't create store repository: "
  -          + repositoryFile.getAbsolutePath()
  -          + ". Make sure it's there or you have writing permissions.");
  +          + repositoryFile
  +          + ". Make sure it's there or you have writing permissions.<br>"
  +          + "In case this path is relative we highly suggest you to"
  +          + "change this to an absolute path so you can control its location directly"
  +          + "and provide valid access rights." );
         }
       }
   
  
  
  

Mime
View raw message