Better error message for classpath entries outside the working directory

Review Request #3099 - Created Nov. 8, 2015 and submitted

Information
Eric Ayers
pants
zundel/classpath-entry-message
2524
Reviewers
pants-reviews
gmalmquist, nhoward_tw

On upgrading to 0.0.56 We had tests failing with the error

FAILURE: Classpath entry /Users/zundel/Development/java/.pants.d/ivy/jars/junit/junit/jars/junit-4.12.jar for target 3rdparty:junit.junit is located outside the working directory.

Which didn't make much sense. Added the value of the working directory being compared to for this error which showed that for this task, the working directory was set to something unexpected.

FAILURE: Classpath entry /Users/zundel/Development/java/.pants.d/ivy/jars/junit/junit/jars/junit-4.12.jar for target 3rdparty:junit.junit is located outside the working directory /Users/zundel/Development/java/.pants.d/gen/link-resources-jars.

Updated unit tests, CI running at https://travis-ci.org/pantsbuild/pants/builds/89948558

Eric Ayers
Benjy Weinberger
Eric Ayers
Review request changed

Status: Closed (submitted)

Change Summary:

Thanks Benjy, commit 955be32

Loading...