Page tree

Versions Compared

Key

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


Warning

This documentation is no longer maintained and may contain obsolete information. You should instead refer to https://github.com/CAST-Extend/com.castsoftware.aip.console.tools for more information about automating source code delivery/analysis with AIP Console.


Panel

In this section:

Table of Contents
maxLevel3

Target audience:

  • CAST administrators
  • Delivery Managers

...

Before you can starting using the CLI in CAST AIC Portal mode you must ensure that you meet the following requirements:

(tick)
(tick)All Delivery Managers must be working in CAST AIC Portal mode (i.e. using the DMT as a standalone tool installed from the CAST AIC Portal).
(tick)
(tick)All Delivery Managers must have already downloaded and installed the CAST Delivery Manager Tool from the CAST AIC Portal and have the corresponding Application in their local cache of the DMT data.


Info
If your environment uses a web proxy to control or improve performance of internet or intranet access, please see Notes for using the CAST Delivery Manager Tool CLI via a web proxy.

...

Expand

This option will automate:

  • the creation of a new Version (copied from an existing version)
  • the packaging of the exact same packages in the copied Version
  • delivery of the new Version with the "close" option (i.e. the delivery is complete).

In other words this is a complete "rescan" mode".

application<string>The name of the Application which contains the Version to copy.
[version<string>]The name of the version to copy. This parameter is optional. If you omit it, then the most recent Version will always be used as the source for the copy.
name<string>The name of the new Version.
[releaseDate<date>]The release date. This parameter is optional (defaults to current date if not set).
[logFilePath<string>]Specifies the exact log file path or a log directory path. This path must exist already!
[username<string>]Specifies the username to authenticate against the CAST AIC Portal.
[password<string>]Specifies the password to authenticate against the CAST AIC Portal.
[authkey<string>]Specifies the authentication key to decode and authenticate against the CAST AIC Portal.
[proxy<string>]Specifies the proxy to be used to connect to the CAST AIC Portal.
[pxUsername<string>]Specifies the username to authenticate against the proxy.
[pxPassword<string>]Specifies the password to authenticate against the proxy.
[pxAuthkey<string>]Specifies the authentication key to decode and authenticate against the proxy.

Example batch files

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = AutomateVersion
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=MEUDON
set VERSION=V1
set NAME=V2
set RELEASE_DATE=201809211700
set LOG_FILE_PATH=C:\TEMP
set ACTION_AUTOMATE=AutomateVersion -application \"%APPLICATION%\" -version \"%VERSION%\" -name \"%NAME%\" -releaseDate \"%RELEASE_DATE%\" -logFilePath \"%LOG_FILE_PATH%\"

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


Code Block
languagetext
titleLinux
AICPORTAL_HOST=ceiriad
AICPORTAL_PORT=8080
AICPORTAL_WEBAPP=CAST-AICPortal
APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
AUTH=-username cast -password cast
JNLP_FILE=http://$AICPORTAL_HOST:$AICPORTAL_PORT/$AICPORTAL_WEBAPP/$APPLICATION_ID/dmt-launcher.jnlp?url=https%%3A%%2F%%2F$AICPORTAL_HOST%%3A$AICPORTAL_PORT%%2F$AICPORTAL_WEBAPP

APPLICATION=MEUDON
VERSION=V1
NAME=V2
DATE=`date '+%Y%m%d%H%M'`
RELEASE_DATE=$DATE
LOG_FILE_PATH="log1"
ACTION_AUTOMATE="AutomateVersion -application \"$APPLICATION\" -version \"$VERSION\" -name \"$NAME\" -releaseDate $RELEASE_DATE -logFilePath \"$LOG_FILE_PATH\""

"/opt/jre1.8.0_171/bin/javaws" $JNLP_FILE -Xnosplash -silent -wait -open "$AUTH $ACTION_AUTOMATE"


...

Expand

This option will automate the creation of a new Version (copied from an existing version).

[application<string>]The name of the Application which contains the Version to copy. This parameter is optional.
[version<string>]The name of the version to copy. This parameter is optional. If you omit it, then the most recent Version will always be used as the source for the copy.
name<string>The name of the new Version.
[releaseDate<date>]The release date. This parameter is optional (defaults to current date if not set).
[logFilePath<string>]Specifies the exact log file path or a log directory path. This path must exist already!
[username<string>]Specifies the username to authenticate against the CAST AIC Portal.
[password<string>]Specifies the password to authenticate against the CAST AIC Portal.
[authkey<string>]Specifies the authentication key to decode and authenticate against the CAST AIC Portal.
[proxy<string>]Specifies the proxy to be used to connect to the CAST AIC Portal.
[pxUsername<string>]Specifies the username to authenticate against the proxy.
[pxPassword<string>]Specifies the password to authenticate against the proxy.
[pxAuthkey<string>]Specifies the authentication key to decode and authenticate against the proxy.

Example:

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = AddVersion
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=MEUDON
set VERSION=V1
set NAME=V2
set RELEASE_DATE=201809211700
set LOG_FILE_PATH=C:\TEMP
set ACTION_AUTOMATE=AddVersion -application \"%APPLICATION%\" -version \"%VERSION%\" -name \"%NAME%\" -releaseDate \"%RELEASE_DATE%\" -logFilePath \"%LOG_FILE_PATH%\"

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


Code Block
languagetext
titleLinux
AICPORTAL_HOST=ceiriad
AICPORTAL_PORT=8080
AICPORTAL_WEBAPP=CAST-AICPortal
APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
AUTH=-username cast -password cast
JNLP_FILE=http://$AICPORTAL_HOST:$AICPORTAL_PORT/$AICPORTAL_WEBAPP/$APPLICATION_ID/dmt-launcher.jnlp?url=https%%3A%%2F%%2F$AICPORTAL_HOST%%3A$AICPORTAL_PORT%%2F$AICPORTAL_WEBAPP

