ds_watch_packages (private)

 ds_watch_packages

Defined in packages/acs-developer-support/tcl/acs-developer-support-procs.tcl

Watch Tcl libraries and xql files for packages listed in the PackageWatchList parameter on server startup.

Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-developer-support/tcl/acs-developer-support-init.tcl packages/acs-developer-support/ tcl/acs-developer-support-init.tcl ds_watch_packages ds_watch_packages packages/acs-developer-support/tcl/acs-developer-support-init.tcl->ds_watch_packages apm_package_enabled_p apm_package_enabled_p (public) ds_watch_packages->apm_package_enabled_p apm_watch_all_files apm_watch_all_files (public) ds_watch_packages->apm_watch_all_files parameter::get_from_package_key parameter::get_from_package_key (public) ds_watch_packages->parameter::get_from_package_key

Testcases:
No testcase defined.
Source code:
    set package_watch_string [parameter::get_from_package_key  -package_key acs-developer-support  -parameter PackageWatchList]

    foreach package_key [split $package_watch_string] {
        if { [apm_package_enabled_p $package_key] } {
            ns_log Notice "Developer-support - watching all files for package $package_key"
            apm_watch_all_files $package_key
        } else {
            ns_log Notice "developer support - not watching file for package $package_key as package is not enabled"
        }
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: