From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-09-01 09:04:47
> I tried this in the Jamfile located in the project-root directory:
> local rootdir = [ project-root get-location ] ;
> and it resulted in this error:
> /path/to/project-roots.jam:368: in project-root
> warning: rulename $(project-root-module).project-root expands to empty
That's because some time ago, someone comitted the following:
2003-05-26 16:56 vladimir_prus
* project.jam: Refactorings: remove 'project-root' attribute of
project, for lack of any use.
* new/project.jam (initialize): Register with project root here.
Don't initialize the 'project-root' attribute.
(project-attributes.set): Don't allow 'project-root' and
Well... there was some use of the removed stuff. That someone is now writing a
testcase and fixing the problem you see... done. The updated new/project.jam
will be in anonymous CVS withing 24 hours, at
http://boost-consulting.com/boost/tools/build/new/ withing hour and at
Note that 'get-location' returns relative path. The following will be needed
to get absolute one:
import path : root pwd ;
local l = [ project-root get-location ] ;
ECHO [ root $(l) [ pwd ] ] ;
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