Including deleted parts
You might find that parts in your application do not make it into the runtime image. Parts referenced solely as strings or as symbols don't make it into the runtime image. To generate a small runtime image, VA Smalltalk strips out all parts that aren't explicitly referenced in the code.
To ensure that all parts in your application are included in the runtime image, check the spusage.es or cmethods.es statistics files. If one or more parts were excluded, you can re-include them by doing either of the following:
• Change your application so its code explicitly names each part.
• Add a class script named packagerIncludeClassNames to the class having the same name as your application. The script should return an array of all parts that you want included in the runtime image. For example, for an application named AbcCompanyApp which has the parts AbcPartOne, AbcPartTwo, and AbcPartThree, the script might read as follows:
• packagerIncludeClassNames
• ^#(AbcPartOne AbcPartTwo AbcPartThree)
For more information on including unreferenced parts, methods, and variables, refer to the Smalltalk User Guide.
Last modified date: 07/23/2020