APPLICATION=MEUDON
VERSION=V1
NAME=V2
DATE=`date '+%Y%m%d%H%M'`
RELEASE_DATE=$DATE
LOG_FILE_PATH="log1"
ACTION_AUTOMATE="AddVersion -application \"$APPLICATION\" -version \"$VERSION\" -name \"$NAME\" -releaseDate $RELEASE_DATE -logFilePath \"$LOG_FILE_PATH\""

"/opt/jre1.8.0_171/bin/javaws" $JNLP_FILE -Xnosplash -silent -wait -open "$AUTH $ACTION_AUTOMATE"


...

Expand

This option will automate the packaging action in the CAST Delivery Manager Tool.

[application<string>]The name of the Application which contains the Version to package. This parameter is optional.
[version<string>]The name of the version to package. This parameter is optional. If you omit it, then the most recent Version will always be used as the source for the package action.
[package<string>]

The name of the package to generate (if you want to generate a single package).

[reset[<boolean>]]If true, forces extraction of the package content (equivalent to the GUI option "Force extraction"). Default: false.
[forceScan[<boolean>]]If true, this option ensures the re-scanning of the source code (equivalent to the GUI option "Force scan"). This is necessary only when updating CAST AIP Extentions and the re-extraction
of the source code is not needed. Default: false.
[logFilePath<string>]Specifies the exact log file path or a log directory path. This path must exist already!
[username<string>]Specifies the username to authenticate against the CAST AIC Portal.
[password<string>]Specifies the password to authenticate against the CAST AIC Portal.
[authkey<string>]Specifies the authentication key to decode and authenticate against the CAST AIC Portal.
[proxy<string>]Specifies the proxy to be used to connect to the CAST AIC Portal.
[pxUsername<string>]Specifies the username to authenticate against the proxy.
[pxPassword<string>]Specifies the password to authenticate against the proxy.
[pxAuthkey<string>]Specifies the authentication key to decode and authenticate against the proxy.

Example:

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = Generate
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=MEUDON
set VERSION=V1
set PACKAGE=TEST_PACKAGE
set LOG_FILE_PATH=C:\TEMP
set ACTION_GENERATE=Generate -application \"%APPLICATION%\" -version \"%VERSION%\" -package \"%PACKAGE%\" -reset -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files\Java\jre8\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_GENERATE%"


Code Block
languagetext
titleLinux
AICPORTAL_HOST=ceiriad
AICPORTAL_PORT=8080
AICPORTAL_WEBAPP=CAST-AICPortal
APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
AUTH=-username cast -password cast
JNLP_FILE=http://$AICPORTAL_HOST:$AICPORTAL_PORT/$AICPORTAL_WEBAPP/$APPLICATION_ID/dmt-launcher.jnlp?url=https%%3A%%2F%%2F$AICPORTAL_HOST%%3A$AICPORTAL_PORT%%2F$AICPORTAL_WEBAPP

APPLICATION=MEUDON
VERSION=V1
PACKAGE=TEST_PACKAGE
LOG_FILE_PATH="log1"
ACTION_GENERATE="Generate -application \"$APPLICATION\" -version \"$VERSION\" -package \"$PACKAGE\" -reset -logFilePath \"$LOG_FILE_PATH\""

"/opt/jre1.8.0_171/bin/javaws" $JNLP_FILE -Xnosplash -silent -wait -open "$AUTH $ACTION_GENERATE"


...

Expand

This option will automate the delivery action in the CAST Delivery Manager Tool.

application<string>The name of the Application which contains the Version to deliver.
[version<string>]The name of the version to deliver. This parameter is optional. If you omit it, then the most recent Version will always be used as the source for the delivery action.
[package<string>]

The name of the package to deliver (if you want to deliver a single package).

[close[<boolean>]]If true, closes the delivery and makes it read-only (equivalent to the GUI option "Close"). Default: false.
[logFilePath<string>]Specifies the exact log file path or a log directory path. This path must exist already!
[username<string>]Specifies the username to authenticate against the CAST AIC Portal.
[password<string>]Specifies the password to authenticate against the CAST AIC Portal.
[authkey<string>]Specifies the authentication key to decode and authenticate against the CAST AIC Portal.
[proxy<string>]Specifies the proxy to be used to connect to the CAST AIC Portal.
[pxUsername<string>]Specifies the username to authenticate against the proxy.
[pxPassword<string>]Specifies the password to authenticate against the proxy.
[pxAuthkey<string>]Specifies the authentication key to decode and authenticate against the proxy.

Example:

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = Deliver
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=MEUDON
set VERSION=V1
set LOG_FILE_PATH=C:\TEMP
set ACTION_DELIVER=Deliver -application \"%APPLICATION%\" -version \"%VERSION%\" -close -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files\Java\jre8\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_DELIVER%"


Code Block
languagetext
titleLinux
AICPORTAL_HOST=ceiriad
AICPORTAL_PORT=8080
AICPORTAL_WEBAPP=CAST-AICPortal
APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
AUTH=-username cast -password cast
JNLP_FILE=http://$AICPORTAL_HOST:$AICPORTAL_PORT/$AICPORTAL_WEBAPP/$APPLICATION_ID/dmt-launcher.jnlp?url=https%%3A%%2F%%2F$AICPORTAL_HOST%%3A$AICPORTAL_PORT%%2F$AICPORTAL_WEBAPP

APPLICATION=MEUDON
VERSION=V1
LOG_FILE_PATH="log1"
ACTION_DELIVER="Deliver -application \"$APPLICATION\" -version \"$VERSION\" -close -logFilePath \"$LOG_FILE_PATH\""

"/opt/jre1.8.0_171/bin/javaws" $JNLP_FILE -Xnosplash -silent -wait -open "$AUTH $ACTION_DELIVER"


...

Expand

This option will automate the refresh action in the CAST Delivery Manager Tool - i.e. to "download" any changes (i.e. new Versions or Packages, or changes to Versions or Packages) that may have been made by other Delivery Managers.

application<string>The name of the Application which contains the Version to deliver.
[version<string>]The name of the version to deliver. This parameter is optional. If you omit it, then the most recent Version will always be used as the source for the delivery action.
[package<string>]

The name of the package to deliver (if you want to deliver a single package).

[logFilePath<string>]Specifies the exact log file path or a log directory path. This path must exist already!
[username<string>]Specifies the username to authenticate against the CAST AIC Portal.
[password<string>]Specifies the password to authenticate against the CAST AIC Portal.
[authkey<string>]Specifies the authentication key to decode and authenticate against the CAST AIC Portal.
[proxy<string>]Specifies the proxy to be used to connect to the CAST AIC Portal.
[pxUsername<string>]Specifies the username to authenticate against the proxy.
[pxPassword<string>]Specifies the password to authenticate against the proxy.
[pxAuthkey<string>]Specifies the authentication key to decode and authenticate against the proxy.

Example:

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = Refresh
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=MEUDON
set VERSION=V1
set LOG_FILE_PATH=C:\TEMP
set ACTION_REFRESH=Refresh -application \"%APPLICATION%\" -version \"%VERSION%\" -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files\Java\jre8\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_REFRESH%"


Code Block
languagetext
titleLinux
AICPORTAL_HOST=ceiriad
AICPORTAL_PORT=8080
AICPORTAL_WEBAPP=CAST-AICPortal
APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
AUTH=-username cast -password cast
JNLP_FILE=http://$AICPORTAL_HOST:$AICPORTAL_PORT/$AICPORTAL_WEBAPP/$APPLICATION_ID/dmt-launcher.jnlp?url=https%%3A%%2F%%2F$AICPORTAL_HOST%%3A$AICPORTAL_PORT%%2F$AICPORTAL_WEBAPP

APPLICATION=MEUDON
VERSION=V1
LOG_FILE_PATH="log1"
ACTION_REFRESH="Refresh -application \"$APPLICATION\" -version \"$VERSION\" -logFilePath \"$LOG_FILE_PATH\""

"/opt/jre1.8.0_171/bin/javaws" $JNLP_FILE -Xnosplash -silent -wait -open "$AUTH $ACTION_REFRESH"


...

Expand

This option will create a new Version (from scratch) via the CAST AIC Portal. There is no need to clone an existing Version.

application<string>The name of the Application which contains the Version to deliver.
name<string>The name of the new Version to create from scratch.
[logFilePath<string>]Specifies the exact log file path or a log directory path. This path must exist already!
[username<string>]Specifies the username to authenticate against the CAST AIC Portal.
[password<string>]Specifies the password to authenticate against the CAST AIC Portal.
[authkey<string>]Specifies the authentication key to decode and authenticate against the CAST AIC Portal.
[proxy<string>]Specifies the proxy to be used to connect to the CAST AIC Portal.
[pxUsername<string>]Specifies the username to authenticate against the proxy.
[pxPassword<string>]Specifies the password to authenticate against the proxy.
[pxAuthkey<string>]Specifies the authentication key to decode and authenticate against the proxy.

Example:

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = CreateVersionForLocal
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=MEUDON
set NAME=V1
set LOG_FILE_PATH=C:\TEMP
set ACTION_CREATEVERSIONFORLOCAL=CreateVersionForLocal -application \"%APPLICATION%\" -name \"%NAME%\" -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files\Java\jre8\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_CREATEVERSIONFORLOCAL%"


Code Block
languagetext
titleLinux
AICPORTAL_HOST=ceiriad
AICPORTAL_PORT=8080
AICPORTAL_WEBAPP=CAST-AICPortal
APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
AUTH=-username cast -password cast
JNLP_FILE=http://$AICPORTAL_HOST:$AICPORTAL_PORT/$AICPORTAL_WEBAPP/$APPLICATION_ID/dmt-launcher.jnlp?url=https%%3A%%2F%%2F$AICPORTAL_HOST%%3A$AICPORTAL_PORT%%2F$AICPORTAL_WEBAPP

APPLICATION=MEUDON
VERSION=V1
LOG_FILE_PATH="log1"
ACTION_CREATEVERSIONFORLOCAL="CreateVersionForLocal -application \"$APPLICATION\" -name \"$NAME\" -logFilePath \"$LOG_FILE_PATH\""

"/opt/jre1.8.0_171/bin/javaws" $JNLP_FILE -Xnosplash -silent -wait -open "$AUTH $ACTION_REFRESH"


...

Expand

This option will create a new Package via the CAST AIC Portal. You can configure all aspects of the package.

application<string>The name of the Application which contains the Version for your new Package.
versionName<string>The name of the Version for your new Package.
storagePath<string>The location (path) of the Delivery folder that contains the Application/Version in which you want to create the new Package.
packageType<string>

The type of package you want to create. Choose from one of the following:

packageName<string>The name of the package you want to create.
[logFilePath<string>]Specifies the exact log file path or a log directory path. This path must exist already!

Anchor
1a
1a
dmtdevdbtechno.SQLCASTDatabasePackage > Oracle Server

Include Page
dmtdevsqlcastextractororacle.SQLCASTExtractor
dmtdevsqlcastextractororacle.SQLCASTExtractor

Example

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = CreatePackageForLocal
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="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="dmtdevdbtechno.SQLCASTDatabasePackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtdevsqlcastextractororacle.SQLCASTExtractor"
SET HOST="ORASERVER"
SET PORT="1521"
SET SERVICE="ORADB1"
SET LOGIN_NAME="system"
SET LOGIN_PASSWORD="my_password"
SET REMEMBER_PASSWORD="Server"
SET ROOT_PATHS="CASTPUBS;COOLCLUBS;BI"
SET LOG_FILE_PATH="C:\TEMP"
SET ACTION_CREATEPACKAGEFORLOCAL=CreatePackageForLocal -application \"%APPLICATION%\" -versionName \"%VERSION_NAME%\" -storagePath \"%STORAGE_PATH%\" -packageType \"%PACKAGE_TYPE%\" -packageName \"%PACKAGE_NAME%\" -extractorType \"%EXTRACTOR_TYPE%\" -host \"%HOST%\" -port \"%PORT%\" -service \"%SERVICE%\" -loginName \"%LOGIN_NAME%\" -loginPassword \"%LOGIN_PASSWORD%\" -rememberPassword \"%REMEMBER_PASSWORD%\" -rootPaths \"%ROOT_PATHS%\" -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files\Java\jre8\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_CREATEPACKAGEFORLOCAL%"

Anchor
2a
2a
dmtdevmainframetechno.MainframePackage > Mainframe (IBM zOS PDS (Partitioned Data Set) dump extraction)

Include Page
dmtdevmainframeextractor.MainframeExtractor
dmtdevmainframeextractor.MainframeExtractor

Example

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = CreatePackageForLocal
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="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="dmtdevmainframetechno.MainframePackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtdevmainframeextractor.MainframeExtractor"
SET LIBRARY="C:\PDS_DUMP"
SET EXTENSION="CobolProgram"
SET BANNER="VMEMBER NAME"
SET LEFT_MARGIN="1"
SET MAX_LENGTH="80"
SET LOG_FILE_PATH="C:\TEMP"
SET ACTION_CREATEPACKAGEFORLOCAL=CreatePackageForLocal -application \"%APPLICATION%\" -versionName "%VERSION_NAME%\" -storagePath \"%STORAGE_PATH%\" -packageType \"%PACKAGE_TYPE%\" -packageName \"%PACKAGE_NAME%\" -extractorType \"%EXTRACTOR_TYPE%\" -libraryFilePath \"%LIBRARY%\" -extension \"%EXTENSION%\" -banner \"%BANNER%\" -leftMargin \"%LEFT%\" -lineMaxLength \"%MAX_LENGTH%\" -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files\Java\jre8\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_CREATEPACKAGEFORLOCAL%"

Anchor
3a
3a
delivery.SourceFilesPackage > Files on your system

Include Page
dmtdevfolderextractor.SourceFolderExtractor
dmtdevfolderextractor.SourceFolderExtractor

Example

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = CreatePackageForLocal
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="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="delivery.SourceFilesPackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtdevfolderextractor.SourceFolderExtractor"
SET FOLDER_PATH="C:\SOURCE_CODE"
SET LOG_FILE_PATH="C:\TEMP"
SET ACTION_CREATEPACKAGEFORLOCAL=CreatePackageForLocal -application \"%APPLICATION%\" -versionName \"%VERSION_NAME%\" -storagePath \"%STORAGE_PATH%\" -packageType \"%PACKAGE_TYPE%\" -packageName \"%PACKAGE_NAME%\" -extractorType \"%EXTRACTOR_TYPE%\" -folderPath \"%FOLDER_PATH%\" -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files\Java\jre8\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_CREATEPACKAGEFORLOCAL%"

Anchor
4a
4a
delivery.SourceFilesPackage > Subversion using svnkit

Include Page
dmtdevsvnextractor.SVNExtractor
dmtdevsvnextractor.SVNExtractor

Example

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = CreatePackageForLocal
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="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="delivery.SourceFilesPackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtdevsvnextractor.SVNExtractor"
SET CONNECTION_URL="svn://server/trunk/test"
SET REVISION="HEAD"
SET LOGIN_NAME="svn_user"
SET LOGIN_PASSWORD="my_password"
SET REMEMBER_PASSWORD="Server"
SET LOG_FILE_PATH="C:\TEMP"
SET ACTION_CREATEPACKAGEFORLOCAL=CreatePackageForLocal -application \"%APPLICATION%\" -versionName \"%VERSION_NAME%\" -storagePath \"%STORAGE_PATH%\" -packageType \"%PACKAGE_TYPE%\" -packageName \"%PACKAGE_NAME%\" -extractorType \"%EXTRACTOR_TYPE%\" -connectionURL \"%CONNECTION_URL%\" -revision \"%REVISION%\" -loginName \"%LOGIN_NAME%\" -loginPassword \"%LOGIN_PASSWORD%\" -rememberPassword \"%REMEMBER_PASSWORD%\" -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files\Java\jre8\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_CREATEPACKAGEFORLOCAL%"

Anchor
5a
5a
dmtdevjeemavenresourcesextractor.MavenResourceFilesPackage > Automated extraction of required JAR files > Maven HTTP repository

Include Page
dmtjeemavenhttpresourcesextractor.MavenHttpResourceExtractor
dmtjeemavenhttpresourcesextractor.MavenHttpResourceExtractor

