Current Version tab


The Current Version tab lists and enables you to manage:

  • the packages that have been deployed during the Set As Current Version action (see Delivery tab)
  • the Analysis Units automatically created for each package
Deployed Packages

This section lists the packages that have been deployed during the Set As Current Version action (see Delivery tab). A package is listed as follows:

Type Shows the package type as defined by the Delivery Manager in the CAST Delivery Manager Tool.
Package name Shows the name of the package as defined by the Delivery Manager in the CAST Delivery Manager Tool.
Deployment Path Shows the deployment path of the package - the path will point to a folder in the source code Deployment Folder (see Preferences - Platform Setting).

Selecting a package will display the Analysis Units that have been automatically created from the source code in the package.

Analysis Units

This section lists the Analysis Units for the source code Package selected in the above list, either:

  • determined automatically by the CAST Management Studio (these correspond to Projects as previously defined during the source code packaging in the CAST Delivery Manager Tool and represent how the source will actually be analyzed)
  • or manually defined

Options

Use this option to add a new Analysis Unit. You may need to do this if:
  • The CAST Delivery Manager Tool has not been able to detect a project in your packaged source code and therefore no Analysis Unit has been created automatically.
  • If you want to remove the default Analysis Unit created automatically and replace it with your own custom Analysis Unit.
  • If you want to add additional custom Analysis Units.

Clicking the button will display a list of possible Analysis Units you can create will be offered - select the appropriate type you require and the Analysis Unit editor will then be displayed.

Note that for certain technologies (for example database technologies based on an extraction - T-SQL and PL/SQL) the button is not available.

Enables you to edit the existing Analysis Unit - the relevant Analysis Unit editor will be displayed.
Will remove the existing Analysis Unit. It is not possible to reverse this.

Note that for certain technologies (for example database technologies based on an extraction - T-SQL and PL/SQL) the button is not available.

The table lists:

Name Displays the name of the Analysis Unit. When the Analysis Unit has been defined automatically by the CAST Management Studio, the name is derived as follows:
  • For file based packages the Name can correspond to the parent folder name or to the project name defined in the file listed in the Project Path column. For example, for J2EE based source code, the name defined in the <name> tags of a .project file will be used:
<?xml version="1.0" encoding="UTF-8"?><projectDescription> <name>CastPubs</name> <comment></comment> <projects></projects> <buildSpec>  <buildCommand>   <name>org.eclipse.jdt.core.javabuilder</name>   <arguments></arguments>  </buildCommand> </buildSpec> <natures>  <nature>org.eclipse.jdt.core.javanature</nature> </natures></projectDescription>
  • For database server based packages, the Name corresponds to the name of the target databases/schemas
Project Path Displays the location of the corresponding project in the source code Deployment Folder (for file and extraction based projects)

For "live" database server based projects, this column contains the name of the connection profile to the live database (its name will be identical to the name of the source code package defined in the CAST Delivery Manager Tool).

Analyze This column displays either TRUE or FALSE - you can tick or untick this option or edit it in the Analysis Unit editor (Analyze Analysis Unit option).
  • TRUE > The Analysis Unit will be included in the source code analysis - by default all Analysis Units (auto and manually defined) will be set to TRUE.
  • FALSE > The Analysis Unit will NOT be included in the source code analysis.

When an Analysis Unit is set to FALSE, this is usually a temporary action to remove an Analysis Unit from the Application and hence from the source code analysis. Note that you should delete the Analysis Unit if you want to permanently remove it from the Application.

When using the Clean up Analysis Units option, any Analysis Units set to FALSE will be removed.

Last execution status Indicates the status of the last execution of the selected Analysis Unit (whether during an analysis or during a snapshot generation).

If you are working in a Version "v+1", and the source package contains the same project/database/schema, but have not yet run an analysis or generated a snapshot, the status is taken from the last execution of the Analysis Unit in Version "v".

Other options

Deployment folder For file and extraction based projects only.

Displays the location of the corresponding project in the source code Deployment Folder.

Cleanup Analysis Units This option will remove all Analysis Units and corresponding projects from the current Application where the Analyze option (see above) is set to False.

Please see Clean up Analysis Units for more information.

Please see also:


CAST Website