...
- Identify the UUID of the application you are delivering source code for. You can find the UUID in the address bar of CAST AICP, as shown below.
Locate the DMT binaries in the CAST AIC Portal deployment folder that is located on the machine hosting the application server running AIC Portal. You will find the binaries in the mentioned below path -
Code Block language text %CATALINA_HOME%\webapps\CAST-AICP\WEB-INF\apps\DeliveryManagerTool
Copy the binaries into the %LOCALAPPDATA% folder on the Delivery Manager's workstation. You might need to create this folder structure, if it doesn’t exist.
Code Block language text %LOCALAPPDATA%\CAST\CAST\DMT\{application_uuid}
Ensure to use the same UUID in the command line that you identified in the previous step. For example -
Code Block language text %LOCALAPPDATA%\CAST\CAST\DMT\{60d8f6cf-032b-49f5-8f5e-e98de13fe394}
You should obtain the following file hierarchy.
Go back to the machine hosting the application server running AIC Portal and locate the plugins folder from the Delivery Folder in the same deployment folder.
Code Block language text S:\CAST\Delivery\plugins
Info 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)
Copy the plugins folder into the same %LOCALAPPDATA% folder as mentioned in step 3.
Code Block language text %LOCALAPPDATA%\CAST\CAST\DMT\{60d8f6cf-032b-49f5-8f5e-e98de13fe394}
You should now see the following file hierarchy.
- 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 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
For example:
Code Block language xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> <comment/> <entry key="url.1.directory">{60d8f6cf-032b-49f5-8f5e-e98de13fe394}</entry> <entry key="url.1.url">http://my_host_name:8080/CAST-AICP</entry> </properties>
Launch the DMT in connected mode using the following command line –
Code Block language text <path_to>\DeliveryManagerTool.exe -serverUrl <CAST_AIC_Portal_url> -oneApplicationMode <application_uuid> -logFilePath <path_to>\dmtconnected.castlog2
For example -
Code Block language text 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 with the source code delivery.