Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Add Commands

The Build page enables you to enter commands to build your project. You can use Enterprise Architect Local Paths and environment variables in composing your command line(s).

Access:    Analyzer | Execution Analyzer (Shift + F12) : New (Toolbar icon) > Build > Build
                  Analyzer | Execution Analyzer (Shift + F12) : locate and double-click on required script > Build > Build




See also

Execute Command As:

Batch File

Use this option to enter multiple commands, which are executed as entered in a command window; the command window has access to your environment variables


Use this option to run a single program

The command should specify the path to the program, plus any command line arguments; if the executable path or any arguments contain spaces, they must be surrounded by quotes


Build Script

Write your script in the large text box, using the standard Windows Command Line commands; the format and content of this section depends on the actual compiler, make system, linker and so on that you use to build your project

You can specify, for example, compiler and linker options, and the names of output files; you can also wrap up all these commands into a convenient batch file and call that here instead

By specifying the token %r immediately preceding the files to be built, you can apply the command entered in the build script to all sub folders of the initial directory; Enterprise Architect iteratively replaces the token with any subpath found under the root and executes the command again



Visual Studio:

"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\" /Rebuild Debug RentalSystem.sln


Using a Local Path:

"%VsCompPath%\devenv.exe" /build Debug Subway.sln



C:\Program Files (x86)\Java\jdk1.6.0_22\bin\javac.exe"  -g -cp "%classpath%;." %r*.java


Using a Local Path:

"%JAVA%\bin\javac.exe"  -g -cp "%classpath%;." %r*.java


Local Paths

Default Directory

Type in or browse for the default directory path into which the Build commands are to load the built application files


Parse Output

This enables you to select a method for automatically parsing the compiler output

If you select this option, output from the script is logged in the System Output window; Enterprise Architect parses the output according to the syntax you specify

The Output Window

Locate Compiler Errors in Code

Learning Center topics:

  • (Alt+F1) | Build and Debug | Build and Run | Build Scripts - Native
  • (Alt+F1) | Build and Debug | Build and Run | Build Scripts - .NET
  • (Alt+F1) | Build and Debug | Build and Run | Build Scripts - Java