[Laszlo-dev] Wiki Subversion Build Instructions/build problems

P T Withington ptw at pobox.com
Fri Feb 19 08:15:22 PST 2010


It doesn't fail if you have your ant correctly configured.  Doh!

Apparently, if you, like I, forget to put the xalan and serializer jars in your ~/.ant/lib, ant 1.7 (or maybe JDK 1.6) has _some_ sort of built-in XSLT support -- at least enough that you don't immediately realize that you are missing the xalan jar and you chase your tail down a rathole trying to debug the various failures you get as a result.  I guess with the xalan jar, the missing info.xml becomes a warning instead of an error, and the build proceeds happily on its way.

I will remove the useless transformation.

I have installed the needed jars, and now I will see if I can figure out why the doc build runs out of memory.  Assuming I can now duplicate it.

On 2010-02-19, at 11:08, Louis Iorio wrote:

> Yes, you should delete the step that includes info.xml. That stuff has been folded
> into the proper doc files.
> 
> Does this really make the build fail? I deleted this file nearly a year ago.
> 
> 
> 
> ----- Original Message ----
>> From: P T Withington <ptw at pobox.com>
>> To: Louis Iorio <lou at louiorio.com>
>> Cc: OpenLaszlo Developer Mailing List <laszlo-dev at openlaszlo.org>
>> Sent: Fri, February 19, 2010 11:33:57 AM
>> Subject: Re: [Laszlo-dev] Wiki Subversion Build Instructions/build problems
>> 
>> I bomb at a completely different place:
>> 
>>>     [xslt] Loading stylesheet 
>> /Users/ptw/OpenLaszlo/trunk/docs/src/xsl/js2doc-append.xsl
>>>     [xslt] : Error! /Users/ptw/OpenLaszlo/trunk/docs/src/reference/info.xml 
>> (No such file or directory)
>>>     [xslt] : Error! File not found: 
>> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: 
>> /Users/ptw/OpenLaszlo/trunk/docs/src/reference/info.xml (No such file or 
>> directory)
>>>     [xslt] : Error! 
>> com.sun.org.apache.xalan.internal.xsltc.TransletException: 
>> java.io.FileNotFoundException: 
>> /Users/ptw/OpenLaszlo/trunk/docs/src/reference/info.xml
>>>     [xslt] Failed to process 
>> /Users/ptw/OpenLaszlo/trunk/docs/src/build/reference/LaszloLibrary-5.js2doc
>>> 
>>> BUILD FAILED
>>> javax.script.ScriptException: 
>> sun.org.mozilla.javascript.internal.WrappedException: Wrapped The following 
>> error occurred while executing this line:
>>> /Users/ptw/OpenLaszlo/trunk/docs/src/build.xml:609: 
>> javax.xml.transform.TransformerException: 
>> com.sun.org.apache.xalan.internal.xsltc.TransletException: 
>> com.sun.org.apache.xalan.internal.xsltc.TransletException: 
>> java.io.FileNotFoundException: 
>> /Users/ptw/OpenLaszlo/trunk/docs/src/reference/info.xml (#33) in 
>> at line number 33
>> 
>> I can't find any trace of docs/src/reference/info.xml.  Any idea what that is?  
>> Hey, I found this email:
>> 
>> http://www.openlaszlo.org/pipermail/laszlo-dev/2009-March/020103.html
>> 
>> Looks like you deleted this file and I should just remove this style step from 
>> the build?
>> 
>> On 2010-02-19, at 09:40, Louis Iorio wrote:
>> 
>>> 
>>> 
>>>> As to not being able to build the docs, it looks like you need to allocate 
>> more 
>>>> memory to java.  I run with:
>>>> 
>>>> export JAVA_OPTS="-Xmx768m"
>>>> 
>>>> on my machine, although I can't say I have built the docs lately.
>>>> 
>>> 
>>> I have:
>>> 
>>> JAVA_OPTS=-Xmx1000m
>>> 
>>> I changed that to 1500m: same failure. I have 2G on my machine.
>>> 
> 




More information about the Laszlo-dev mailing list