Page tree
Skip to end of metadata
Go to start of metadata

Preferences - Platform Settings


The Platform Settings options are described below:

In order to function correctly, the CAST Delivery Manager Tool requires two folders that are used to store Source Code:

  • Source Code Delivery Folder - a central location for storing successive and compressed versions of an application's source code as packaged by the Delivery Manager(s).
  • Source Code Deployment Folder - a location used exclusively by the CAST Management Studio to store the most recent version of the application's source code for analysis in uncompressed format

The following table lists each folder and where it should be located:

Folder Accessed by Location Where are they defined?
Source Code Delivery Folder CAST Management Studio and CAST AIC Portal A storage location that can be accessed by all that require it:
  • If the CAST AIC Portal and the CAST Management Studio are deployed on the same workstation, then the folder can also be defined on the same machine (a "local" folder). You can use the following syntax:

    D:\CAST\DELIVERY (folder local to the host machine) - Please use this syntax when the CAST AIC Portal and the CAST Management Studio are located on the SAME machine. In this situation, always enter an absolute path to the local drive containing the Delivery folder (for example D:\ CAST\DELIVERY). Please DO NOT use a mapped drive path (created using the Windows GUI or the subst Windows command) that points to a folder on the local machine or to a remote network share - doing so can cause an error that will prevent the CAST AIC Portal/CAST Management Studio from functioning.
  • If the CAST AIC Portal and the CAST Management Studio are deployed on different workstations, then the folder must be available to both - i.e.:
    • a network drive
    • a folder "local" to the CAST Management Studio that can be shared and accessed by the CAST AIC Portal 
    • a folder "local" to the CAST AIC Portal that can be shared and accessed by the CAST Management Studio

    You can use the following syntax: \\HOST\CAST\DELIVERY (folder on a remote network share) - note that forward slashes will also function. Please use this syntax only when the CAST AIC Portal and the CAST Management Studio are located on different machines. Note that forward slashes will also function.

CAST Management Studio and web.xml of the CAST AIC Portal.
Source Code Deployment Folder CAST Management Studio A storage location that is only accessed by the CAST Management Studio, as such CAST recommends the use of a "local" folder on the CAST Administration workstation (i.e. the machine on which the CAST Management is installed). CAST Management Studio

Notes

  • The folders must be capable of receiving large amounts of data (i.e. source code packaged by the CAST Delivery Manager Tool and any associated configuration files).
  • Both folders can only store data for one CAST Management Service. In other words, if you connect to a different Management Service and attempt to use the data in the folders, you will be prevented from doing so.
  • When you launch the CAST Management Studio for the first time following the installation of the CAST storage items (Analysis/Dashboard/Management Services), you will be prompted for the location of these two folders. Until you configure the folders, you will not be able to use the CAST Management Studio.
Changing the folder locations

It is possible to change the location of the two folders even once they have been defined in the CAST Management Studio Startup Wizard, however this operation should be approached with caution as, in the case of the Source Code Delivery Folder it will impact the functioning of the CAST AIC Portal.

Source Code Delivery Folder

Before changing the location of the Source Code Delivery Folder, please STOP your CAST AIC Portal (i.e. stop the web application on the J2EE host server):

- to prevent the change in location action failing - to prevent Delivery Managers attempting to deliver source code while the change is being executed

  • Click the Change button to modify the location of the folder:

  • A dialog box will be displayed enabling you to define the location of the new Source Code Delivery Folder:

  • Enter the path to the new location of the folder (taking into account the requirements listed above in the table)
  • If the existing Source Code Delivery Folder already contains data (i.e. Applications, Versions and Source Code Packages) then CAST recommends that you leave the Move source option activated to ensure that the data is transferred from the old location to the new.
  • On completion, the contents of the existing folder will be transferred into the new Source Code Delivery Folder and the existing folder will be removed entirely.
  • Finally you must now:
    • update the CAST AIC Portal web.xml file to take into account the new location of the Source Code Delivery Folder (see the documentation in doc.castsoftware.com for more information about this.
    • restart the CAST AIC Portal web application on the J2EE host server

Source Code Deployment Folder

Please note that when changing this parameter:
- Only new applications or new packages will be affected.
- For existing applications, the old path will be used in order to keep the history. To change the path of an already deployed package, "Set as current version" (see the Delivery tab for more information) must be used and a new path must be explicitly entered for each package.
- Keep the folder path length as short as possible (lower than 30 characters if possible)

  • Click the Change button to modify the location of the folder:

  • A dialog box will be displayed enabling you to define the location of the new Source Code Deployment Folder:

  • Enter the path to the new location of the folder (taking into account the requirements listed above in the table)
  • On completion new Applications and/or new Packages (even those in existing Applications) will use the new Deployment Folder location.

CAST Website

  • No labels