changed: #loadAsAutoloaded:
authorClaus Gittinger <cg@exept.de>
Tue, 01 Dec 2009 22:30:36 +0100
changeset 12574 2247be7b9e54
parent 12573 5ba8b4f0a0c0
child 12575 aa30728c3045
changed: #loadAsAutoloaded: check prerequisitesForExtensions AFTER loadeing the prerequisites (could have an extension for one of them)
ProjectDefinition.st
--- a/ProjectDefinition.st	Tue Dec 01 21:04:26 2009 +0100
+++ b/ProjectDefinition.st	Tue Dec 01 22:30:36 2009 +0100
@@ -3804,8 +3804,6 @@
     self projectIsLoaded ifTrue:[^ false].
     thisContext isRecursive ifTrue:[^ false].    "/ avoid endless loops
 
-    self checkPrerequisitesForLoading.
-
     newStuffHasBeenLoaded := false.
 
     (self infoPrinting and:[Smalltalk silentLoading not]) ifTrue:[
@@ -3827,6 +3825,9 @@
     Class withoutUpdatingChangesDo:[
         self activityNotification:'Loading prerequisities'.
         self loadPreRequisitesAsAutoloaded:asAutoloaded.
+
+        self checkPrerequisitesForLoading.
+
         asAutoloaded ifFalse:[
             self loadClassLibrary.
             "/ could have overloaded my first incarnation
@@ -5207,11 +5208,11 @@
 !ProjectDefinition class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.291 2009-11-30 17:07:01 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.292 2009-12-01 21:30:36 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.291 2009-11-30 17:07:01 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.292 2009-12-01 21:30:36 cg Exp $'
 ! !
 
 ProjectDefinition initialize!