thanks this is a really nice script! On 26/6/14 22:38, Stephan Eggermont wrote:
|errors| errors := OrderedCollection new. SystemNavigation default allClassesDo: [ :each | (each name beginsWith: 'ConfigurationOf' ) ifTrue: [ |list| list := MetacelloToolBox validateConfiguration: each. list do: [ :warning | warning isCritical ifTrue:[errors add: each -> warning ]] ]]. errors an OrderedCollection(ConfigurationOf->Error: No usable baseline or versions defined. { noVersionsDefined } [ #validatePragmas ] ConfigurationOfVersionnerTestBitmapCharacterSet->Critical Warning: The name of package 'Collections-BitmapCharacterSet' does not match the file name ' Collections-BitmapCharacterSet-JAA.5' in version '1.0' { packageNameMismatch } [ #validateVersionSpec: ] ConfigurationOfVersionnerTestXMLParserTemplate->Critical Warning: The name of package 'VersionnerTestXML-Parser' does not match the file name 'XML-Parser-NorbertHartl.141' in version '1.0' { packageNameMismatch } [ #validateVersionSpec: ] ConfigurationOfVersionnerTestXMLParserTemplate->Critical Warning: The name of package 'VersionnerTestXML-Tests-Parser' does not match the file name 'XML-Tests-Parser-JAA.14' in version '1.0' { packageNameMismatch } [ #validateVersionSpec: ] ConfigurationOfVersionnerTestXMLWriter->Critical Warning: No version specified for the package 'Collections-Support' in version '2.0.0' { noVersionSpecified } [ #validateVersionSpec: ] ConfigurationOfVersionnerTestXMLWriter->Critical Warning: No version specified for the package 'Collections-Support' in version '2.1.0' { noVersionSpecified } [ #validateVersionSpec: ])