Update of /cvsroot/boost/boost/tools/build/v2/build
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31134/build

Modified Files:
      Tag: RC_1_34_0
        project.jam 
Log Message:
Merge from trunk

Index: project.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/build/project.jam,v
retrieving revision 1.115.2.4
retrieving revision 1.115.2.5
diff -u -d -r1.115.2.4 -r1.115.2.5
--- project.jam 18 May 2006 09:18:59 -0000      1.115.2.4
+++ project.jam 7 Jul 2006 06:48:53 -0000       1.115.2.5
@@ -76,22 +76,28 @@
         # to child projects from parent projects, we don't immediately
         # loading child projects when seing those attributes. Instead,
         # we record the minimal information that will be used only later.
-
-        local used = [ modules.peek $(module-name) : .used-projects ] ;
-                import project ;
-        while $(used)
-        {
-            local id = $(used[1]) ;
-            local where = $(used[2]) ;
-            
-            project.use $(id) : [ path.root 
-                [ path.make $(where) ] $(jamfile-location) ] ;
-            used = $(used[3-]) ;
-        }        
+        load-used-projects $(module-name) ;
     }                
     return $(module-name) ;        
 }
 
+rule load-used-projects ( module-name )
+{
+    local used = [ modules.peek $(module-name) : .used-projects ] ;
+    local location = [ attribute $(module-name) location ] ;
+    import project ;
+    while $(used)
+    {
+        local id = $(used[1]) ;
+        local where = $(used[2]) ;
+        
+        project.use $(id) : [ path.root 
+            [ path.make $(where) ] $(location) ] ;
+        used = $(used[3-]) ;
+    }            
+}
+
+
 # Note the use of character groups, as opposed to listing
 # 'Jamroot' and 'jamroot'. With the latter, we'd get duplicate
 # matches on windows and would have to eliminate duplicates.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to