Compiling scripts to bytecode To speed up the time required to load an application instance, you can use the FAR utility to compile one or more ASC or JS files to bytecode. The output file is in the same location as the input file and has the same name, but the .asc or .js file extension is replaced with a .ase file extension. If the input file does not have a .asc or .js extension, the .ase extension is appended to the filename. To compile server-side scripts to bytecode: 1. Open your operating system's command shell. 2. Enter far -compile with the desired options at the prompt. NOTE: Add the location of the FAR utility to the PATH environment variable. This addition lets you run the FAR utility without having to specify the full path to the executable. The syntax for running the archive compiler utility to create a script package is as follows: c:> far -compile [-v ] [-fv ] [-e ] [-hdr ] [-n] [-h []] [ ... ]
|
My Blog Title
|