Issue 3305: Eclipse project cannot be generated after buck clean if the project does not compile
Status:  New
Owner: ----
Project Member Reported by david.pu...@sonymobile.com, Apr 15, 2015
*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version: master

What steps will reproduce the problem?
1. introduce a compilation error somewhere in the source code
2. buck clean
3. ./tools/eclipse/project.py

What is the expected output? What do you see instead?

The build fails.  In Eclipse the project cannot be built due to:

  Project 'gerrit' is missing required library: 'buck-out/gen/Documentation/index.jar'

This means it's difficult to use Eclipse to find and fix the compilation errors.

Please provide any additional information below.