Boost logo

Boost-Commit :

From: juergen.hunold_at_[hidden]
Date: 2008-08-08 15:52:06


Author: jhunold
Date: 2008-08-08 15:52:05 EDT (Fri, 08 Aug 2008)
New Revision: 48035
URL: http://svn.boost.org/trac/boost/changeset/48035

Log:
Fix: build_project works.
Fix: print location for missing Jamfile.

Text files modified:
   branches/build/python_port/python/boost/build/build/project.py | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: branches/build/python_port/python/boost/build/build/project.py
==============================================================================
--- branches/build/python_port/python/boost/build/build/project.py (original)
+++ branches/build/python_port/python/boost/build/build/project.py 2008-08-08 15:52:05 EDT (Fri, 08 Aug 2008)
@@ -168,7 +168,7 @@
             location, self.JAMROOT + self.JAMFILE)
 
         if not found:
- print "error: Could not find parent for project at '$(location)'"
+ print "error: Could not find parent for project at '%s'" % location
             print "error: Did not find Jamfile or project-root.jam in any parent directory."
             sys.exit(1)
     
@@ -899,10 +899,11 @@
         self.registry.used_projects[m].append((id, where))
         
     def build_project(self, dir):
+ assert(isinstance(dir, list))
         jamfile_module = self.registry.current().project_module()
         attributes = self.registry.attributes(jamfile_module)
         now = attributes.get("projects-to-build")
- attributes.set("projects-to-build", now.append(dir))
+ attributes.set("projects-to-build", now + dir, exact=True)
 
     def explicit(self, target_names):
         t = self.registry.current()


Boost-Commit 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