The next step in packaging a stand-alone application is to have VisualAge extract your application details from the development environment and generate a minimum-sized runtime image.
To generate your runtime image, go to the VisualAge Organizer and select the application you want to package. Next, select Make Executable from the Applications menu.
In the Make Executable window that opens, make the following selections:
If you select None, make sure that the application class has a class method that provides startup logic. For information on startup logic, refer to descriptions of the method runtimeStartUp in materials on packaging in the IBM Smalltalk User's Guide.
You can include as prerequisites only applications that you make and applications that IBM permits you to redistribute. For a list of redistributable applications, refer to the online .api file.
To package a simple application, such as the Road Race application
described in Creating reusable parts, the selections in the Make Executable window resemble the
following:
Once you've made your selections and any needed corrections, select OK.
A prompter appears, informing you that packaging might take l5 to 30 minutes. It takes this long because VisualAge must determine what is and is not needed for your application and generate a runtime image that is as small as possible. Select Yes to continue with the packaging.
A file dialog appears. Using the drive and directory lists, select the output directory you just created. Type a name for your application, such as appname, in the Save as filename text entry field (File name text entry field in Windows) and select OK.
Once the generation gets underway, a progress dialog opens. When the generation finishes, the dialog closes.