Re: can build cocoon after rev 452361
Hi Daniel, I am working on that. I will post this in cca. 2 hours. Best Regards, Antonio Gallardo. Daniel Fagerstrom escribió: Antonio Gallardo skrev: Renaud Richardet escribió: 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? I can reproduce it. It is because of the factoring out of flowscripts from core that I did. I forgot that the same cforms implementation is used in 2.1. Unfortunately we cannot access the SVN from the conference :/ So I can't fix it right now. The fix is simple, just copy the FlowHelper.unwrap method to PipelineUtil. It would be great if anyone with working SVN access could fix it. /Daniel
Re: can build cocoon after rev 452361
Antonio Gallardo skrev: Renaud Richardet escribió: 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? I can reproduce it. It is because of the factoring out of flowscripts from core that I did. I forgot that the same cforms implementation is used in 2.1. Unfortunately we cannot access the SVN from the conference :/ So I can't fix it right now. The fix is simple, just copy the FlowHelper.unwrap method to PipelineUtil. It would be great if anyone with working SVN access could fix it. /Daniel
Re: can build cocoon after rev 452361
Thank you Daniel and Antonio On 10/4/06, Daniel Fagerstrom [EMAIL PROTECTED] wrote: Antonio Gallardo skrev: Renaud Richardet escribió: 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? I can reproduce it. It is because of the factoring out of flowscripts from core that I did. I forgot that the same cforms implementation is used in 2.1. Unfortunately we cannot access the SVN from the conference :/ So I can't fix it right now. The fix is simple, just copy the FlowHelper.unwrap method to PipelineUtil. It would be great if anyone with working SVN access could fix it. /Daniel -- renaudatoslutionsdotcom www.oslutions.com
can build cocoon after rev 452361
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:05449149 +++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/util/JavaScriptHelper.java 2006/10/03 09:19:08452361 @@ -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
Re: can build cocoon after rev 452361
Renaud Richardet escribió: 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? I can reproduce it. Best Regards, Antonio Gallardo.