Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79870 - trunk/tools/build/v2/build
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-05 05:41:49


Author: jurko
Date: 2012-08-05 05:41:46 EDT (Sun, 05 Aug 2012)
New Revision: 79870
URL: http://svn.boost.org/trac/boost/changeset/79870

Log:
Boost Build cleanup - removed the never used project.act-as-jamfile() rule.
Text files modified:
   trunk/tools/build/v2/build/project.jam | 18 ------------------
   trunk/tools/build/v2/build/project.py | 18 ------------------
   2 files changed, 0 insertions(+), 36 deletions(-)

Modified: trunk/tools/build/v2/build/project.jam
==============================================================================
--- trunk/tools/build/v2/build/project.jam (original)
+++ trunk/tools/build/v2/build/project.jam 2012-08-05 05:41:46 EDT (Sun, 05 Aug 2012)
@@ -117,24 +117,6 @@
 # 'location'. Reports an error if a Jamfile has already been loaded for that
 # location.
 #
-rule act-as-jamfile ( module : location )
-{
- if [ module-name $(location) ] in $(.jamfile-modules)
- {
- import errors ;
- errors.error "Jamfile was already loaded for '$(location)'" ;
- }
- # Set up non-default mapping from location to module.
- .module.$(location) = $(module) ;
-
- # Add the location to the list of project locations so that we do not try to
- # reload the same Jamfile in the future.
- .jamfile-modules += [ module-name $(location) ] ;
-
- initialize $(module) : $(location) ;
-}
-
-
 # Returns the project module corresponding to the given project-id or plain
 # directory name. Returns nothing if such a project can not be found.
 #

Modified: trunk/tools/build/v2/build/project.py
==============================================================================
--- trunk/tools/build/v2/build/project.py (original)
+++ trunk/tools/build/v2/build/project.py 2012-08-05 05:41:46 EDT (Sun, 05 Aug 2012)
@@ -179,24 +179,6 @@
 
         return self.load(os.path.dirname(found[0]))
 
- def act_as_jamfile(self, module, location):
- """Makes the specified 'module' act as if it were a regularly loaded Jamfile
- at 'location'. If Jamfile is already located for that location, it's an
- error."""
-
- if self.module_name(location) in self.jamfile_modules:
- self.manager.errors()(
- "Jamfile was already loaded for '%s'" % location)
-
- # Set up non-default mapping from location to module.
- self.location2module[location] = module
-
- # Add the location to the list of project locations so that we do not
- # try to reload the same Jamfile in the future.
- self.jamfile_modules.append(location)
-
- self.initialize(module, location)
-
     def find(self, name, current_location):
         """Given 'name' which can be project-id or plain directory name,
         return project module corresponding to that id or directory.


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