I am getting an error when compiling with this patch, against r18433
lzl:
[echo] Compiling
/Users/hqm/openlaszlo/trunk3/lps/includes/lfc/LFC10-debug.swc
[java] compiler output is Loading configuration file
/Users/hqm/openlaszlo/trunk3/WEB-INF/frameworks/flex-config.xml
[java]
[java] Exception compiling scriptfile: org.openlaszlo.sc.CompilerError:
debugger/LzBacktrace.lzs: 232: Error: A conflict exists with definition
frame_$6 in namespace internal, in line: var frame_$6:LzMessage =
dbg_$7.describeSlots(frame_$6, wid_$2, si_$3, indent_$4 + " ");
[java] org.openlaszlo.sc.CompilerException:
org.openlaszlo.sc.CompilerError: debugger/LzBacktrace.lzs: 232: Error: A
conflict exists with definition frame_$6 in namespace internal, in line: var
frame_$6:LzMessage = dbg_$7.describeSlots(frame_$6, wid_$2, si_$3, indent_$4
+ " ");
[java] at org.openlaszlo.sc.Compiler.compile(Compiler.java:418)
[java] at org.openlaszlo.sc.lzsc.compile(lzsc.j
[java] ava:118)
[java] at org.openlaszlo.sc.lzsc.compile(lzsc.java:357)
[java] at org.openlaszlo.sc.Main.main(Main.java:22)
[java] Compilation aborted.
BUILD FAILED
/Users/hqm/openlaszlo/trunk3/build.xml:618: The following error occurred
while executing this line:
/Users/hqm/openlaszlo/trunk3/WEB-INF/lps/lfc/build.xml:127:
javax.script.ScriptException:
sun.org.mozilla.javascript.internal.WrappedException: Wrapped The following
error occurred while executing this line:
/Users/hqm/openlaszlo/trunk3/WEB-INF/lps/lfc/build.xml:79: Java returned: 1
(<Unknown source>#28) in <Unknown source> at line number 28
at
com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:110)
at
com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:124)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:108)
at
org.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81)
at
org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:104)
at
org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:68)
at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:52)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
On Tue, Feb 8, 2011 at 4:38 PM, P T Withington <[email protected]> wrote:
> Change ptw-20110208-2VT by [email protected] on 2011-02-08 16:25:16 EST
> in /Users/ptw/OpenLaszlo/trunk-3
> for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Improve _dbg_properties, etc.
>
> Bugs Fixed: LPP-9741 Clean up _dbg_properties/_dbg_description
>
> Technical Reviewer: [email protected] (pending)
> QA Reviewer: [email protected] (pending)
>
> Details:
> LzMessage: Distinguish between appending one message to another,
> and calling format-%w on a message. In the latter case, the
> message wants to have a representation and backing object, for
> debugging debugging.
>
> LzMessage, LzBacktrace: Use fictional slot names for description,
> so they don't collide with inspecting internal slots.
>
> LzDebug: describeSlots needs to accept indent and padding.
> computeSlotDescription has to trust _dbg_description.
>
> LzBacktrace: Stack description use describeSlots to get frame
> slots.
>
> Tests:
> IWFM
>
> Files:
> M WEB-INF/lps/lfc/debugger/LzMessage.lzs
> M WEB-INF/lps/lfc/debugger/LzDebug.lzs
> M WEB-INF/lps/lfc/debugger/LzBacktrace.lzs
>
>
> Changeset:
> http://svn.openlaszlo.org/openlaszlo/patches/ptw-20110208-2VT.tar
>
--
Henry Minsky
Software Architect
[email protected]