Compiling DXL files

Each time a DXL file contents (contained in a DXL Project) is modified and saved, the DXL compiler is automatically executed on that file. The DXL compiler requires DOORS® to be active. If the compiler is unable to connect to DOORS®, a dialog offers the capability to disable the compiler.

Note that only *.dxl files are compiled. DXL files meant to be included in other files (*.inc files) are ignored, as by nature they would have a lot of 'false positive' problems reported, simply due to the fact the context is missing when compiling.

All errors reported by the compiler will be displayed in the DXL Editor. For each error, an annotation is added in the sidebar, with a tooltip showing the error message, and the corresponding line is underlined.

Compilation errors

Navigation through DXL errors for a particular file, a project or the entire workspace is done using the Problems view (menu Window > Show View > Problems).

Compilation errors

Disabling the compilation

There might be some cases where compilation is not desired. This is typically the case if files to be included in other DXL files are not using a .inc file extension but a .dxl one.

Here are the steps to disable compilation for a specific DXL project:

  1. Select the DXL project in the Project Explorer and right-click Properties.
  2. Select the Builders section.
  3. Uncheck the DXL builder and click OK to save the change.

Related reference
Team CVS tutorial