docbook-apps

  • 1.  docbook stylesheets 1.77.0 - webhelp

    Posted 06-01-2012 07:35
    Dear all.

    Yesterday I tried to build webhelp from the new stylesheets 1.77.0 There seems to be a bug in the file "build.xml". Around line 30 it says:

    [...]
    <target name="chunk" depends="clean">

    <mkdir dir="${output-dir}"/>
    <tempfile destdir="${output-dir}" deleteonexit="true" property="xincluded-profiled.xml"/>
    <tempfile destdir="${output-dir}" deleteonexit="true" property="dummy.html"/>
    <xslt
    in="${input-xml}"
    out="${xincluded-profiled.xml}"
    style="../profiling/profile.xsl">
    [...]

    Notice the relative path "../profiling/profile.xsl". This causes an error if the custom build file is not in the same directory as the build file from the source distribution. Changing that attribute to something like "${extensions.dir}/../profiling/profile.xsl" worked for me.

    /frank


  • 2.  Re: [docbook-apps] docbook stylesheets 1.77.0 - webhelp

    Posted 06-01-2012 08:24
    Hi Frank,

    Thanks for reporting this. We noticed this, and have already added a fix.
    It will be available in 1.77.1 release. While your fix works, we added it
    like the following way.

    ${ant.file.dir}/../profiling/profile.xsl

    --Kasun

    On Fri, Jun 1, 2012 at 1:05 PM, Frank Arensmeier <farensmeier@gmail.com>wrote:

    > Dear all.
    >
    > Yesterday I tried to build webhelp from the new stylesheets 1.77.0 There
    > seems to be a bug in the file "build.xml". Around line 30 it says:
    >
    > [...]
    > <target name="chunk" depends="clean">
    >
    > <mkdir dir="${output-dir}"/>
    > <tempfile destdir="${output-dir}" deleteonexit="true"
    > property="xincluded-profiled.xml"/>
    > <tempfile destdir="${output-dir}" deleteonexit="true"
    > property="dummy.html"/>
    > <xslt
    > in="${input-xml}"
    > out="${xincluded-profiled.xml}"
    > style="../profiling/profile.xsl">
    > [...]
    >
    > Notice the relative path "../profiling/profile.xsl". This causes an error
    > if the custom build file is not in the same directory as the build file
    > from the source distribution. Changing that attribute to something like
    > "${extensions.dir}/../profiling/profile.xsl" worked for me.
    >
    > /frank
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >


    --
    ~~~*******'''''''''''''*******~~~
    *Kasun Gajasinghe*
    Software Engineer; WSO2 Inc.; http://wso2.com,
    *linked-in: *http://lk.linkedin.com/in/gajasinghe*
    *
    *blog: **http://blog.kasunbg.org* <http://blog.kasunbg.org/>

    *
    twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>