Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-09-02 00:05:03


Douglas Gregor wrote:
> On Monday 01 September 2003 03:56 am, Vladimir Prus wrote:
> > But "using boostbook ;" will almost sure not work for a first-time user:
> > one need either to specify Docbook location as argument to "using" or by
> > environmental variable.
> >
> > Maybe, environmental variable should not be supported at all, and
> > arguments for specifying Docbook location should be made mandatory?
>
> Just to clarify: you don't need the DocBook stylesheets for BoostBook to
> work. xsltproc will just load them over the network if they are not found
> locally. So aside from any bugs, the only way the "using boostbook ;" is
> going to fail is when Boost.Build is there but the BoostBook XSL is not
> there.

Ah... I forgot that nice feature of xsltproc.

> This doesn't mean that I'm opposed to commenting-out the "using boostbook
> ;" and "using xsltproc ;" lines, but it may be reasonable just to either
> change the errors.error into a warning or remove the warning entirely
> (since the BoostBook XSL could also be loaded from the network, if it is
> not available locally).

The users who don't care about BoostBook should not see that warning. OTOH,
users who use BoostBook should see the warning about both BoostBook and
DocBook XSL/DTD, to avoid hitting the network under the cover.

Me guesses it's only possible if we comment out "using boostbook ;" and
improve reporting in boostbook.jam

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk