At server startup time, Tcl initialization is performed in the following steps for each virtual server:
init.tcl
file in that directory is sourced first (if it exists and if an init.tcl file does not also exist in the private Tcl directory). Then all .tcl
files that are not also in the private Tcl directory are sourced alphabetically.
init.tcl
file in that directory is sourced first (if it exists), and then all the remaining .tcl
files are sourced alphabetically.
init.tcl
file in the module-name subdirectory is sourced first (if it exists and if an init.tcl file does not also exist in the private Tcl directory). Then all .tcl
files that are not also in the private Tcl directory are sourced alphabetically.
init.tcl
file in the module-name subdirectory of the private directory is sourced first (if it exists), and then all the remaining .tcl
files are sourced alphabetically.
You can also explicitly initialize Tcl libraries while AOLserver is running through the Tcl Administration pages. Follow the Tcl Scripting link on the server administration page (/NS/Admin). Then follow one of the links to initialize the private or shared Tcl library, Reinitialize Private Tcl or Reinitialize Shared Tcl.