Eclipse Build Project - Eclipse

How to build a project in Eclipse?

Building a Java Project

One or more builders can be associated with a project. Java project is associated with a java builder. To see the builders associated with a project

  • In the Package Explorer view, right click on the project and select Properties.
  • In the left hand side tree click Builders.

build_project_builders.jpg

Java builder distinguishes a Java project from other types of projects. By clicking on the New button, Ant builder can be associated with a java project. Java builder is responsible to compile the java source code and generate classes.

Java builder will be notified about the changes to the resources in a workspace and can automatically compile java code. To disable automatic compilation, deselect ‘Build Automatically’ option from the Project menu.

build_project_menu.jpg

If automatic compilation is disabled, you can explicitly build a project by selecting the Build Project menu item on the Project menu. Build Project menu item will be disabled if ‘Build Automatically’ menu item is selected.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Eclipse Topics