Syntax:
Unix:
acinject -model model_name -input filename [filename]
[-config filename] [-errors]
[-help [help_dir] | -syntax [help_dir] | -version]
[-options] [-arg_input path_name] [-noheader]
[-quiet] [-ask] [-unix] [-vms] [-os2]
VMS:
acinject /model=model_name /input=filename [filename]
[/config=filename] [/errors]
[/help [=help_dir] | /syntax [=help_dir] | /version]
[/options] [/arg_input=path_name] [/noheader]
[/quiet] [/ask] [/unix] [/vms] [/os2]
OS/2:
acinject /model:model_name /input:filename [filename]
[/config:filename] [/errors]
[/help [:help_dir] | /syntax [:help_dir] | /version]
[/options] [/arg_input:path_name] [/noheader]
[/quiet] [/ask] [/unix] [/vms] [/os2]
Program Description:
acinject will take up to two Ada source files generated by either
the teamwork/Ada Source Builder (ASB) or the teamwork/Ada User
Specified Editor Dispatcher (use_disp) tools and inject the Ada
code which resides between the special code injector directives back
into the teamwork model.
Options:
model <model_name> Specifies a model name.
input <filename...> Specifies the input file(s), which MUST
contain the special code injector
directives which are generated by
the ASB or use_disp tools.
config <config_file> Specifies a configuration file.
(Default: /cadre/tsa/config_file)
errors Specifies that error messages are to be
printed to standard output as well
as the error_log.
(Default: Do not print errors to stdout.)
help <help_dir> Shows the full help screen (this information)
and exits. The optional argument indicates
the directory that contains the help file.
syntax <help_dir> Shows the short help screen (syntax lines only)
and exits. The optional argument indicates
the directory that contains the help file.
version Shows the program header and the teamwork
version, and exits.
options Shows the command line options chosen, before
executing the program.
arg_input <file_name> Indicates that more command line options are in
the file 'file_name'.
noheader Suppresses display of the program header
before program execution.
quiet Suppresses status messages during
program execution.
ask Prompts the user for required command line
options that are not specified.
unix Allows the entry of options in Unix format
(-example_option).
vms Allows the entry of options in VMS format
(/example_option).
os2 Allows the entry of options in OS2 format
(/example_option).
Examples (Unix-format):
1) Inject the files my_file1 and my_file2 into my_model, use config_file
my_config, and print the errors to standard output as well as
the error_log:
acinject -model my_model -input my_file1 my_file2 -config my_config -errors
2) Inject the file my_file1 into my_model using the default config_file
(/cadre/tsa/config_file) and do NOT print errors to standard output:
acinject -model my_model -input my_file1