ProjectDefinition.st
changeset 10129 6103c9187040
parent 10124 d38b40bc1dfc
child 10132 e2afb1e0363a
--- a/ProjectDefinition.st	Mon Oct 23 18:12:12 2006 +0200
+++ b/ProjectDefinition.st	Mon Oct 23 22:16:08 2006 +0200
@@ -2261,13 +2261,29 @@
     "Created: / 17-08-2006 / 00:21:39 / cg"
 !
 
+loadPreRequisites
+    "load other packages (at least the projectDefinitions and their extensions)"
+
+    self preRequisites do:[:preReqPackage |
+        |def|
+
+        def := ProjectDefinition definitionClassForPackage:preReqPackage.
+        def notNil ifTrue:[
+            def autoload.
+        ].
+    ].
+
+    "Created: / 23-10-2006 / 22:15:27 / cg"
+!
+
 postAutoload
     self hasExtensionMethods ifTrue:[
         self loadExtensions
     ].
+    self loadPreRequisites.
 
     "Created: / 17-08-2006 / 00:21:29 / cg"
-    "Modified: / 14-09-2006 / 14:20:33 / cg"
+    "Modified: / 23-10-2006 / 22:15:47 / cg"
 ! !
 
 !ProjectDefinition class methodsFor:'mappings'!
@@ -3419,7 +3435,7 @@
 !ProjectDefinition class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.108 2006-10-23 14:54:12 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.109 2006-10-23 20:16:08 cg Exp $'
 ! !
 
 ProjectDefinition initialize!