PowerAda aprojcp
From OC Systems Wiki!
< PowerAda:APPENDIX E. Tools Reference
Revision as of 00:35, 25 April 2019 by imported>WikiVisor (Text replacement - """ to """)
Contents
NAME
aprojcp - make a copy of a PowerAda project
SYNOPSIS
aprojcp [-hF] project_root dest_path
DESCRIPTION
aprojcp copies a project root and all files, directories, and sublibraries under it to the specified name. This is essentially just the UNIX "cp -r" command, plus some modification to the internal files that describe the newly created project.
If the dest_path names an existing directory or file, confirmation is requested before removing or replacing it.
OPTIONS
- -h
- Prints version, and command line help information.
- -F
- Forces the action without a prompt for confirmation.
PARAMETERS
- project_root
- The directory name of the project root to be copied.
- dest_path
- The new project root to be created.
FILES
$POWERADA/bin/aprojcp - the aprojcp program image.
ENVIRONMENT VARIABLES
- POWERADA
- This must be defined and indicate the powerada/ada95 directory in the PowerAda installation.
EXAMPLES
# copy everything under adaproj to adaproj.save before
# changing its baseline
aprojcp adaproj adaproj.save
aprojinit -c adaproj -B new_baseline
# oops, restore adaproj:
aprojmv adaproj.save adaproj
Delete EVERYTHING under /user/fred/adaproj? (y/[n]) y
SEE ALSO
BUGS/LIMITATIONS
See Problems and Questions at the beginning of this Appendix.