Example

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = CreatePackageForLocal
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="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="dmtdevjeemavenresourcesextractor.MavenResourceFilesPackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtjeemavenhttpresourcesextractor.MavenHttpResourceExtractor"
SET CONNECTION_URL="https://server/test"
SET LOGIN_NAME="maven_user"
SET LOGIN_PASSWORD="my_password"
SET REMEMBER_PASSWORD="Server"
SET LOG_FILE_PATH="C:\TEMP"
SET ACTION_CREATEPACKAGEFORLOCAL=CreatePackageForLocal -application \"%APPLICATION%\" -versionName \"%VERSION_NAME%\" -storagePath \"%STORAGE_PATH%\" -packageType \"%PACKAGE_TYPE%\" -packageName \"%PACKAGE_NAME%\" -extractorType \"%EXTRACTOR_TYPE%\" -connectionURL \"%CONNECTION_URL%\" -loginName \"%LOGIN_NAME%\" -loginPassword \"%LOGIN_PASSWORD%\" -rememberPassword \"%REMEMBER_PASSWORD%\" -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files\Java\jre8\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_CREATEPACKAGEFORLOCAL%"

Anchor
6a
6a
dmtdevjeemavenresourcesextractor.MavenResourceFilesPackage > Automated extraction of required JAR files > Maven repository on your file system

Include Page
dmtdevjeemavenresourcesextractor.MavenFileSystemExtractor
dmtdevjeemavenresourcesextractor.MavenFileSystemExtractor

Example

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = CreatePackageForLocal
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="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="dmtdevjeemavenresourcesextractor.MavenResourceFilesPackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtdevjeemavenresourcesextractor.MavenFileSystemExtractor"
SET FOLDER_PATH="C:\MAVEN\REPO"
SET LOG_FILE_PATH="C:\TEMP"
SET ACTION_CREATEPACKAGEFORLOCAL=CreatePackageForLocal -application \"%APPLICATION%\" -versionName \"%VERSION_NAME%\" -storagePath \"%STORAGE_PATH%\" -packageType \"%PACKAGE_TYPE%\" -packageName \"%PACKAGE_NAME%\" -extractorType \"%EXTRACTOR_TYPE%\" -folderPath \"%FOLDER_PATH%\" -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files\Java\jre8\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_CREATEPACKAGEFORLOCAL%"

Anchor
7a
7a
dmtdevmicrosofttechno.NetResourceFilesPackage > Automated extraction of required .NET assemblies

Include Page
dmtdevnetresourcesextractor.NetResourceFolderExtractor
dmtdevnetresourcesextractor.NetResourceFolderExtractor

Example

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = CreatePackageForLocal
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="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="dmtdevmicrosofttechno.NetResourceFilesPackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtdevnetresourcesextractor.NetResourceFolderExtractor"
SET FOLDER_PATH="C:\Windows\Microsoft.NET\Framework64\v4.0.30319"
SET LOG_FILE_PATH="C:\TEMP"
SET ACTION_CREATEPACKAGEFORLOCAL=CreatePackageForLocal -application \"%APPLICATION%\" -versionName \"%VERSION_NAME%\" -storagePath \"%STORAGE_PATH%\" -packageType \"%PACKAGE_TYPE%\" -packageName \"%PACKAGE_NAME%\" -extractorType \"%EXTRACTOR_TYPE%\" -folderPath \"%FOLDER_PATH%\" -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files\Java\jre8\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_CREATEPACKAGEFORLOCAL%"


...

Expand

This option will update an existing Package via the CAST AIC Portal. . You can configure all aspects of the existing package:

application<string>The name of the Application which contains your existing Version/Package.
versionName<string>The name of the Version which contains your existing Package.
storagePath<string>The location (path) of the Delivery folder that contains the Application/Version/Package.
packageName<string>The name of the package you want to update.
[logFilePath<string>]Specifies the exact log file path or a log directory path. This path must exist already!

Depending on the type of package you are updating, additional parameters will be necessary to make the updates as follows:

dmtdevdbtechno.SQLCASTDatabasePackage > Oracle Server

Include Page
dmtdevsqlcastextractororacle.SQLCASTExtractor
dmtdevsqlcastextractororacle.SQLCASTExtractor

dmtdevmainframetechno.MainframePackage > Mainframe (IBM zOS PDS (Partitioned Data Set) dump extraction)

Include Page
dmtdevmainframeextractor.MainframeExtractor
dmtdevmainframeextractor.MainframeExtractor

delivery.SourceFilesPackage > Files on your system

Include Page
dmtdevfolderextractor.SourceFolderExtractor
dmtdevfolderextractor.SourceFolderExtractor

delivery.SourceFilesPackage > Subversion using svnkit

Include Page
dmtdevsvnextractor.SVNExtractor
dmtdevsvnextractor.SVNExtractor

dmtdevjeemavenresourcesextractor.MavenResourceFilesPackage > Automated extraction of required JAR files > Maven HTTP repository

Include Page
dmtjeemavenhttpresourcesextractor.MavenHttpResourceExtractor
dmtjeemavenhttpresourcesextractor.MavenHttpResourceExtractor

dmtdevjeemavenresourcesextractor.MavenResourceFilesPackage > Automated extraction of required JAR files > Maven repository on your file system

Include Page
dmtdevjeemavenresourcesextractor.MavenFileSystemExtractor
dmtdevjeemavenresourcesextractor.MavenFileSystemExtractor

dmtdevmicrosofttechno.NetResourceFilesPackage > Automated extraction of required .NET assemblies

Include Page
dmtdevnetresourcesextractor.NetResourceFolderExtractor
dmtdevnetresourcesextractor.NetResourceFolderExtractor

Example

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

set AICPORTAL_HOST=ceiriad
set AICPORTAL_PORT=8080
set AICPORTAL_WEBAPP=CAST-AICPortal
set APPLICATION_ID=cdab40c0-9cf0-4cc0-aca4-c01d06bbabbe
set AUTH=-username cast -password cast
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%

