Removed PhLDirectoryBasedImageRepository>>metaFromDirectory: that was redundant after move to PhLImage.
Changed error message to use PhLUIInformation.
DELETE
src/PharoLauncher-Core.package/PhLDirectoryBasedImageRepository.class/instance/metaFromDirectory..st
-private
-metaFromDirectory: aDirectory
- | meta |
-
- meta := Dictionary new.
- (aDirectory filesMatching: PhLAbstractTemplate metaInfoFileName)
- do: [ :metaFile |
- metaFile readStreamDo: [ :stream |
- [ meta addAll: (STON fromStream: stream) ]
- on: Error
- do: [ Transcript crShow: 'PharoLauncher error: meta info ' , metaFile asString ] ] ].
- ^ meta
\ No newline at end of file

MODIFY
src/PharoLauncher-Core.package/PhLImage.class/instance/metaFromDirectory..st
src/PharoLauncher-Core.package/PhLImage.class/instance/metaFromDirectory..st
@@ -6,7 +6,9 @@ metaFromDirectory: aDirectory
(aDirectory filesMatching: PhLAbstractTemplate metaInfoFileName)
do: [ :metaFile |
metaFile readStreamDo: [ :stream |
- [ myMeta addAll: (STON fromStream: stream) ]
+ [ myMeta addAll: (STON fromStream: stream) . 1/0 ]
on: Error
- do: [ Transcript crShow: 'PharoLauncher error: meta info ' , metaFile asString ] ] ].
+ do: [ PhLUIInformation new
+ message: ('PharoLauncher error: meta info {1}' format: { metaFile asString }) ;
+ inform ] ] ].
^ myMeta
\ No newline at end of file

Removed PhLDirectoryBasedImageRepository>>metaFromDirectory: that was redundant after move to PhLImage.

Changed error message to use PhLUIInformation.