|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-07 08:01:56
On Thursday 23 February 2006 20:52, Rene Rivera wrote:
> -JAMROOT = project-root.jam [Jj]amroot [Jj]amroot.jam ;
> +JAMROOT ?= [ peek : JAMROOT ] ;
> +JAMROOT ?= project-root.jam [Jj]amroot [Jj]amroot.jam ;
> +
> # Loads parent of Jamfile at 'location'. Issues an error if nothing is
> found. rule load-parent ( location )
> {
> @@ -106,8 +108,8 @@
>
> if ! $(found)
> {
> - ECHO "error: Could not find parent for project at '$(location)'" ;
> - ECHO "error: Did not find Jamfile or project-root.jam in any
> parent directory." ; + error "Could not find parent for project at
> '$(location)'" + : "Did not find Jamfile or project-root.jam in
> any parent directory." ; EXIT ;
This change cause stacktrace to be shown when Jamroot can't be found. Is this
a desired behaviour?
Users seems to be confused by long stacktrace, and in this case, it's not an
internal error where stack trace makes sense.
What do you think?
- 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