cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon Cocoon.java
Date Sat, 17 Feb 2001 19:08:47 GMT
bloritsch    01/02/17 11:08:47

  Modified:    src/org/apache/cocoon Tag: xml-cocoon2 Cocoon.java
  Log:
  Fix for REPOSITORY
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.56  +4 -2      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.55
  retrieving revision 1.4.2.56
  diff -u -r1.4.2.55 -r1.4.2.56
  --- Cocoon.java	2001/02/16 22:07:31	1.4.2.55
  +++ Cocoon.java	2001/02/17 19:08:46	1.4.2.56
  @@ -45,7 +45,7 @@
    *
    * @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.55 $ $Date: 2001/02/16 22:07:31 $
  + * @version CVS $Revision: 1.4.2.56 $ $Date: 2001/02/17 19:08:46 $
    */
   public class Cocoon extends AbstractLoggable implements Component, Initializable, Modifiable,
Processor, Contextualizable {
       /** The application context */
  @@ -113,7 +113,9 @@
   
           try {
               getLogger().debug("Creating Repository with this directory: " + this.workDir);
  -            FilesystemStore repository = new FilesystemStore(this.workDir);
  +            FilesystemStore repository = new FilesystemStore();
  +            repository.setLogger(getLogger());
  +            repository.setDirectory(this.workDir);
               this.componentManager.addComponentInstance(Roles.REPOSITORY, repository);
           } catch (IOException e) {
               getLogger().error("Could not create repository!", e);
  
  
  

Mime
View raw message