Updates error message when referencing the wrong path to a BUILD file

Review Request #841 - Created Aug. 6, 2014 and submitted

Information
Eric Ayers
pants
zundel/build-parser-errhandling
442
Reviewers
pants-reviews
stuhood
Updates error message when referencing the wrong path to a BUILD file. 

Before, it would just spit out the incorrect BUILD file path.:

  Exception message: BUILD file does not exist at: /Users/zundel/Src/Pants/src/java/com/pants/examples/annotation/exampleDELETE_ME

Now it will read as follows:

  Exception message: BUILD file does not exist at: /Users/zundel/Src/Pants/src/java/com/pants/examples/annotation/exampleDELETE_ME
    referenced from src/java/com/pants/examples/annotation/processor:processor
    referenced from src/java/com/pants/examples/annotation/main:main
Updated unit tests, ci passed at https://travis-ci.org/pantsbuild/pants/jobs/31812266
Eric Ayers
Eric Ayers
Larry Hosken
Eric Ayers
Stu Hood
Eric Ayers
Eric Ayers
Eric Ayers
Eric Ayers
Eric Ayers
Review request changed

Status: Closed (submitted)

Loading...