Performing builds manually

By default, builds are performed automatically when you save resources. If you need more control over when builds occur, you can disable automatic building and manually invoke builds. This is sometimes desirable in cases where you know building should wait until you finish a large set of changes. The disadvantage of manual building is that tasks generated to indicate build errors quickly become out of date until you build. In addition, it is very important that you remember to manually build before relying on build output (for example, before running your Java program).

Note: Some of the menu items described below are only available when the automatic build preference is disabled in the Workbench preferences (select Window > Preferences > Workbench).

To build only selected projects:

  1. In the Navigator view of the Resource perspective, select one or more projects.
  2. Right-click and select the option Rebuild Project from the pop-up menu.

To build all projects in the workspace click Project > Rebuild All. Note that, this will rebuild all resources, even the ones which have not been modified.

Related concepts
Builds

Related tasks
Saving resources automatically before a manual build
Changing build order
Performing builds automatically