PowerAda aprojinit
From OC Systems Wiki!
Contents
NAME
aprojinit - Create or change a PowerAda project
SYNOPSIS
aprojinit [-hcFk] [-B baseline ] [project_root]
DESCRIPTION
aprojinit is used to create or replace a PowerAda project; to change the parent project (baseline project) of an existing project.
Confirmation is requested before removing or replacing the specified project.
This is equivalent to the Create New Project and Change Baseline operations with powerada.
OPTIONS
- -h
- Prints version, and command line help information.
- -c
- Change parent of (don't delete) existing project
- -F
- Remove existing project if any without confirmation
- -k
- Make an existing directory the project root, and retain its contents.
- -B baseline
- Specified a parent baseline. The baseline argument may be the path of a project root directory, or an alias named in the currently defined baselines file. If -c was specified, the parent of the named project is changed to baseline; otherwise, the newly created project has baseline as its parent.
PARAMETERS
- project_root
- The directory name of the project root.
FILES
$POWERADA/bin/aprojinit - the aprojinit program image
ENVIRONMENT VARIABLES
- POWERADA
- This must be defined and indicate the powerada/ada95 directory in the PowerAda installation.
- POWERADA_BASELINES
- Names a baselines file identifying aliases for baseline projects.
EXAMPLES
# create new project adaproj in current directory
aprojinit
# change the baseline of the current project to be the
# baseline alias drop2
aprojinit -cB drop5
# make the directory build1 a project root, without removing # its contents
aprojinit -k build1
SEE ALSO
aprojbaseline, aprojrm, powerada
BUGS/LIMITATIONS
See Problems and Questions at the beginning of this Appendix.