Fix in `ProjectDefinition`: load `stx:goodies/fileformats/plist` to get `MacPlistXMLCoder` jv
authorJan Vrany <jan.vrany@fit.cvut.cz>
Fri, 11 May 2018 12:12:57 +0100
branchjv
changeset 22910 58b0fbe6734b
parent 22909 2669c1bd20a5
child 23108 77cd6e1625e1
Fix in `ProjectDefinition`: load `stx:goodies/fileformats/plist` to get `MacPlistXMLCoder` ...which has been moved (from package `stx:goodies/xml/stx`). Fixes regression in `RegressionTests::MakefileTests`. (grafted from 8c5bdb5af03d3a1e82234d85c21d325573d7ef56)
ProjectDefinition.st
--- a/ProjectDefinition.st	Sun Jul 16 11:49:58 2017 +0200
+++ b/ProjectDefinition.st	Fri May 11 12:12:57 2018 +0100
@@ -5258,7 +5258,10 @@
 
     (plist := self osx_info_dot_plist_dictionary) isNil ifTrue:[^ nil].
     MacPlistXMLCoder isNil ifTrue:[
-        Smalltalk loadPackage:'stx:goodies/xml/stx'
+        Smalltalk loadPackage:'stx:goodies/fileformats/plist/stx'.
+        MacPlistXMLCoder isNil ifTrue:[
+            self error: 'Cannot load required class MacPlistXMLCoder'.
+        ].
     ].    
     ^ MacPlistXMLCoder encode:plist