You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2003/04/28 14:37:38 UTC
cvs commit: cocoon-2.1/src/java/org/apache/cocoon/environment AbstractEnvironment.java
cziegeler 2003/04/28 05:37:38
Modified: src/java/org/apache/cocoon/environment
AbstractEnvironment.java
Log:
Fixing init
Revision Changes Path
1.8 +3 -1 cocoon-2.1/src/java/org/apache/cocoon/environment/AbstractEnvironment.java
Index: AbstractEnvironment.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/environment/AbstractEnvironment.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- AbstractEnvironment.java 26 Apr 2003 14:06:50 -0000 1.7
+++ AbstractEnvironment.java 28 Apr 2003 12:37:37 -0000 1.8
@@ -568,10 +568,12 @@
* This gets the source resolver and the xmlizer component
*/
protected void initComponents() {
+ this.initializedComponents = true;
try {
this.manager = CocoonComponentManager.getSitemapComponentManager();
this.xmlizer = (XMLizer)this.manager.lookup(XMLizer.ROLE);
this.sourceResolver = (org.apache.excalibur.source.SourceResolver)this.manager.lookup(org.apache.excalibur.source.SourceResolver.ROLE);
+
} catch (ComponentException ce) {
// this should never happen!
throw new CascadingRuntimeException("Unable to lookup component.", ce);