docbook-apps

  • 1.  webhelp with custom build.xml

    Posted 05-24-2012 20:32
    Hi,
    I'm trying to get the webhelp in 1.77.0 working. I don't want to change the
    distribution files, so as recommended I've created my own build.xml in the directory
    with my doc files, and it imports the webhelp/build.xml file. I can set properties
    and such before the import and that works.

    But the "webhelp" target fails at the profiling step because the path to the
    profiling stylesheet is style="../profiling/profile.xsl" in webhelp/build.xml, and
    that path is taken as relative to my custom build.xml file, not webhelp/build.xml, so
    the path fails. Is there a way to have that path read as relative to
    webhelp/build.xml rather than my custom build.xml?

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] webhelp with custom build.xml

    Posted 05-24-2012 20:56
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On 05/24/2012 03:31 PM, Bob Stayton wrote:
    > Hi, I'm trying to get the webhelp in 1.77.0 working. I don't want
    > to change the distribution files, so as recommended I've created my
    > own build.xml in the directory with my doc files, and it imports
    > the webhelp/build.xml file. I can set properties and such before
    > the import and that works.
    >
    > But the "webhelp" target fails at the profiling step because the
    > path to the profiling stylesheet is
    > style="../profiling/profile.xsl" in webhelp/build.xml, and that
    > path is taken as relative to my custom build.xml file, not
    > webhelp/build.xml, so the path fails. Is there a way to have that
    > path read as relative to webhelp/build.xml rather than my custom
    > build.xml?

    Hi Bob,
    I'm having trouble reproducing this, though someone else reported the
    same thing. Could you zip up a small test project and send it to me
    offlist so I can have a look?

    Thanks,
    David
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.11 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQEcBAEBAgAGBQJPvqBeAAoJEMHeSXG7afUhNiAH/1UpMZhvUDeWpOP0/zxSrBTd
    dEfjcaNPSmwH5RGRyBPUiPehbA4K3uZXykkpWO5eS5lhrdN3Eq0i6VZPOV2lgaBv
    hl0WWCLr3Y88Ey1a9fSXdRaMdDHLEiLwxCbrYmxhmkWfJJQMyOT97zxOWFS576ez
    id/e4lp3jljG1pUVRKWoP2NP+PBp3IJ3PnXbQVsPGN1CQYdsB8fEDYmm3ntQPj+l
    eF7/F/WGqoDTDd6XTW16uWtUoLb3LaJETosvE5BINs12hiMKC0SOS6sCA+CpDrUM
    Cn6ZXNnSz4xlIPT01scd65BHf2wDKNiSp1z3sYjYAdh9Z642grCg0nf9lisKnxo=
    =ah+2
    -----END PGP SIGNATURE-----



  • 3.  Re: [docbook-apps] webhelp with custom build.xml

    Posted 05-24-2012 21:28
    On 24.5.2012 22:31, Bob Stayton wrote:

    > But the "webhelp" target fails at the profiling step because the path
    > to the profiling stylesheet is style="../profiling/profile.xsl" in
    > webhelp/build.xml, and that path is taken as relative to my custom
    > build.xml file, not webhelp/build.xml, so the path fails. Is there a
    > way to have that path read as relative to webhelp/build.xml rather than
    > my custom build.xml?

    I think that this is a bug in webhelp/build.xml. Path should use
    property which is set to location of "master" build file, e.g.:

    style="${ant.file.dir}/../profiling/profile.xsl"

    I can't test this now, so I'm not commiting this change into repository.

    Jirka

    --
    ------------------------------------------------------------------
    Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
    ------------------------------------------------------------------
    Professional XML consulting and training services
    DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
    OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    ------------------------------------------------------------------




  • 4.  Re: [docbook-apps] webhelp with custom build.xml

    Posted 05-25-2012 03:25
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On 05/24/2012 04:28 PM, Jirka Kosek wrote:
    ...
    > I think that this is a bug in webhelp/build.xml. Path should use
    > property which is set to location of "master" build file, e.g.:
    >
    > style="${ant.file.dir}/../profiling/profile.xsl"
    >
    > I can't test this now, so I'm not commiting this change into
    > repository.

    Thanks Jirka. I've committed that change.

    David

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.11 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQEcBAEBAgAGBQJPvvuYAAoJEMHeSXG7afUh8igH/2smTLNxTOGvQDU4DSuSb5Nh
    Eu9VB9UgOGiAQ+ryut5H/j0Wcrm+pf8KnE9OtP4JtO3xhxkTilgcVJZv04k7J+bT
    W0qb0GqMNOuvFT5I+VXxHLBKTM5sCj3Emc75s34IYxi7x3EUSkbmG11f/utzSuSt
    LNfmpp8KzwG9W8zSmoYvZhyCFDWVMuubo5O+7U8kbB51MzmfowkfRhaNRqk/v0i5
    imgU8O3QxU/wcN3QgHLCc9IlWBvkjKsd2B7HVcEpwr80sJmBGv/+F4jP4kzjpOlJ
    CRnL69zCTBknoeV1Uun8r/QzfeN2JMf7VbePT4GNvDMpoxuxIqg0Lu/gtWqNB8Q=
    =JO27
    -----END PGP SIGNATURE-----