MCMultiPackageLoader.st
author Claus Gittinger <cg@exept.de>
Sat, 20 Aug 2011 13:43:06 +0200
changeset 206 1f1a5a9b2c7c
child 311 5cdfe7daf2d0
permissions -rw-r--r--
initial checkin

"{ 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 §'
! !