apm_packages_full_install (private)

 apm_packages_full_install [ -callback callback ] pkg_info_list

Defined in packages/acs-tcl/tcl/apm-install-procs.tcl

Loads the data model, installs, enables, instantiates, and mounts all of the packages in pkg_list.

Switches:
-callback (optional, defaults to "apm_dummy_callback")
Parameters:
pkg_info_list (required)

Partial Call Graph (max 5 caller/called nodes):
%3 apm_simple_package_install apm_simple_package_install (public) apm_packages_full_install apm_packages_full_install apm_simple_package_install->apm_packages_full_install apm_callback_and_log apm_callback_and_log (public) apm_packages_full_install->apm_callback_and_log apm_package_install apm_package_install (public) apm_packages_full_install->apm_package_install pkg_info_key pkg_info_key (public) apm_packages_full_install->pkg_info_key pkg_info_spec pkg_info_spec (public) apm_packages_full_install->pkg_info_spec

Testcases:
No testcase defined.
Source code:

    foreach pkg_info $pkg_info_list {
        if { [catch {
            set spec_file [pkg_info_spec $pkg_info]
            set package_key [pkg_info_key $pkg_info]

            apm_package_install  -load_data_model  -enable  -callback $callback  $spec_file

        } errmsg] } {
            apm_callback_and_log -severity Error $callback "<p><font color=red>[string totitle $package_key] not installed.</font>
<p> Error:
<pre><blockquote>[ns_quotehtml $errmsg]</blockquote><blockquote>[ns_quotehtml $::errorInfo]</blockquote></pre>"
        }
    }
Generic XQL file:
packages/acs-tcl/tcl/apm-install-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/apm-install-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/apm-install-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: