From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2007-08-17 07:03:36
When trying to pass a target to bjam that has a '/' in its name, and one of it
path components happen to be incident to a feature, as e.g. in:
boost build complains with:
feature.implied-feature from module feature
error: "doc" is not a value of an implicit feature
X:/projects/boost/trunk/tools/build/v2/build\property.jam:277: in validate1 from
property.validate from module property
convert-command-line-element from module build-request
build-request.from-command-line from module build-request
X:/projects/boost/trunk/tools/build/v2\build-system.jam:267: in load from module
X:\projects\boost\trunk\tools\build\v2/kernel\modules.jam:261: in import from
X:\projects\boost\trunk\tools\build\v2/kernel/bootstrap.jam:132: in boost-build
This is odd because
1) The error message is misleading since the html (not the doc) is causing the
error. Despite doc is being reported. (Try doc/doc instead.)
2) It is cryptic why e.g. "install html/images" should be allowed while "install
doc/html" will generate an error.
Generally try _first_ to apply "convert-command-line-element", and everything
that is failing this, pass on to targets.
However this will also require a change of "property.validate" so it will not
automatically trigger an EXIT.
What do you think?
Roland aka speedsnail
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