The Build tab enables you to enter multiple commands for building the current package. These commands are executed when you select the Project | Execution Analyzer | Build menu option. The following examples are for Java and .NET respectively.
Write your script in the large text box using the standard Windows Command Line commands. You can specify, for example, compiler and linker options, and the names of output files. 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 also wrap up all these commands into a convenient batch file and call that here instead.
If you select the Capture Output checkbox, output from the script is logged in Enterprise Architect's Output window. This can be activated by selecting the View | System Output menu option.
The Output Parser field enables you to define a method for automatically parsing the compiler output. If you have selected the Capture Output checkbox, Enterprise Architect parses the output of the compiler so that by clicking on an error message in the Output window, you directly access the corresponding line of code.
When you run the compile command inside Enterprise Architect, output from the compiler is piped back to the Output window and displayed as in the following illustration:
If you double-click on an error line, Enterprise Architect loads the appropriate source file and positions the cursor on the line where the error has been reported.