Migration Guide : Migration Tools : Export/Import Passive Image Properties
Export/Import Passive Image Properties
 
In order to facilitate migration of XD passive images from one version of VA Smalltalk to another (or from one image to another), the Server Workbench, Base feature has been extended to allow the transfer of the properties of a passive image via a text file.
 
The steps required are as follows:
1. In the source (old) development image, write the properties of a named passive image to a file. Use one of the Smalltalk expressions
 
EmImageManager
writePassiveImagePropertiesFor: 'myPassiveImage'
inFile: 'myPassiveImage.txt'.
 
EmImageManager writePassiveImagePropertiesFor: 'myPassiveImage'
 
The first expression allows you to specify the file in which the properties are recorded. The second expression creates a text file with the same name as the passive image.
2. In the target (new) development image, load the Server Workbench, Base feature. You may also need to load other features used in the passive image into the development image, e.g. Server, Database and Server, SST.
3. In the new development image, create a new passive image using the expression:
 
EmImageManager newImageWithPropertiesFrom: 'myPassiveImage.txt'.
 
This results in an Image Properties dialog with the property values from the text file myPassiveImage.txt. If there were any problems discovered in setting the properties, they are recorded in the transcript.
Click on 'OK' to create a new passive image with the properties shown in the Image Properties dialog.
Last modified date: 06/19/2020