OpenACS Bootstrap Installer

This package bootstraps OpenACS. If the core packages have not yet been installed, it calls the installer which leads the user through the steps necessary to do so. It also checks that the installation meets the requirements for a successful install of OpenACS.

 

Package Documentation

Procedure Files

tcl/00-proc-procs.tcl       Routines for defining procedures and libraries of procedures (<code>-procs.tcl</code> files). 
tcl/10-utilities-procs.tcl       Utility routines needed by the bootstrapping process. 
tcl/20-db-bootstrap-procs.tcl       Utility routines needed by the bootstrapping process. 
tcl/30-apm-load-procs.tcl       Routines needed by the bootstrapper to load package code. 
tcl/40-db-query-dispatcher-procs.tcl       Query Dispatching for multi-RDBMS capability 

Procedures

acs_package_root_dir       Returns the path root for a particular package within the OpenACS installation. 
acs_root_dir       Returns the path root for the OpenACS installation. 
ad_after_server_initialization       Registers code to run after server initialization is complete. 
ad_arg_parser       Parses an argument list for a database call (switches at the end). 
ad_assert_arg_value_in_list       For use at the beginning of the body of a procedure to check that an argument has one of a number of allowed values. 
ad_call_method       Calls method_name for the type of object_id with object_id as the first arg, and the remaining args are the remainder of the args to method_name. 
ad_dispatch       Calls method_name for the type of object_id with object_id as the first arg, and the remaining args are the remainder of the args to method_name. 
ad_find_all_files       Returns a list of full paths to all files under $path in the directory tree (descending the tree to a depth of up to $max_depth). 
ad_library       Provides documentation for a library (<code>-procs.tcl</code> file). 
ad_make_relative_path       Returns the relative path corresponding to absolute path $path. 
ad_method       Defines a method for type based dispatch. 
ad_proc       <p> Declare a procedure with the following enhancements over regular Tcl "<code>proc</code>": </p> <p> <ul> <li> A procedure can be declared as public, private, deprecated, and warn.</li> <li> Procedures can be declared with regular <i>positional</i> parameters (where you pass parameters in the order they were declared), or with <i>named</i> parameters, where the order doesn't matter because parameter names are specified explicitely when calling the parameter. 
apm_bootstrap_upgrade       Copy the files from acs-bootstrap-installer/installer/tcl to the Tcl files in the acs root directory. 
apm_first_time_loading_p       Returns 1 if this is a -procs.tcl file's first time loading, or 0 otherwise. 
apm_get_package_files       <p> Returns all files, or files of a certain types, belonging to an APM package. 
apm_guess_file_type       Guesses and returns the file type key corresponding to a particular path (or an empty string if none is known). 
apm_is_catalog_file       Given a file path return 1 if the path represents a message catalog file and 0 otherwise. 
apm_package_supports_rdbms_p       Returns 1 if the given package supports the rdbms of the system and 0 otherwise. 
callback       Invoke the registered callback implementations for the given callback. 
db_bootstrap_set_db_type        
db_fullquery_compatible_p       Check compatibility of a FullQuery against an RDBMS This procedure returns true or false. 
db_fullquery_create       FullQuery Data Abstraction Constructor 
db_fullquery_get_bind_vars       Accessor for fullquery data abstraction 
db_fullquery_get_load_location       Accessor for fullquery data abstraction 
db_fullquery_get_name       Accessor for fullquery data abstraction 
db_fullquery_get_query_type       Accessor for fullquery data abstraction 
db_fullquery_get_querytext       Accessor for fullquery data abstraction 
db_fullquery_get_rdbms       Accessor for fullquery data abstraction 
db_map       fetch a query snippet. 
db_qd_fetch       Fetch a query with a given name This procedure returns the latest FullQuery data structure given proper scoping rules for a complete/global query name. 
db_qd_get_fullname       Find the fully qualified name of the query 
db_qd_load_query_file       A procedure that is called from the outside world (APM) to load a particular file 
db_qd_pick_most_specific_query       For now, we're going to say that versions are numbers and that there is always backwards compatibility. 
db_qd_replace_sql        
db_rdbms_compatible_p        
db_rdbms_create        
db_rdbms_get_type        
db_rdbms_get_version        
empty_string_p       returns 1 if a string is empty; this is better than using == because it won't fail on long strings of numbers 

SQL Files

Content Pages

installer/
     www/
           blank-master.adp
           blank-master.tcl This is the top level master template.
 
  Contact Us
  Project Open Business Solutions S.L.

Calle Aprestadora 19, 12o-2a

08902 Hospitalet de Llobregat (Barcelona)

Spain

 Tel Europe: +34 609 953 751
 Tel US: +1 415 200 2465
 Mail: info@project-open.com