PowerAda aprojcp

From OC Systems Wiki!
Jump to: navigation, search


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

aprojinit, aprojmv, aprojrm.

BUGS/LIMITATIONS

See Problems and Questions at the beginning of this Appendix.