cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Renaud Richardet" <renaud.richar...@gmail.com>
Subject can build cocoon after rev 452361
Date Tue, 03 Oct 2006 20:32:30 GMT
I get the following errors:

cocoon-block-forms-compile:
Compiling 379 source files to /home/ren/cocoon-2.1.10-dev/blocks/forms/dest
/home/ren/cocoon_2_1_x/src/blocks/forms/java/org/apache/cocoon/forms/util/JavaScriptHelper.java:213:
cannot find symbol
symbol  : method unwrap(java.lang.Object)
location: class org.apache.cocoon.components.flow.util.PipelineUtil
            return PipelineUtil.unwrap(result);
                               ^
/home/ren/cocoon_2_1_x/src/blocks/forms/java/org/apache/cocoon/forms/util/JavaScriptHelper.java:243:
cannot find symbol
symbol  : method unwrap(java.lang.Object)
location: class org.apache.cocoon.components.flow.util.PipelineUtil
            return PipelineUtil.unwrap(result);
                               ^

can anyone reproduce?

thanks,
Renaud



--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/util/JavaScriptHelper.java
2006/09/23
03:58:05	449149
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/util/JavaScriptHelper.java
2006/10/03
09:19:08	452361
@@ -24,6 +24,7 @@
 import org.apache.avalon.framework.CascadingRuntimeException;
 import org.apache.cocoon.components.flow.FlowHelper;
 import org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptFlowHelper;
+import org.apache.cocoon.components.flow.util.PipelineUtil;
 import org.mozilla.javascript.Context;
 import org.mozilla.javascript.Function;
 import org.mozilla.javascript.JavaScriptException;
@@ -209,7 +210,7 @@
             }

             Object result = script.exec(ctx, scope);
-            return FlowHelper.unwrap(result);
+            return PipelineUtil.unwrap(result);
         } finally {
             Context.exit();
         }
@@ -239,7 +240,7 @@
             }
             func.setParentScope(scope);
             Object result = func.call(ctx, scope, thisObject == null?
null: Context.toObject(thisObject, scope), arguments);
-            return FlowHelper.unwrap(result);
+            return PipelineUtil.unwrap(result);
         } finally {
             Context.exit();
         }

-- 
Renaud Richardet
COO America
Wyona    -   Open Source Content Management   -   Apache Lenya
office +1 857 776-3195                  mobile +1 617 230 9112
renaud.richardet <at> wyona.com           http://www.wyona.com

Mime
View raw message