cocoon-cvs 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 Constants.java Cocoon.java
Date Thu, 31 Aug 2000 16:41:05 GMT
stefano     00/08/31 09:41:04

  Modified:    src/org/apache/cocoon Tag: xml-cocoon2 Cocoon.java
  Added:       src/org/apache/cocoon Tag: xml-cocoon2 Constants.java
  Log:
  moved constants to an interface (more elegant and easier to read) and made Cocoon implement
it (so all final static things should be accessed as Cocoon.XXX)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.22  +2 -20     xml-cocoon/src/org/apache/cocoon/Cocoon.java
  
  Index: Cocoon.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Cocoon.java,v
  retrieving revision 1.4.2.21
  retrieving revision 1.4.2.22
  diff -u -r1.4.2.21 -r1.4.2.22
  --- Cocoon.java	2000/08/31 15:58:54	1.4.2.21
  +++ Cocoon.java	2000/08/31 16:41:02	1.4.2.22
  @@ -41,29 +41,11 @@
    * @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
    *         (Apache Software Foundation, Exoffice Technologies)
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version CVS $Revision: 1.4.2.21 $ $Date: 2000/08/31 15:58:54 $
  + * @version CVS $Revision: 1.4.2.22 $ $Date: 2000/08/31 16:41:02 $
    */
   public class Cocoon
  -  implements Component, Configurable, ComponentManager, Modifiable, Processor {
  +  implements Component, Configurable, ComponentManager, Modifiable, Processor, Constants
{
   
  -    /* Cocoon Default Strings */
  -    public static final String NAME               = "@name@";
  -    public static final String VERSION            = "@version@";
  -    public static final String CONF_VERSION       = "2.0";
  -    public static final String YEAR               = "@year@";
  -    public static final String RELOAD_PARAM       = "cocoon-reload";
  -    public static final String SHOWTIME_PARAM     = "cocoon-showtime";
  -    public static final String VIEW_PARAM         = "cocoon-view";
  -    public static final String TEMPDIR_PROPERTY   = "org.apache.cocoon.properties.tempdir";
  -    public static final String DEFAULT_CONF_FILE  = "cocoon.xconf";
  -    public static final String DEFAULT_DEST_DIR   = "./site";
  -    public static final String DEFAULT_TEMP_DIR   = "./work";
  -    public static final String LINK_CONTENT_TYPE  = "x-application/x-cocoon-links";
  -    public static final String LINK_VIEW          = "links";
  -    public static final String LINK_CRAWLING_ROLE = "static";
  -    public static final String PARSER_PROPERTY    = "org.apache.cocoon.components.parser.Parser";
  -    public static final String DEFAULT_PARSER     = "org.apache.cocoon.components.parser.XercesParser";
  -    
       /** The table of role-class */
       private Hashtable components = new Hashtable();
       
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +41 -0     xml-cocoon/src/org/apache/cocoon/Attic/Constants.java
  
  
  
  

Mime
View raw message