The basics of running your packaged image are described under Simple Packaging. In the example, nodialog was used to launch the example and the .ini file from the development was used along with the packaged image as parameters. It was run within the same VA Smalltalk installation which generated the packaged image.First, review the components of a command such as nodialog –iepappl –ini:abt.ini. in addition to the packaged image itself specified in the –i parameter.
You want to run on Windows,your application has a GUI andyou want a splash screen You want to run on Linux,your application has a GUI andyou want a splash screen You want to run on Windows,your application has a GUI and You want to run on Linux ,your application has a GUI and You want to run on Windows ,your application has a no GUI and You want to run on Linux ,your application has a no GUI and
You want to run on Windows and You want to run on Linux andRunning the packaged image from the development environment is suitable for quick level testing. The best place to extensively test your runtime image is in a target environment within a separate context such as the Server Runtime (available on the Instantiations download page) which uses a preconfigured directory tree of needed files. It is the better context for testing
• Once you locate the proper .ini file, copy it to the same directory as your packaged image, and then rename it to match the packaged image file.To run in the development environment, the command terminal must be a VAST command terminal, which is available through a shortcut on the Start menu or through Environments ‘open command window’ menu item in the context menu any selected environment.e.g.: Development Environment nodialog -iepappl
The use of nodialog indicates the packaged image has a user interface. The parameter -i tells the executable to use the named image rather than the default image name abt.icx. The lack of -ini on the command line indicates the presence of an .ini file named epappl.ini.If your application has no user interface, you run your packaged image by starting the executable esvio.exe (or esnx on UNIX) with your packaged application file name as the image parameter.The Hello World example is such a headless application. It outputs a string “Hello world from Smalltalk” to the console. If hello.icx is the reduced runtime image generated by the packager, and hello.ini is the .ini file from the newimage directory, the command line is as follows
|