This example describes how to package the application DevelopChooser, which you created when completing the steps beginning in Example: Creating the application DevelopChooser.Before beginning the packaging process, you must specify how to launch the stand-alone program which is the result of the packaging process. See Example: specifying launch code.
1. In the open Application Manager, select the DevelopChooser.
2. Select Package > Package then Browse Problems (or Browse Problems then Package) from the Applications menu to start the packaging process for the selected application.Create New Instructions" for a "VisualAge reduced runtime image" (If you are in basic image (ibmst.icx), the packager deduces "IBM Smalltalk reduced runtime image".)From the leftmost list of "Available Applications" select DevelopChooser and use >> to move it to "Selected Application" list.Since DevelopChooser has already startup code that launches your application, the packager does not prompt you for that code. Any problems found during the packaging process are reported before the application is packaged.If that code is missing, type in the Smalltalk expression Chooser new open as the Application Entry Point then select OK. .Click on “Examine & Fix Problems”Not all errors will prevent the application from launching. After you examine the errors, you can choose to Cancel or proceed with the packaging.
5. Click Finish.
|