Example: Running DevelopChooser
This example describes how to setup an intentional context for and run the application DevelopChooser, which you packaged when completing the steps in Example: Running the packager. Remember, DevelopChooser is a user application with a user interface.
The intentional context under discussion is the Server Runtime described in Running your packaged image.
Given a packaged image, the steps to set up and run it are
1. Get an .ini file, copy it to the same directory as the image and rename this .ini file to match the image.
2. Open a command terminal.
3. Launch the packaged image.
Details for how to set up and run DevelopChooser in the development environment or the Server Runtime follow.
Development Envirionment
Copy abt.ini from the newimage subdirectory of the VA Smalltalk installation into the same directory as the packaged image, epappl, and rename it epappl.ini.
This .ini file will allow your packaged image to locate strings used for the graphical user interface.
Open a command terminal, cd to the directory with epappl, the reduced runtime image.
Launch the image from the command line. Since DevelopChooser has a user interface:
nodialog –iepappl
Server Runtime
See Running your packaged image for how to get the Server Runtime.
Copy the reduced runtime image, epappl, into the root of the Server Runtime tree.
Copy <server-runtime-root>\newimage\abt.ini to the same directory as as the packaged image, epappl, and rename it epappl.ini
This .ini file will allow your packaged image to locate strings used for the graphical user interface.
Open a command terminal, cd to <server-runtime-root>.
Launch the image from the command line.
For Windows:
bin\nodialog.exe -iepappl
For Linux (UNIX):
newimage/nodialog -iepappl
 
Last modified date: 05/19/2020