# Compiling Express Files

- Compiling Express Files in Project
- Compiling Single Express File

## Compiling Express Files in Project

To compile all the express files in the project:

- Select the project and use (compile Express files in the project) button on the tool bar.

Or

- Select the Compile Express item in the Express pull-down menu.

Or

- Right click on the project and select the Compile express item in the context sensitive menu.

This functionality is only available when the Express perspective is chosen. To compile all the express files in non-express Eclipse project - the same as for Express projects, the Express perspective also has to be chosen.
It is recommended to use Express projects for working with express files with this JSDAI Express Compiler. One disadvantage of using non-express projects: when one non-Express project is compiled, the intermediate data of the previously compiled non-Express project is lost. That is because common temporary data location is used for all non-express projects. It does not happen with Express projects.
More advantages of using Express projects:

- flexibility of setting various per-project paths and parameters, such as location of express files, location of complex entities, location of short names, location of temporary files, location of repository data, etc.
- an EXD file is created in the root directory of the project, when express files are successfully compiled. This file may be used by Express-G Editor or by the HTML generator.

To top

## Compiling Single Express File

It is also possible to compile a single Express file to check for errors only. It may be a file from an Express project, from a non-Express project, or a project-less external Express file.
To compile a single Express file:

- Open it in the Express editor.
- A special button will appear on the Eclipse tool bar.
- Click that button to compile the file. Note: This button is enabled only when an editor window with an express file is selected. This button is disabled when there are editor windows with express files opened, but none is selected. This button is not present on the Eclipse tool bar, if no Express files are opened in the Editor.

It is the only way to compile external Express files. Compiling of multiple external Express files outside Eclipse projects is not supported. Such files can be imported into Eclipse projects, or an Express project may be created in the directory of such Express files. It is also the only way to compile Express files if the Express perspective is not chosen. If an Express project contains only one Express file, the single file compilation is equivalent to the project compilation.
To top

Copyright © 2005-2008 LKSoftWare GmbH. All Rights Reserved. JSDAI is a registered trade mark of LKSoftWare GmbH.