Boost logo

Boost-Build :

Subject: Re: [Boost-build] [boostbock] failed to load external entity warning
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2008-11-27 09:09:55


> -----Original Message-----
> From: Vladimir Prus [mailto:vladimir_at_[hidden]]
> Sent: 21 November 2008 15:24
> To: boost-build_at_[hidden]
> Subject: Re: [Boost-build] [boostbock] failed to load external entity
warning

> > I've been bitten more than once by unbelievably picky requirements in
> > user-config.jam (which even seem to vary from boostbook, xslt to
RenderX!)
>
> In what way was *you* bitten? In general, on Windows, it's best to use
> windows style paths with forward separators, I think.

Well sometimes I deserved what I got - forgot that using /Program Files/
meant "" were essential :-((
(And I still can't get : or ; as keywords to stick into my brain either).

But

I naively expected more of these to work.

using xsltproc
 # : C:\\Program~1\\xsltproc_win32\\xsltproc.exe # NOT OK - missing "".
  : "C:\\Program Files\\xsltproc_win32\\xsltproc.exe" # Worked OK.
 # : "C:/Program Files/xsltproc_win32/xsltproc.exe" # Worked OK.
  #: "C:/Progra~1/xsltproc_win32/xsltproc.exe" # worked OK
  # actually "C:/Program Files/xsltproc_win32/xsltproc.exe" according to
Windows
  ;

# XSLT-FO processor from RenderX.com
using fop
  : # XEP batch filename
  # Note you may need to increase the Java heap size.
  # "C:/Progra~1/renderx/xep/xep.bat" # OK
  # C:/Progra~1/renderx/xep/xep.bat # OK
  # "C:/Program Files/renderx/xep/xep.bat" # Definitely does NOT seem to
work.
   "C:\\Program Files\\renderx\\xep\\xep.bat" # NOT OK - despite "" and \\
  #'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

  : # Java executable called by xep.bat.
  # C:/PROGRA~1/Java/jre6 #OK
  # "C:/PROGRA~1/Java/jre6" # OK
  #"C:/Program files/Java/jre6" # OK
   "C:\\Program files\\Java\\jre6" # OK
  #"C:\Program files\Java\jre6" # NOT OK
  ;

Unless I've got fat finger trouble again ;-)

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal, UK   LA8 8AB
+44 1539 561830, mobile +44 7714330204
pbristow_at_[hidden]

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