Reputation: 643
After I clean a project in eclipse I don't see the class files generated in the output folder "bin" although there's no build error, what can I do to make it regenerate the class files?
thanks
Upvotes: 7
Views: 7569
Reputation: 223
To generate these .class files manually, which are lost after cleaning the project, uncheck build automically which is under Project and then right click on your project and select build project which will regenerate your lost .class files
Upvotes: 0
Reputation: 7768
Under the "Project" menu, see if the option "Build Automatically" is checked.
Edit: Have you checked this on Eclipse or on a file browser? Sometimes Eclipse takes a long time to refresh changes in the file system. Force a refresh by right clicking the bin folder and clicking on "Refresh" on the contextual menu.
Edit: Check your build path, try reconfiguring it from scratch, I don't know if this can help, but who knows...
Upvotes: 0
Reputation: 18998
It might be that your project is configured to write classes to somewhere other than ./bin
Upvotes: 1