[Laszlo-dev] svn docs build error template "wrap-link" does not defined

Jim Grandy jgrandy at openlaszlo.org
Thu Aug 10 13:13:03 EDT 2006


I added a note about this in the SubversionBuildInstruction page on  
wiki.openlaszlo.org, in the "Environment Variables" section.

jim

On Aug 10, 2006, at 9:28 AM, Jim Grandy wrote:

> Togawa-san,
>
> That will certainly work, but if you want to make the change just
> within a single shell there is an alternative. In bash, to use 1.4.2:
>
>          export JAVA_HOME="/System/Library/Frameworks/
> JavaVM.framework/Versions/1.4.2/home/"
>
> And to use 1.5 again:
>
>          export JAVA_HOME="/Library/Java/Home"
>
> jim
>
> On Aug 10, 2006, at 3:46 AM, togawa manabu wrote:
>
>> Thank you for details.
>> It works! on mac OSX tiger.
>>
>> note:
>> To change the default JDK.
>>
>> cd /System/Library/Frameworks/JavaVM.framework/Versions
>> sudo rm CurrentJDK
>> sudo ln -s 1.4.2 CurrentJDK
>>
>> -togawa manabu
>>
>> On 2006/08/10, at 13:08, Benjamin Shine wrote:
>>
>>> Sorry, here are some more details.
>>>
>>> As of rev 1258, the reference will build again for the following
>>> platforms:
>>> mac / jdk 1.4.2 NOT 1.5
>>> linux / jdk 1.4.2 NOT 1.5
>>> windows / jdk 1.4.2 NOT 1.5
>>>
>>> The developer's guide will build ONLY on
>>> mac / jdk 1.4.2 NOT 1.5
>>> linux / jdk 1.4.2 NOT 1.5
>>>
>>> For windows, I chased the build problem for the dev guide to an
>>> issue of xsl:import not liking cygwin/windows absolute paths to
>>> docbook xsl files.
>>>
>>> To build the reference on one of the approved platforms:
>>> Starting from a working svn-based build, svn up your vendor  
>>> directory
>>> to get docbook-xsl-1.65.1.
>>> This should give you the complete docbook-xsl-1.65.1 tree, unpacked.
>>>
>>> This ant target is invoked automatically in the  openlaszlo/trunk/
>>> docs/src/build.xml -- it is the key to the fix to make the doc
>>> build work.
>>>
>>>> +  <!--
>>>> +      little tweak to refer to the location of docbook-xsl-1.65.1
>>>> relative to
>>>> +      ${docbook-xsl} based on environment variables defined in
>>>> init task.
>>>> +  -->
>>>> +  <target name="fix-docbook-references" depends="init">
>>>> +      <copy todir="xsl">
>>>> +          <fileset dir="xsl" />
>>>> +          <!-- copy the offending files from .xsl.proto to .xsl  
>>>> -->
>>>> +          <globmapper from="*.xsl.proto" to="*.xsl"/>
>>>> +          <!-- As we copy, replace the token
>>>> @LZ_DOCBOOK_XSL_HOME@ with
>>>> +              the installation-dependent value for ${docbook-xsl}
>>>> -->
>>>> +          <filterset>
>>>> +            <filter token="LZ_DOCBOOK_XSL_HOME" value="${docbook-
>>>> xsl}" />
>>>> +          </filterset>
>>>> +      </copy>
>>>> +  </target>
>>>> +
>>>
>>>
>>> On Aug 9, 2006, at 5:29 PM, togawa manabu wrote:
>>>
>>>> thats a bad news.
>>>> I'm trying to build japanese version of documentations.
>>>> I added "wrap-link" blank template but the another error occurs.
>>>>
>>>> when is it going to fixed or how can I hand-tweak..
>>>>
>>>> thanks.
>>>> togawa
>>>>
>>>> On 2006/08/10, at 8:48, Benjamin Shine wrote:
>>>>
>>>>> The doc target is broken; you can't build doc -- except for on a
>>>>> few machines which have been hand-tweaked to make the doc build
>>>>> work.
>>>>
>>>
>>
>> _______________________________________________
>> Laszlo-dev mailing list
>> Laszlo-dev at openlaszlo.org
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev



More information about the Laszlo-dev mailing list