• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Clean & build project

 
shivang sarawagi
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone tell me what does clean & build project in an IDE mean or what they do ???
 
BalaMurali dhar
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Clean means to remove the previous project.Build means to create a project
 
Ivan Jozsef Balazs
Rancher
Posts: 981
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Clean" can mean deleting all generated (including compiled) stuff.
 
BalaMurali dhar
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
clean means it showing the compile time errors whereas building the project it is motivating
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you build a project, the various "builders" (the Java compiler is one example of a "builder", there can be others) create many new files within you project's directory structure. For example, the Java compiler created .class files. If you have automatic builds configured (which it is by default in Eclipse), the builder will be run as soon as you save a file that you changed. Often this can lead to undesirable results. A "clean" causes the IDE to delete all of the files that the builder built, this way you can do a fresh build.

A "clean & build" step is as close as you can get to the ideal conditions in an automated build environment, where the source code is checked out from a version control system into an empty directory and then built.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic