[Laszlo-dev] failures on nightly build

P T Withington ptw at pobox.com
Fri Jan 25 08:04:03 PST 2008


How do I run the demos test?  This is probably my bug in the new auto  
includes scheme.

On Jan 25, 2008, at 10:37, Donald Anderson <dda at ddanderson.com> wrote:

> Mayme -
>
> Here's what I found out.  r7876 fails for me in the same way.
> I did:
>   svn co -r7876 http://svn.openlaszlo.org/openlaszlo/trunk ./ 
> openlaszlo/trunk-7876
>   ant nightly
>   (cd lps/components; ant autoincludes)
>   ant nightly
>
> and got the same messages.  (the ant autoincludes step is needed to  
> get
> you beyond the 'autoincludes out of date' error).
>
> So I imagine we need to go back further....
>
> I have investigated this message:
>
>>
>> extracting docs and validating from ./src/org/openlaszlo/js2doc/ 
>> tests/LaszloEvents.js
>>      [java] result: failure
>
> The way the code is written the message will ALWAYS come out.  For  
> my own future reference
> it's the fault of a function in  js2doc.Main: validateAndCompare().   
> That basically does this:
>
>         boolean result = false;
>         ... bunch of stuff that doesn't touch 'result'....
>         return result;
>
> It does not stop ant or the build.  For example if you were to do  
> this:
>   (cd WEB-INF/lps/server; ant js2doc -Djs2doc.args="-v --libraryid  
> test --test ./lib/js2doc.rng ./src/org/openlaszlo/js2doc/tests/ 
> shortest.js")
> which is what that step boils down to --
>
> you get the same message followed by ant's 'BUILD SUCCESSFUL'.
> So this is a red herring - and I can fix the message since it is  
> distracting.
> From what I can see, this message has been there forever...
>
> The real error, that stops the build is the one about undefined  
> superclass modaldialog.
> I don't understand it, I see lps/component/lz/modeldialog.lzx, but  
> frankly I don't
> know how the lps components get put together.
>
> Maybe someone else can chime in with some clues...
> the alternative is to go back further to locate the errant checkin.
>
> - Don
>
> On Jan 24, 2008, at 9:34 PM, Mamye Kratt wrote:
>
>> Changes between r7876 and r7884 seem to be the problem. The errors  
>> are below. The files you changed for LPP-5011 might be causing the  
>> problem. Tucker's changes which are also in r7876 pass the nightly  
>> build system tests. Can you look?
>>
>> 1st Error:
>>
>> js2doc:
>>      [java] extracting docs and validating from ./src/org/ 
>> openlaszlo/js2doc/tests/shortest.js
>>      [java] result: failure
>>
>> build-opt:
>>
>> get-svn-info:
>>
>> setup-build-id:
>>
>> init:
>>      [echo] sc-parser.uptodate is true
>>
>> js2doc:
>>      [java] extracting docs and validating from ./src/org/ 
>> openlaszlo/js2doc/tests/LaszloEvents.js
>>      [java] result: failure
>> 2nd error
>>
>> test:
>>      [echo] running demos test
>>     [apply] Compiling: /home/svnbuild/builds/7884-openlaszlo-trunk/ 
>> demos/calendar/calendar.lzx to build/calendar.lzr=swf8.swf
>>     [apply] Compiling: /home/svnbuild/builds/7884-openlaszlo-trunk/ 
>> demos/lzpix/app.lzx to build/app.lzr=swf8.swf
>>     [apply] Compiling: /home/svnbuild/builds/7884-openlaszlo-trunk/ 
>> demos/vacation-survey/vacation-survey.lzx to build/vacation- 
>> survey.lzr=swf8.swf
>>     [apply] Compilation errors occurred:
>>     [apply] lz/alert.lzx:7:46: undefined superclass modaldialog for  
>> class alert
>
>
> --
>
> Don Anderson
> Java/C/C++, Berkeley DB, systems consultant
>
> voice: 617-547-7881
> email: dda at ddanderson.com
> www: http://www.ddanderson.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080125/458eaaa1/attachment.html


More information about the Laszlo-dev mailing list