cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dani...@apache.org
Subject svn commit: r381194 - in /cocoon/trunk/cocoon-blocks-fw: cocoon-blocks-fw-impl/pom.xml cocoon-blocks-fw-servlet-impl/src/main/java/org/apache/cocoon/blocks/servlet/BlocksManager.java
Date Sun, 26 Feb 2006 23:05:11 GMT
Author: danielf
Date: Sun Feb 26 15:05:10 2006
New Revision: 381194

URL: http://svn.apache.org/viewcvs?rev=381194&view=rev
Log:
Making the blocks fw fail later and in a more interesting place ;) Also fixed a faulty POM.

Modified:
    cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-impl/pom.xml
    cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-servlet-impl/src/main/java/org/apache/cocoon/blocks/servlet/BlocksManager.java

Modified: cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-impl/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-impl/pom.xml?rev=381194&r1=381193&r2=381194&view=diff
==============================================================================
--- cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-impl/pom.xml (original)
+++ cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-impl/pom.xml Sun Feb 26 15:05:10 2006
@@ -13,7 +13,7 @@
   <dependencies>
     <dependency>
       <groupId>org.apache.avalon.framework</groupId>
-      <artifactId>avalon-framework-impl</artifactId>
+      <artifactId>avalon-framework-api</artifactId>
       <version>4.3</version>
     </dependency>
     <dependency>

Modified: cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-servlet-impl/src/main/java/org/apache/cocoon/blocks/servlet/BlocksManager.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-servlet-impl/src/main/java/org/apache/cocoon/blocks/servlet/BlocksManager.java?rev=381194&r1=381193&r2=381194&view=diff
==============================================================================
--- cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-servlet-impl/src/main/java/org/apache/cocoon/blocks/servlet/BlocksManager.java
(original)
+++ cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-servlet-impl/src/main/java/org/apache/cocoon/blocks/servlet/BlocksManager.java
Sun Feb 26 15:05:10 2006
@@ -32,6 +32,7 @@
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
+import org.apache.avalon.excalibur.logger.ServletLogger;
 import org.apache.avalon.framework.configuration.Configuration;
 import org.apache.avalon.framework.configuration.ConfigurationException;
 import org.apache.avalon.framework.configuration.DefaultConfigurationBuilder;
@@ -87,7 +88,8 @@
         }
         
         // FIXME - how do we get the settings object?
-        this.logger = BeanFactoryUtil.createRootLogger(this.getServletConfig().getServletContext(),
new MutableSettings());
+        //this.logger = BeanFactoryUtil.createRootLogger(this.getServletConfig().getServletContext(),
new MutableSettings());
+        this.logger = new ServletLogger(this.getServletConfig());
         this.getLogger().debug("Initializing the Blocks Manager");
         
         InputSource is = null;



Mime
View raw message