Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clean and build an Eclipse java project with one click

Is it possible to clean and build a java project in Eclipse with one click? I don't want to go to Project -> clean -> OK and than to project menu 'Build project'

like image 633
Igorock Avatar asked Nov 25 '12 00:11

Igorock


People also ask

How do I clean up Eclipse?

Go to Windows >> Preferences >> Java >> Code Style >> Clean-Up Click on New button. In the next window provide a Profile Name of your choice for eg. JBT and click “OK”. It will take you to a new window where you can configure your clean up options.

How do I completely delete a project in Eclipse?

Deleting a Project To delete a project, right-click on the project in the Package Explorer. Again, select “Delete” from the context menu. To delete your project select the option “Also delete contents under…” and select “Yes.”

What is auto build in Eclipse?

You have two modes of working: auto-build mode and manual build mode. By default, you are in auto-build mode and Eclipse takes care of compiling source files automatically. Builds occur automatically in the background every time you change files in the workspace (for example saving an editor).


1 Answers

When you have

Project --> Build Automatically

checked, it will be automatically rebuilt after cleaning it.

like image 60
jlordo Avatar answered Oct 19 '22 11:10

jlordo