Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Deploy Script
This topic explains how to create a command script for deploying the current Package. The script can be executed by selecting the 'Analyzer | Deploy' menu option or by pressing .
Access Analyzer | Execution Analyzer (Shift+F12) : New (Toolbar icon) > Deploy
Analyzer | Execution Analyzer (Shift+F12) : locate and double-click on required script > Deploy
Actions
Action |
Detail |
See also |
---|---|---|
Execute Command as: |
Process If the deployment is handled externally, enter the path to the program or batch file to run, followed by any parameters; the program is launched in a separate process. Example: C:\apache-ant-1.7.1\bin\ant.cmd myproject deploy
Batch File When using this option, you can enter multiple commands that are then executed as a single script in a command console; you have access to any environment variables available in a standard command console. Example: @echo on IF NOT EXIST "%1%" GOTO DEPLOY_NOWAR IF "%APACHE_HOME%" == "" GOTO DEPLOY_NOAPACHE xcopy /L "%1%" "%APACHE_HOME%\webapps" GOTO DEPLOY_END rem rem NO WAR FILE rem :DEPLOY_NOWAR echo "%1% WAR file not found" GOTO DEPLOY_END rem rem NO APACHE ENVIRONMENT VARIABLE rem :DEPLOY_NOAPACHE echo "APACHE_HOME environment variable not found" :DEPLOY_END pause |
|
Parse Output |
Selecting a Parser from the list causes output of the deploy script to be captured; the output is parsed according to the syntax selected from the list. To display the System Output window, select 'View | System Output'. |