One of the final steps in making your application available to an end user is make it available in its executable form. To do this, you must extract it from the development environment and provide only the files needed by the user. The following steps explain how to make an application executable in its simplest form. The process of making an executable, from your application parts, is often referred to as packaging an application. Packaging your application typically takes between 5 and 30 minutes depending on application size. We'll walk you through the steps of versioning your application and it's parts, choosing a location to store your packaged application, and performing the packaging process.
The first step we'll perform in preparation for application packaging is to version and release your application and its parts.
You may have noticed when you created your application that the application name entry in the VisualAge Organizer was of the form ToDoListApp(mm-dd-yy hours:minutes:seconds AM|PM). The time and date reflect when you created the application. The same naming convention is also used for the ToDoListView part you created. Entries shown as such in the VisualAge Organizer indicate that the application or part is an open edition of the application or part. It is recommended that open editions be closed prior to packaging your application if not more often. Closing an open edition freezes the current state of your applications and parts. To close an open edition in VisualAge, you version your parts and applications. A VisualAge part must be versioned and released to the application it belongs to. The process of versioning and releasing a part makes the specific state or version of the part available for use by the application.
Note: | For additional information about managing your application part's editions and versions, refer to the section on managing your VisualAge application in the VisualAge Smalltalk User's Guide . |
Complete the following steps to version and release your application and its parts.
Note: | You will be unable to version your application until you have versioned and released your application parts. |
For our example, we've created a folder named C:\TODOLIST.
Note: | If your application contained more than one window, all of them would be shown in the list. Select the window you want to open first when the application starts. |
Note: | On UNIX platforms, the exe file extension should not be specified. Only the file name todolist and the folder that will contain the application need be specified. |
Note: | On Windows, select Save to continue. |
During the packaging phase, a progress indicator is displayed. Provided that you were able to successfully build the To-Do List sample application, the resulting files of the application packaging process will be placed within the specified folder created in an earlier step. If errors were detected, the Packager Control window will be displayed allowing you to correct your errors and continue processing. When you are ready to continue, select Finish. When the packaging is finished, select Close. For more information about creating the executable form of your application, correcting errors and what files are created during this step, refer to the VisualAge Smalltalk User's Guide .