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 cocoon.properties Engine.java URLHandlerFactory.java
Date Wed, 09 Feb 2000 21:27:59 GMT
stefano     00/02/09 13:27:59

  Modified:    src/org/apache/cocoon cocoon.properties Engine.java
  Removed:     src/org/apache/cocoon URLHandlerFactory.java
  Log:
  removed the URLHandlerFactory that was causing so many troubles
  
  Revision  Changes    Path
  1.12      +14 -16    xml-cocoon/src/org/apache/cocoon/cocoon.properties
  
  Index: cocoon.properties
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/cocoon.properties,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- cocoon.properties	2000/01/31 21:53:13	1.11
  +++ cocoon.properties	2000/02/09 21:27:58	1.12
  @@ -8,17 +8,6 @@
   # Global Configurations                  #
   ##########################################
   
  -# Indicates the Cocoon document root. 
  -#
  -# To use this "mounting" capability, you should use the "cocoon://path/file.ext"
  -# syntax instead of "file:///path/file.ext" syntax. If the cocoon protocol 
  -# is found, this is evaluated using the absolute path indicated here, placed
  -# in front of the indicated path. For example, if document.root=/home/cocoon:
  -#     cocoon://hello.xml    --->   file:///home/cocoon/hello.xml
  -# which is very helpful if your web-app needs to be "remounted".
  -# NOTE: if unset, the "user.home" property of the JVM is used.
  -# document.root = /home/httpd/cocoon/
  -
   # Indicates whether or not Cocoon should be visible if 
   # the requested URI equals the specified one.
   selfservlet.enabled = true
  @@ -75,7 +64,6 @@
   # where "xxx" is the producer indentier used in the request
   producer.type.file = org.apache.cocoon.producer.ProducerFromFile
   producer.type.request = org.apache.cocoon.producer.ProducerFromRequest
  -producer.type.map = org.apache.cocoon.producer.ProducerFromMap
   
   # This is used in the example files
   producer.type.dummy = org.apache.cocoon.example.DummyProducer
  @@ -102,12 +90,12 @@
   # XSL Transformations (XSLT)
   processor.type.xslt = org.apache.cocoon.processor.xslt.XSLTProcessor
   
  -# Dynamic Content Processor (DCP)
  -processor.type.dcp = org.apache.cocoon.processor.dcp.DCPProcessor
  -
   # SQL Processor
   processor.type.sql = org.apache.cocoon.processor.sql.SQLProcessor
   
  +# LDAP Processor
  +processor.type.ldap = org.apache.cocoon.processor.ldap.LdapProcessor
  +
   # eXtensible Server Pages Processor (XSP)
   processor.type.xsp = org.apache.cocoon.processor.xsp.XSPProcessor
   
  @@ -124,7 +112,7 @@
   # Set the libraries associated with the given namespace.
   # Use the syntax:
   #   processor.xsp.library.<namespace-tag>.<language> = URL to file
  -# where "URL to file" is usually starting with file:/// if you locate 
  +# where "URL to file" is usually starting with file:// if you locate 
   # your custom library in your file system.
   processor.xsp.library.context.java = resource://org/apache/cocoon/processor/xsp/library/java/context.xsl
   processor.xsp.library.cookie.java = resource://org/apache/cocoon/processor/xsp/library/java/cookie.xsl
  @@ -133,6 +121,16 @@
   processor.xsp.library.response.java = resource://org/apache/cocoon/processor/xsp/library/java/response.xsl
   processor.xsp.library.session.java = resource://org/apache/cocoon/processor/xsp/library/java/session.xsl
   processor.xsp.library.util.java = resource://org/apache/cocoon/processor/xsp/library/java/util.xsl
  +
  +#### NOTE ###########
  +# The DCP processor should be considered -deprecated- and we highly suggest
  +# you to convert all of your DCP stuff into XSP pages that will be
  +# supported on the future and will totally replace DCP.
  +#
  +# Dynamic Content Processor (DCP)
  +#processor.type.dcp = org.apache.cocoon.processor.dcp.DCPProcessor
  +#
  +#####################
   
   
   ##########################################
  
  
  
  1.15      +2 -7      xml-cocoon/src/org/apache/cocoon/Engine.java
  
  Index: Engine.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Engine.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Engine.java	2000/02/03 18:19:08	1.14
  +++ Engine.java	2000/02/09 21:27:58	1.15
  @@ -1,4 +1,4 @@
  -/*-- $Id: Engine.java,v 1.14 2000/02/03 18:19:08 balld Exp $ --
  +/*-- $Id: Engine.java,v 1.15 2000/02/09 21:27:58 stefano Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -72,7 +72,7 @@
    * This class implements the engine that does all the document processing.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version $Revision: 1.14 $ $Date: 2000/02/03 18:19:08 $
  + * @version $Revision: 1.15 $ $Date: 2000/02/09 21:27:58 $
    */
   
   public class Engine implements Defaults {
  @@ -118,11 +118,6 @@
               // register the context
               manager.setRole("context", context);
           }
  -
  -        // Create the URLHandler factory and register it
  -        URL.setURLStreamHandlerFactory(
  -            new URLHandlerFactory((String) configurations.get(HOME))
  -        );
   
           // Create the parser and register it
           parser = (Parser) manager.create((String) configurations.get(PARSER_PROP,
  
  
  

Mime
View raw message