You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by ni...@apache.org on 2004/09/02 18:37:36 UTC

svn commit: rev 37398 - forrest/trunk/src/java/org/apache/cocoon/components/modules/input/lm

Author: nicolaken
Date: Thu Sep  2 09:37:35 2004
New Revision: 37398

Modified:
   forrest/trunk/src/java/org/apache/cocoon/components/modules/input/lm/LocationMap.java
Log:
temp hack to get it compiling with 2.2

Modified: forrest/trunk/src/java/org/apache/cocoon/components/modules/input/lm/LocationMap.java
==============================================================================
--- forrest/trunk/src/java/org/apache/cocoon/components/modules/input/lm/LocationMap.java	(original)
+++ forrest/trunk/src/java/org/apache/cocoon/components/modules/input/lm/LocationMap.java	Thu Sep  2 09:37:35 2004
@@ -215,7 +215,10 @@
         final InvokeContext context = new InvokeContext();
         final Logger contextLogger = getLogger().getChildLogger("ctx");
         context.enableLogging(contextLogger);
-        context.compose(m_manager);
+        //TODO nicolaken: temp hack to get it compiling with 2.2
+        throw new RuntimeException("Cannot use LocationMap intended for 2.1 with 2.2; please reconvert to Serviceable.");
+        /* uncomment
+        context.compose(m_manager);       
         
         final Map anchorMap = new HashMap(2);
         anchorMap.put(HINT_KEY,hint);
@@ -235,6 +238,7 @@
         }
         
         return location;
+        */
     }
     
     /**