Page tree

Versions Compared

Key

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

...

Windows

Code Block
languagetext
themeDJango
REM ===============================================
REM = DMT - Configuration
REM = Please do not change the JNLP_FILE parameter
REM ===============================================

set AICPORTAL_HOST=<name of machine hosting CAST AIC Portal - see below>
set AICPORTAL_PORT=<port used by the application server hosting the CAST AIC Portal, e.g.: 8080>
set AICPORTAL_WEBAPP=<Name of the CAST AIC Portal web application, e.g.: CAST-AICPortal>
set APPLICATION_ID=<Application ID - this can be found in the DMT in the Application screen and will consists of a string of random characters and letters - see below>
set AUTH=<The DMT requires authentication with CAST AIC Portal credentials prior to launch - see below for format>
set JNLP_FILE=http://%AICPORTAL_HOST%:%AICPORTAL_PORT%/%AICPORTAL_WEBAPP%/%APPLICATION_ID%/dmt-launcher.jnlp?url=http%%3A%%2F%%2F%AICPORTAL_HOST%%%3A%AICPORTAL_PORT%%%2F%AICPORTAL_WEBAPP%

...

The DMT requires authentication with the CAST AIC Portal credentials prior to launch - and this applies in command line mode as well as in GUI mode. Use the following format to define the credentials that you wish to use to authenticate when the command line is run - the example below shows the default "cast" username with the default "cast" password (modify this as required):

Code Block
theme
languagetextDJango
set AUTH=-username cast -password cast

This will send the username and password in clear-text - if you need to encrypt the password to improve security (highly recommended), you should instead generate an encryption key (please see Encrypting the password for the CAST Delivery Manager Tool command line for more information) for your password and use it as follows:

Code Block
languagetextthemeDJango
set AUTH=-username cast -authkey <your encrypted key>

For example:

Code Block
languagetextthemeDJango
set AUTH=-username cast -authkey u0tjM5qkCZO8IpzrD0CYUw==

...

Windows

Code Block
languagetextthemeDJango
REM ========================================================
REM = AutomateVersion - one single Delivery Manager scenario
REM = Please only modify the path to your Java JRE "bin" folder
REM = note the quote marks that must be used for this path
REM = if it contains spaces.
REM ========================================================

set APPLICATION=<Name of the Application that you are working with>
set VERSION=<Name of the Version which will be copied>
set NAME=<Name of the new Version which will be created>
set RELEASE_DATE=<Date of release of the Version, e.g., YYYYMMDDHHSS>
set LOG_FILE_PATH=<Absolute path to the folder that will be used to store the log files generated using the command line, e.g. C:\TEMP - this folder must exist already!>
set ACTION_AUTOMATE=AutomateVersion -application \"%APPLICATION%\" -version \"%VERSION%\" -name \"%NAME%\" -releaseDate \"%RELEASE_DATE%\" -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files (x86)\Java\jre7\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_AUTOMATE%"

...