Migration Guide : Migrating from VisualAge Smalltalk V3.0 or earlier : Other migration concerns : References to pool dictionary CwConstants, AbtCwConstants, or EwConstants
References to pool dictionary CwConstants, AbtCwConstants, or EwConstants
If you are having difficulty loading a Version 3.0 application due to compile errors referring to undefined constants, you may need to do the following.
In Version 3.0, AbtAppBldrPart had the following pool dictionaries defined: CwConstants, AbtCwConstants, and EwConstants. If one of your classes subclasses from AbtAppBldrPart (like a nonvisual part), these pool dictionaries are in your hierarchy. In later versions there was some refactoring of Pool Dictionaries. The pool dictionaries CwConstants, AbtCwConstants, and EwConstants were moved and defined in AbtAppBldrVisual, AbtAppBldrView, and probably in other classes. If your classes subclass directly from AbtAppBldrNonVisual or AbtAppBldrPart, the pool dictionaries are no longer defined directly there but in the classes mentioned above. Therefore, you must do one of the following:
1. Execute the following code in the Transcript:
EmImageBuilder cancelIfMethodsDoNotCompile: false.

Then reload. After you reload, you must add an entry in the class definition of your class that previously could not compile for the missing pool dictionary. After you do this, reload the class or application again.
2. Define the needed pool dictionaries in your class before porting to the current version of VA Smalltalk.
 
Last modified date: 07/02/2019