REM ========================================================
REM = UpdatePackageForLocal
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="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_NAME="test_package"
SET HOST="ORASERVER1"
SET PORT="1521"
SET SERVICE="ORADB2"
SET LOGIN_NAME="system"
SET LOGIN_PASSWORD="my_password"
SET REMEMBER_PASSWORD="Server"
SET ROOT_PATHS="CASTPUBS;COOLCLUBS;BI;NEW"
SET LOG_FILE_PATH="C:\TEMP"
SET ACTION_UPDATEPACKAGEFORLOCAL=UpdatePackageForLocal -application \"%APPLICATION%\" -versionName \"%VERSION_NAME%\" -storagePath \"%STORAGE_PATH%\" -packageName \"%PACKAGE_NAME%\" -host \"%HOST%\" -port \"%PORT%\" -service \"%SERVICE%\" -loginName \"%LOGIN_NAME%\" -loginPassword \"%LOGIN_PASSWORD%\" -rememberPassword \"%REMEMBER_PASSWORD%\" -rootPaths \"%ROOT_PATHS%\" -logFilePath \"%LOG_FILE_PATH%\"

"C:\Program Files\Java\jre8\bin\javaws.exe" %JNLP_FILE% -Xnosplash -silent -wait -open "%AUTH% %ACTION_UPDATEPACKAGEFORLOCAL%"


...

Before you can starting using the CLI in CAST AIC Portal mode you must ensure that you meet the following requirements:

(tick)
(tick)Ensure you have access to the Delivery folder.

Miscellaneous information

...

Expand

This option will create a new Application directly in the Delivery folder.

name<string>The name of the Application you want to create.
storagePath<string>The location (path) of the Delivery folder you want to create the Application in.
[logFilePath<string>]Specifies the exact log file path or a log directory path. This path must exist already!
[username<string>]Specifies the username to authenticate against the CAST AIC Portal.
[password<string>]Specifies the password to authenticate against the CAST AIC Portal.
[authkey<string>]Specifies the authentication key to decode and authenticate against the CAST AIC Portal.
[proxy<string>]Specifies the proxy to be used to connect to the CAST AIC Portal.
[pxUsername<string>]Specifies the username to authenticate against the proxy.
[pxPassword<string>]Specifies the password to authenticate against the proxy.
[pxAuthkey<string>]Specifies the authentication key to decode and authenticate against the proxy.

Example

Code Block
languagetext
titleWindows
SET APPLICATION="MEUDON"
SET STORAGE_PATH="E:\CAST\Delivery"
SET LOG_FILE_PATH="C:\TEMP"

"%programfiles%\CAST\<version>\DeliveryManagerTool\DeliveryManagerTool-CLI.exe" createServerApplication -name %APPLICATION% -storagePath %STORAGE_PATH% -logFilePath %LOG_FILE_PATH%


...

Expand

This option will create a new Version directly in the Delivery folder.

application<string>The name of the Application in which you want to create the new Version.
name<string>The name of the new Version to create.
[releaseDate<date>]The release date. This parameter is optional (defaults to current date if not set).
storagePath<string>The location (path) of the Delivery folder that contains the Application in which you want to create the new Version.
[logFilePath<string>]Specifies the exact log file path or a log directory path. This path must exist already!
[username<string>]Specifies the username to authenticate against the CAST AIC Portal.
[password<string>]Specifies the password to authenticate against the CAST AIC Portal.
[authkey<string>]Specifies the authentication key to decode and authenticate against the CAST AIC Portal.
[proxy<string>]Specifies the proxy to be used to connect to the CAST AIC Portal.
[pxUsername<string>]Specifies the username to authenticate against the proxy.
[pxPassword<string>]Specifies the password to authenticate against the proxy.
[pxAuthkey<string>]Specifies the authentication key to decode and authenticate against the proxy.

Example

Code Block
languagetext
titleWindows
SET APPLICATION="MEUDON"
SET NAME="V1"
SET RELEASE_DATE=201809211700
SET STORAGE_PATH="E:\CAST\Delivery"
SET LOG_FILE_PATH="C:\TEMP"

"%programfiles%\CAST\<version>\DeliveryManagerTool\DeliveryManagerTool-CLI.exe" CreateVersionForServer -application %APPLICATION% -name %NAME% -releaseDate %RELEASE_DATE% -storagePath %STORAGE_PATH% -logFilePath %LOG_FILE_PATH%


...

Expand

This option will create a new Package directly in the Delivery folder. You can configure all aspects of the package.

application<string>The name of the Application which contains the Version for your new Package.
versionName<string>The name of the Version for your new Package.
storagePath<string>The location (path) of the Delivery folder that contains the Application/Version in which you want to create the new Package.
packageType<string>

The type of package you want to create. Choose from one of the following:

packageName<string>The name of the package you want to create.
[logFilePath<string>]Specifies the exact log file path or a log directory path. This path must exist already!

Anchor
1
1
dmtdevdbtechno.SQLCASTDatabasePackage > Oracle Server

Include Page
dmtdevsqlcastextractororacle.SQLCASTExtractor
dmtdevsqlcastextractororacle.SQLCASTExtractor

Example

Code Block
languagetext
titleWindows
SET APPLICATION="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="dmtdevdbtechno.SQLCASTDatabasePackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtdevsqlcastextractororacle.SQLCASTExtractor"
SET HOST="ORASERVER"
SET PORT="1521"
SET SERVICE="ORADB1"
SET LOGIN_NAME="system"
SET LOGIN_PASSWORD="my_password"
SET REMEMBER_PASSWORD="Server"
SET ROOT_PATHS="CASTPUBS;COOLCLUBS;BI"
SET LOG_FILE_PATH="C:\TEMP"

