Index: openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl,v diff -u -r1.37 -r1.38 --- openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 10 Mar 2003 19:59:04 -0000 1.37 +++ openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 2 Apr 2003 13:48:38 -0000 1.38 @@ -1254,6 +1254,8 @@ before acs-content-repository in order to be able to mount acs-content-repository.

+ @see site_node::instantiate_and_mount + @author Peter Marklund } { ns_log Notice "Starting instantiation and mounting of core packages" Index: openacs-4/packages/acs-tcl/tcl/apm-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-procs.tcl,v diff -u -r1.43 -r1.44 --- openacs-4/packages/acs-tcl/tcl/apm-procs.tcl 13 Mar 2003 18:20:54 -0000 1.43 +++ openacs-4/packages/acs-tcl/tcl/apm-procs.tcl 2 Apr 2003 13:48:39 -0000 1.44 @@ -1355,7 +1355,8 @@ package_key } { - Creates a new instance of a package and call the post instantiation proc, if any. + Creates a new instance of a package and calls the post instantiation proc, if any. If the + package is a singleton and already exists then this procedure will silently do nothing. @param instance_name The name of the package instance, defaults to the pretty name of the package type. Index: openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl,v diff -u -r1.22 -r1.23 --- openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl 15 Feb 2003 23:55:59 -0000 1.22 +++ openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl 2 Apr 2003 13:48:39 -0000 1.23 @@ -61,7 +61,8 @@ {-context_id ""} {-package_key:required} } { - Instantiate and mount a package of given type. + Instantiate and mount a package of given type. If the package is a singleton (should only have one instance) + and an instance already exists then this proc will attempt to mount that instance. @param node_id The id of the node in the site map where the package should be mounted. If not specified a new node under the main site will be created.