David Abrahams wrote:
Title says it all.
I can bjam --v2 html but not bjam --v2 pdf How is it done?
I think this is broken as well, at least under cygwin. Back in the day, I got this working by following the steps at http://boost.org/doc/html/boostbook/fop.html. I added the following to my user-config.jam:
using fop : /home/catfood/fop-0.20.5/
: /cygdrive/c/Java/j2re1.4.2_06/
;and this did the trick. But now, when I try to build a pdf, I get:
[EMAIL PROTECTED] ~/boost/cvs/boost-sandbox/libs/xpressive/doc $ bjam --v2 pdf warning: toolset fop initialization: warning: can't find user-provided command '/home/catfood/fop-0.20.5/' warning: initialized from ...found 36 targets... ...updating 1 target... fop.render ../../../bin.v2/libs/xpressive/doc/gcc/debug/xpressive.pdf /home/catfood/fop-0.20.5/: not found
JAVA_HOME=/cygdrive/c/Java/j2re1.4.2_06/
/home/catfood/fop-0.20.5/ ../../../bin.v2/libs/xpressive/doc/gcc/debug/xpressive.fo ../../../bin.v2/libs/xpressive/doc/gcc/debug/xpressive.pdf
...failed fop.render ../../../bin.v2/libs/xpressive/doc/gcc/debug/xpressive.pdf...
...failed updating 1 target...
I'm not sure when this stopped working, and I don't recall doing anything to my environment that would affect this.
After a bit of fiddling, I got it working again by using /home/catfood/fop-0.20.5/fop.sh as FOP_DIR and by setting JAVACMD envar to point directly to my java.exe. But this shouldn't be necessary, and at the very least, the documentation is wrong.
-- Eric Niebler Boost Consulting www.boost-consulting.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
