Automated XD Building
The ability to automate the packaging of your XD applications is contained in a product feature named z.ST: Automated Build Support, XD. The Automated XD Building Support builds on top of the regular Automated Build Support, thus all of the public interfaces defined there are available. You should read the section on Automated Build Support in the Smalltalk User Guide if you have not done so already. .
AbsXDBuildSpecification
 
The AbsXDBuildSpecification class is a subclass of AbsBuildSpecification and adds the ability to package headless runtime images. In addition to the public attributes and actions defined on the AbsBuildSpecification class, the AbsXDBuildSpecification class adds some new ones specifically for XD runtime packaging.
Attributes:
imageName: <String>
Set the name that will be used for the XD passive image. If nil, then #name will be used instead. This attribute allows the user to preload a development image with clean Windows and/or Unix XD images that can be used by the ABS system rather than having to create new XD images every time ABS is run.
imageType: <String>
Set the type of the XD passive image. This could be either
o 'WIN32s' (AbsXDBuildSpecification imageTypeWindows) or
o 'UNIX' (AbsXDBuildSpecification imageTypeUnix)
For convenience, you can use AbsXDBuildSpecification imageTypeWindows for Windows XD images or AbsXDBuildSpecification imageTypeUnix for UNIX XD images.
locale: <Array>
Set a triple array defining the desired locale for the XD passive image. The default locale is defined as #('english' 'us' 'ibm-819').
subsystemTypes: <LookupTable>
Set the XD passive image subsystem types. In most cases it is left nil so that #imageSubsystemsWindows or #imageSubsystemsUnix are used instead.
Actions:
AbsXDBuildSpecification has no additional actions.
Validations and Logging
See Automated Build Support in the Smalltalk User Guide for a detailed explanation.
Build Artifacts Output
In addition to the files AbsBuildSpecification generates, AbsXDBuildSpecification saves the snapshot files (.snp) in a \snp directory.
 
Last modified date: 04/28/2022