Prev Next

Analyzer Script Editor

The Analyzer Script Editor has a straightforward user interface with a tree view of the scripts on the left enabling easy navigation of the script groups, and a content view on the right in which you define and configure the scripts.

The image shows an Analyzer Script in Enterprise Architect that builds and deploys a servlet on an Apache Tomcat service

Access

From the 'Execution Analyzer' window, either:

  • Double-click on a script to edit it or
  • Right-click on a script and select the 'Edit' option

Ribbon

Develop > Preferences > Analyzer > Edit Analyzer Scripts

Execute > Tools > Analyzer

Keyboard Shortcuts

Shift+F12

Execution Analyzer Scripts

Task - Page

Action

See also

Build - Build

Enter the script or command to build the application. This can be an Apache Ant or Visual Studio command, but can also be tailored depending on your development environment. Note: Remember to select a parser to get directly to the source code in the event of any errors. The parser field is on the same page and offers support for many languages.

Build Scripts

Build - Clean

Enter the script or command to clean the previous build. This is the command line you would normally issue to build your system. This can be an Apache Ant or Visual Studio command depending on your development environment.

Cleanup Script

Test - Test

Enter the script or command to test the application. This is typically where an nUnit or jUnit invocation might be configured, but it just as easily could be any procedure or program.

Test Scripts

Test - Testpoints

Specify where the output from a Testpoint run is sent.

Testpoints Output

Debug - Platform

Specify the debugging platform, the application to be debugged, and the mode of debugging (attach to process or run).

Debugging

Debug - Tracepoints

Specify where the output from Tracepoints encountered during a debug session are sent.

Tracepoint Output

Debug - Workbench

For .NET projects, the assembly to load. Not required for Java.

Workbench Set Up

Debug - Runtime Host

Specify the Runtime Host.

Source Control - Merge

Source Control - Changes

Source Control - History

Source Control - Commit

Source Control - Repository

Code Miner - Service

Code Miner Script

Code Miner - Libraries

Code Miner Script

Private Options - Services

Run JavaScript

Source Control - Working Copy

Run

Enter a script or command to run the application.

Run Script

Deploy

Enter a script or command to deploy the project. Build your jar file. Deploy to your device, an emulator or Tomcat server.

Publish a web site. Its up to you.

Deploy Script

Recording

Does your Sequence diagram resemble the national grid? Reduce the clutter with filters. Filters define exclusion zones in your code base that can cut down dramatically on any 'noise' that is being recorded. Even accurate noise is not always helpful.

Recording Scripts

Simulation

Complete the configuration for Simulation Control.

Model Simulation