Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This How To describes two ways to use the CAST Delivery Manager Tool (DMT) with OpenJDK and therefore without JNLP (Java Network launch Protocol) support. The method you choose chosen depends on the security constraints that exist in your the local environment.

Info

It is assumed in this document that an application has already been created and it exists in the Delivery folder. If an Application does not exist, please see the following documentation:

...

Summary: With this method, the CAST Delivery Manager Tool is launched on the Delivery Manager's workstation via Command Line Interface (CLI) and will directly access the Delivery folder over a network share using a UNC path, therefore circumventing the CAST AIC Portal/AIP Console entirely.

...

Identify the UUID of the Application to deliver source code for - this UUID is used in the command line mentioned at the end of these instructions. This UUID can be found in the index.xml file in the Delivery\data folder:

Code Block
languagetext
Delivery\data\index.xml


Info

Note that the Delivery\data folder can be located in varying different places - please contact the CAST Administrator if you are unsure. For example:

  • CAST AIC Portal - see Where should the Delivery folder be located for information. 
  • AIP Console - in v. 1.9.0 this it is located in the install folder for the AIP Console package called "AIP Node" on the AIP Node (i.e <AipNode_install_folder>\data\delivery\pluginsdata)

For example, the UUID for the Application "MEUDON" is highlighted below:

...

Code Block
languagetext
c:\CAST\DeliveryManagerTool\DeliveryManagerTool.exe -oneApplicationMode c037115d-35e7-4d14-9839-31007d897ed9 -StoragePath S:\CAST\Delivery -logFilePath c:\temp\dmtstandalone.castlog2

You can now proceed Proceed with the source code Delivery.

...

Identify the UUID of the Application you are delivering to deliver source code for - this UUID is used in the command line mentioned at the end of these instructions. This UUID can be found in the address bar of the CAST AIC Portal, as shown below:

...

Copy the CAST Delivery Manager Tool binaries from the CAST AIC Portal deployment folder over to the Delivery Manager's workstation. You will need to copy Copy the content of the following folder, which is located on the machine hosting the application server running the CAST AIC Portal:

...

Paste this content into the %LOCALAPPDATA% folder located on the Delivery Manager's workstation. You This folder structure may need to create this folder structure yourself be created manually - note the required curly braces around the application UUID. Use the same UUID in the command line that you as identified in the previous step:

...

Code Block
languagetext
%LOCALAPPDATA%\CAST\CAST\DMT\{60d8f6cf-032b-49f5-8f5e-e98de13fe394}

You will see the following file hierarchyI.e.:

Step 3

Copy the plugins folder from the Delivery folder to the Delivery Manager's workstation. You will need to copy  Copy this folder:

Code Block
languagetext
S:\CAST\Delivery\plugins


Info

Note that the Delivery\plugins folder can be located in varying different places - please contact the CAST Administrator if you are unsure. For example:

  • CAST AIC Portal - see Where should the Delivery folder be located for information. 
  • AIP Console - in v. 1.9.0 this is located in the install folder for the AIP Console package called "AIP Node" on the AIP Node (i.e <AipNode_install_folder>\data\delivery\plugins)

Paste this folder into the same %LOCALAPPDATA% folder as mentioned in the previous step:

Code Block
languagetext
%LOCALAPPDATA%\CAST\CAST\DMT\{60d8f6cf-032b-49f5-8f5e-e98de13fe394}

You will see the following file hierarchyI.e.:

Step 4

Create a file called url.dat in %LOCALAPPDATA%\CAST\CAST\DMT with the following content:

  • In the <entry key="url.1.directory"> element, paste in the UUID of Application you are delivering to deliver source code for, surrounded by curly braces
  • In the <entry key="url.1.url"> element, paste in the URL to the CAST AIC Portal

...

Code Block
languagetext
c:\CAST\DeliveryManagerTool.exe -serverUrl http://my_host_name:8080/CAST-AICP -oneApplicationMode 60d8f6cf-032b-49f5-8f5e-e98de13fe394 -logFilePath c:\temp\dmtconnected.castlog2

You can now proceed Proceed with the source code Delivery.