"%programfiles%\CAST\<version>\DeliveryManagerTool\DeliveryManagerTool-CLI.exe" CreatePackageForServer -application %APPLICATION% -versionName %VERSION_NAME% -storagePath %STORAGE_PATH% -packageType %PACKAGE_TYPE% -packageName %PACKAGE_NAME% -extractorType %EXTRACTOR_TYPE% -host %HOST% -port %PORT% -service %SERVICE% -loginName %LOGIN_NAME% -loginPassword %LOGIN_PASSWORD% -rememberPassword %REMEMBER_PASSWORD% -rootPaths %ROOT_PATHS% -logFilePath %LOG_FILE_PATH%

Anchor
2
2
dmtdevmainframetechno.MainframePackage > Mainframe (IBM zOS PDS (Partitioned Data Set) dump extraction)

Include Page
dmtdevmainframeextractor.MainframeExtractor
dmtdevmainframeextractor.MainframeExtractor

Example

Code Block
languagetext
titleWindows
SET APPLICATION="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="dmtdevmainframetechno.MainframePackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtdevmainframeextractor.MainframeExtractor"
SET LIBRARY="C:\PDS_DUMP"
SET EXTENSION="CobolProgram"
SET BANNER="VMEMBER NAME"
SET LEFT_MARGIN="1"
SET MAX_LENGTH="80"
SET LOG_FILE_PATH="C:\TEMP"

"%programfiles%\CAST\<version>\DeliveryManagerTool\DeliveryManagerTool-CLI.exe" CreatePackageForServer -application %APPLICATION% -versionName %VERSION_NAME% -storagePath %STORAGE_PATH% -packageType %PACKAGE_TYPE% -packageName %PACKAGE_NAME% -extractorType %EXTRACTOR_TYPE% -libraryFilePath %LIBRARY% -extension %EXTENSION% -banner %BANNER% -leftMargin %LEFT% -lineMaxLength %MAX_LENGTH% -logFilePath %LOG_FILE_PATH%

Anchor
3
3
delivery.SourceFilesPackage > Files on your system

Include Page
dmtdevfolderextractor.SourceFolderExtractor
dmtdevfolderextractor.SourceFolderExtractor

Example

Code Block
languagetext
titleWindows
SET APPLICATION="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="delivery.SourceFilesPackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtdevfolderextractor.SourceFolderExtractor"
SET FOLDER_PATH="C:\SOURCE_CODE"
SET LOG_FILE_PATH="C:\TEMP"

"%programfiles%\CAST\<version>\DeliveryManagerTool\DeliveryManagerTool-CLI.exe" CreatePackageForServer -application %APPLICATION% -versionName %VERSION_NAME% -storagePath %STORAGE_PATH% -packageType %PACKAGE_TYPE% -packageName %PACKAGE_NAME% -extractorType %EXTRACTOR_TYPE% -folderPath %FOLDER_PATH% -logFilePath %LOG_FILE_PATH%

Anchor
4
4
delivery.SourceFilesPackage > Subversion using svnkit

Include Page
dmtdevsvnextractor.SVNExtractor
dmtdevsvnextractor.SVNExtractor

Example

Code Block
languagetext
titleWindows
SET APPLICATION="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="delivery.SourceFilesPackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtdevsvnextractor.SVNExtractor"
SET CONNECTION_URL="svn://server/trunk/test"
SET REVISION="HEAD"
SET LOGIN_NAME="svn_user"
SET LOGIN_PASSWORD="my_password"
SET REMEMBER_PASSWORD="Server"
SET LOG_FILE_PATH="C:\TEMP"

"%programfiles%\CAST\<version>\DeliveryManagerTool\DeliveryManagerTool-CLI.exe" CreatePackageForServer -application %APPLICATION% -versionName %VERSION_NAME% -storagePath %STORAGE_PATH% -packageType %PACKAGE_TYPE% -packageName %PACKAGE_NAME% -extractorType %EXTRACTOR_TYPE% -connectionURL %CONNECTION_URL% -revision %REVISION% -loginName %LOGIN_NAME% -loginPassword %LOGIN_PASSWORD% -rememberPassword %REMEMBER_PASSWORD% -logFilePath %LOG_FILE_PATH%

Anchor
5
5
dmtdevjeemavenresourcesextractor.MavenResourceFilesPackage > Automated extraction of required JAR files > Maven HTTP repository

Include Page
dmtjeemavenhttpresourcesextractor.MavenHttpResourceExtractor
dmtjeemavenhttpresourcesextractor.MavenHttpResourceExtractor

Example

Code Block
languagetext
titleWindows
SET APPLICATION="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="dmtdevjeemavenresourcesextractor.MavenResourceFilesPackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtjeemavenhttpresourcesextractor.MavenHttpResourceExtractor"
SET CONNECTION_URL="https://server/test"
SET LOGIN_NAME="maven_user"
SET LOGIN_PASSWORD="my_password"
SET REMEMBER_PASSWORD="Server"
SET LOG_FILE_PATH="C:\TEMP"

"%programfiles%\CAST\<version>\DeliveryManagerTool\DeliveryManagerTool-CLI.exe" CreatePackageForServer -application %APPLICATION% -versionName %VERSION_NAME% -storagePath %STORAGE_PATH% -packageType %PACKAGE_TYPE% -packageName %PACKAGE_NAME% -extractorType %EXTRACTOR_TYPE% -connectionURL %CONNECTION_URL% -loginName %LOGIN_NAME% -loginPassword %LOGIN_PASSWORD% -rememberPassword %REMEMBER_PASSWORD% -logFilePath %LOG_FILE_PATH%

