[ Bottom of Page | Previous Page | Next Page | Contents ]
To create a group of activity plans, complete the following steps:
- In the <WorkDir>\cfg directory,
for each plan you want to include in the group, create a plan configuration
file with the following CSV format:
Xml_Name:Target_File:From_Depot[:ActivityName<delimiter>SWD_Package...]
Where:
- Xml_Name is a name that will form part of
the unique name of the plan within the group.
- Target_file is the name of a text file containing
the list of targets for the plan.
- From_Depot indicates whether the software
package distributed by the plan is to be distributed from a depot.
Possible values are T (true) and F (false).
- ActivityName identifies an activity that
is to be performed on the specified software package. The ActivityName
must identify an activity that is defined in the XML template you
are using for this group of plans. The XML template to be used is
defined in the xml_base parameter at the next step.
- SWD_Package is the name of the software
package to be distributed by the plan. .
The parameters ActivityName and SWD_Package form a pair separated by a delimiter
(by default %). Repeat this pair of parameters for each activity and
software package that are to be included in the plan.
- For each plan configuration file you created, create a file containing
the list of targets for the plan and save it in the <WorkDir>\Targets directory
with the name <Target_file>.txt
- In the <WorkDir>\cfg directory,
create the file Master_CFG.lst .
This
file is in CSV format. Each line represents a base APM plan and has
the following format:
xml_base:id:Cfg_Plan:Exclusion_Flag
Where:
- xml_base is the name of the XML file to
be used as a template for the APM plan.
- Id is an identifier that will form part
of the unique name of the plan within the group.
- Cfg_Plan is the name of an plan configuration
file that you created for the plan.
- Exclusion_Flag indicates whether the ExclusionList
file is to be used when determining targets for this plan. Possible
values are y and n.
- Ensure that each XML file, identified by the xml_base parameter
for each line in the Master_CFG.lst file,
is present in the <WorkDir> directory.
- Run the activity plan group creation script:
perl wcrtplng.pl base_name
Where base_name is a name that will identify the group
as a whole and form part of the name of each plan that is included
in the group.
The script creates an XML file for each line
in the Master_CFG.lst file. The name
of each file is constructed as follows: base_name_id_xml_name. The script
imports the XML files to generate APM plans and creates the file base_name_dist_pln.lst containing
information about all the plans that have been created. All files
are created in a subdirectory of <WorkDir> called base_name.
[ Top of Page | Previous Page | Next Page | Contents ]