Getting Started


Running the To-do List application

During the application packaging process VisualAge created the executable and various runtime files you need to run your application.

Note:When you installed VisualAge, statements in your configuration files were modified to include the product directories. In OS/2 the LIBPATH statement was set in the CONFIG.SYS file; in Windows, the PATH statement was set in the AUTOEXEC.BAT file; in AIX, HP-UX and Sun Solaris the equivalent of the LIBPATH statements were set in the .profile file or control file used for AIX, HP-UX and Sun Solaris. When you run your packaged application, it looks for files in the path statement.

During the VisualAge packaging process, a file is created for your use in starting your application; for Windows and OS/2 a file named YourApp.EXE is created, for AIX, HP-UX and Sun Solaris a file named YourApp* is created. Here, YourApp is the file name you specified in the file save window early in the packaging process. In the case of Windows and OS/2, the file is an executable file that you can execute from the command prompt or associate with an icon. For AIX, HP-UX and Sun Solaris, a shell script is created that can be run from a shell command prompt. To start your application do one of the following:

  1. To run your application, in Windows or OS/2 type todolist from a command prompt with the current directory set to your TODOLIST directory where your packaged files were stored. This is the directory you created in Making the To-do List an executable application. For AIX, HP-UX and Sun Solaris type todolist* from a shell command prompt.
  2. Once your application has started, experiment with it to make sure it works as you designed it.

That's all there is to it!

If you want to distribute this application to another machine, a certain set of files must be copied along with the application executable file. For more detailed information on packaging applications, setting up your runtime environment, and distributing your application, refer to the VisualAge Smalltalk User's Guide .


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]