Anchor
6
6
dmtdevjeemavenresourcesextractor.MavenResourceFilesPackage > Automated extraction of required JAR files > Maven repository on your file system

Include Page
dmtdevjeemavenresourcesextractor.MavenFileSystemExtractor
dmtdevjeemavenresourcesextractor.MavenFileSystemExtractor

Example

Code Block
languagetext
titleWindows
SET APPLICATION="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="dmtdevjeemavenresourcesextractor.MavenResourceFilesPackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtdevjeemavenresourcesextractor.MavenFileSystemExtractor"
SET FOLDER_PATH="C:\MAVEN\REPO"
SET LOG_FILE_PATH="C:\TEMP"

"%programfiles%\CAST\<version>\DeliveryManagerTool\DeliveryManagerTool-CLI.exe" CreatePackageForServer -application %APPLICATION% -versionName %VERSION_NAME% -storagePath %STORAGE_PATH% -packageType %PACKAGE_TYPE% -packageName %PACKAGE_NAME% -extractorType %EXTRACTOR_TYPE% -folderPath %FOLDER_PATH% -logFilePath %LOG_FILE_PATH%

Anchor
7
7
dmtdevmicrosofttechno.NetResourceFilesPackage > Automated extraction of required .NET assemblies

Include Page
dmtdevnetresourcesextractor.NetResourceFolderExtractor
dmtdevnetresourcesextractor.NetResourceFolderExtractor

Example

Code Block
languagetext
titleWindows
SET APPLICATION="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_TYPE="dmtdevmicrosofttechno.NetResourceFilesPackage"
SET PACKAGE_NAME="test_package"
SET EXTRACTOR_TYPE="dmtdevnetresourcesextractor.NetResourceFolderExtractor"
SET FOLDER_PATH="C:\Windows\Microsoft.NET\Framework64\v4.0.30319"
SET LOG_FILE_PATH="C:\TEMP"

"%programfiles%\CAST\<version>\DeliveryManagerTool\DeliveryManagerTool-CLI.exe" CreatePackageForServer -application %APPLICATION% -versionName %VERSION_NAME% -storagePath %STORAGE_PATH% -packageType %PACKAGE_TYPE% -packageName %PACKAGE_NAME% -extractorType %EXTRACTOR_TYPE% -folderPath %FOLDER_PATH% -logFilePath %LOG_FILE_PATH%


...

Expand

This option will update an existing Package directly in the Delivery folder. You can configure all aspects of the existing package:

application<string>The name of the Application which contains your existing Version/Package.
versionName<string>The name of the Version which contains your existing Package.
storagePath<string>The location (path) of the Delivery folder that contains the Application/Version/Package.
packageName<string>The name of the package you want to update.
[logFilePath<string>]Specifies the exact log file path or a log directory path. This path must exist already!

Depending on the type of package you are updating, additional parameters will be necessary to make the updates as follows:

dmtdevdbtechno.SQLCASTDatabasePackage > Oracle Server

Include Page
dmtdevsqlcastextractororacle.SQLCASTExtractor
dmtdevsqlcastextractororacle.SQLCASTExtractor

dmtdevmainframetechno.MainframePackage > Mainframe (IBM zOS PDS (Partitioned Data Set) dump extraction)

Include Page
dmtdevmainframeextractor.MainframeExtractor
dmtdevmainframeextractor.MainframeExtractor

delivery.SourceFilesPackage > Files on your system

Include Page
dmtdevfolderextractor.SourceFolderExtractor
dmtdevfolderextractor.SourceFolderExtractor

delivery.SourceFilesPackage > Subversion using svnkit

Include Page
dmtdevsvnextractor.SVNExtractor
dmtdevsvnextractor.SVNExtractor

dmtdevjeemavenresourcesextractor.MavenResourceFilesPackage > Automated extraction of required JAR files > Maven HTTP repository

Include Page
dmtjeemavenhttpresourcesextractor.MavenHttpResourceExtractor
dmtjeemavenhttpresourcesextractor.MavenHttpResourceExtractor

dmtdevjeemavenresourcesextractor.MavenResourceFilesPackage > Automated extraction of required JAR files > Maven repository on your file system

Include Page
dmtdevjeemavenresourcesextractor.MavenFileSystemExtractor
dmtdevjeemavenresourcesextractor.MavenFileSystemExtractor

dmtdevmicrosofttechno.NetResourceFilesPackage > Automated extraction of required .NET assemblies

Include Page
dmtdevnetresourcesextractor.NetResourceFolderExtractor
dmtdevnetresourcesextractor.NetResourceFolderExtractor

Example

Code Block
languagetext
titleWindows
SET APPLICATION="MEUDON"
SET VERSION_NAME="V1"
SET STORAGE_PATH="E:\CAST\Delivery"
SET PACKAGE_NAME="test_package"
SET HOST="ORASERVER1"
SET PORT="1521"
SET SERVICE="ORADB2"
SET LOGIN_NAME="system"
SET LOGIN_PASSWORD="my_password"
SET REMEMBER_PASSWORD="Server"
SET ROOT_PATHS="CASTPUBS;COOLCLUBS;BI;NEW"
SET LOG_FILE_PATH="C:\TEMP"

"%programfiles%\CAST\<version>\DeliveryManagerTool\DeliveryManagerTool-CLI.exe" UpdatePackageForServer -application %APPLICATION% -versionName %VERSION_NAME% -storagePath %STORAGE_PATH% -packageName %PACKAGE_NAME% -host %HOST% -port %PORT% -service %SERVICE% -loginName %LOGIN_NAME% -loginPassword %LOGIN_PASSWORD% -rememberPassword %REMEMBER_PASSWORD% -rootPaths %ROOT_PATHS% -logFilePath %LOG_FILE_PATH%


...