initial checkin
authorClaus Gittinger <cg@exept.de>
Sat, 20 Aug 2011 13:43:06 +0200
changeset 206 1f1a5a9b2c7c
parent 205 f29becc7e2a3
child 207 83708c5fac2a
initial checkin
MCMultiPackageLoader.st
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MCMultiPackageLoader.st	Sat Aug 20 13:43:06 2011 +0200
@@ -0,0 +1,38 @@
+"{ Package: 'stx:goodies/monticello' }"
+
+MCPackageLoader subclass:#MCMultiPackageLoader
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Monticello-Loading'
+!
+
+MCMultiPackageLoader comment:'A PackageLoader doing some additional cross-package checks'
+!
+
+
+!MCMultiPackageLoader methodsFor:'private'!
+
+analyze
+	| index |
+	index := MCDefinitionIndex definitions: additions.
+	removals removeAllSuchThat: [:removal |
+		(index definitionLike: removal
+			ifPresent: [:addition | obsoletions at: addition put: removal]
+			ifAbsent: []) notNil].
+	super analyze
+! !
+
+!MCMultiPackageLoader class methodsFor:'documentation'!
+
+version
+    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCMultiPackageLoader.st,v 1.1 2011-08-20 11:43:06 cg Exp $'
+!
+
+version_CVS
+    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCMultiPackageLoader.st,v 1.1 2011-08-20 11:43:06 cg Exp $'
+!
+
+version_SVN
+    ^ '§Id: MCMultiPackageLoader.st 29 2011-03-14 12:24:51Z vranyj1 §'
+! !