[Laszlo-checkins] r11886 - openlaszlo/trunk/WEB-INF/lps/schema

dda@openlaszlo.org dda at openlaszlo.org
Tue Nov 25 12:27:55 PST 2008


Author: dda
Date: 2008-11-25 12:27:54 -0800 (Tue, 25 Nov 2008)
New Revision: 11886

Modified:
   openlaszlo/trunk/WEB-INF/lps/schema/lfc-undeclared.lzx
Log:
Change 20081125-dda-b by dda at lester.local on 2008-11-25 15:12:34 EST
    in /Users/dda/laszlo/src/svn/openlaszlo/trunk-d
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix broken build in schema builder related to debug changes

New Features:

Bugs Fixed:

Technical Reviewer: ptw (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
   Some recent change to debug (possibly debug doc) has exposed this error when building the schema.

     [java] Exception in thread "main" org.openlaszlo.js2doc.SchemaBuilder$SchemaBuilderError: Error building schema: <interface name="debug"> in <insert> matches an existing element: /library/interface "debug"

Tests:
   'ant js2doc.schema' and just 'ant' at the top level now succeeds.
   Examining lfc.lzx shows that the 'debug' interface exists and has attribute 'showInternalProperties' 



Modified: openlaszlo/trunk/WEB-INF/lps/schema/lfc-undeclared.lzx
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/schema/lfc-undeclared.lzx	2008-11-25 20:27:14 UTC (rev 11885)
+++ openlaszlo/trunk/WEB-INF/lps/schema/lfc-undeclared.lzx	2008-11-25 20:27:54 UTC (rev 11886)
@@ -123,11 +123,6 @@
       </containsElements>
     </interface>
     
-    <!-- debugger -->
-    <interface name="debug">
-      <attribute name="showInternalProperties" type="boolean" value="false"/>
-    </interface>
-
   </insert>
 
   <!-- -=-=-=-=-=-=-=-=-  modify existing classes -=-=-=-=-=-=-=-=- -->
@@ -161,6 +156,13 @@
     </insert>
   </interface>
   
+  <!-- debugger -->
+  <interface name="debug" extends="view">
+    <insert>
+      <attribute name="showInternalProperties" type="boolean" value="false"/>
+    </insert>
+  </interface>
+
   <interface name="font" extends="Instance">
     <insert>
       <containsElements>



More information about the Laszlo-checkins mailing list