apm_package_info_file_path (public)
apm_package_info_file_path [ -path path ] package_key
Defined in packages/acs-tcl/tcl/apm-file-procs.tcl
Returns the path to a .info file in a package directory, or throws an error if none exists. Currently, only $package_key.info is recognized as a specification file.
- Switches:
- -path (optional)
- Parameters:
- package_key (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- upgrade
Source code: if { $path eq "" } { set path [acs_package_root_dir $package_key] } else { set path $path/$package_key } if { [ad_file exists $path/$package_key.info] } { return $path/$package_key.info } error "The directory $path does not contain a package specification file ($package_key.info)."Generic XQL file: packages/acs-tcl/tcl/apm-file-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/apm-file-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/apm-file-procs-oracle.xql