Clean and build an Eclipse java project with one click

eclipse, eclipse-plugin, java

Solution

If you need something more powerful than clean and deploy, I suggest to learn Ant build tool. http://ant.apache.org/

Just configure it for your project and prepare the build script, than configure the build script for the clean and build target. If you need, also to deploy it on your server (glassfish, weblogic or whatever you want). With Ant you can configure more situation (test, production..)

Problem

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'

Original source