Compiling a Project or File

Using the Build menu, you can compile all files in a project or only those files that are new or have changed since the last compile.

To compile a project, do one of the following: Choose Project Compile Project (Ctrl-Shift-F9) to compile the parts of the project, including any imported files, that are new or have been modified since the last build. This command is recommended for routine iterations of the edit/compile/debug cycle.

  • Choose Project Build Project (Ctrl-Shift-F10) to compile all project files, including imported files. Building a project is most useful when you are ready to deploy it.

    To compile a file or package:

    1. Select the file or package in the Filesystems tab of the Explorer (or open the file in the Source Editor).

    2. From the main window, choose one of the following:
      Build Compile (F9) to compile the file. If you selected a package, the IDE compiles only the files that are new or that have been modified since the last compile.
      Build Compile All (Ctrl-F9) to compile the files that are new or that have changed within the package (not available when compiling a single file).
      Build Build (F10) to compile the file. If you selected a package, the IDE compiles all files regardless of whether they have changed since the last compile.
      Build Build All (Ctrl-F10) to compile all files within the package (not available for files).
    The IDE, consistent with Java conventions, automatically compiles the first file it finds with the same name and package. If you have two files with the same file name and package mounted in the Explorer, then then file in the first package is compiled, even if you select the second package.
    See also
    Correcting Errors in Source Code

    Legal Notices