Added support for the ivy cache being under a symlink'ed dir

Review Request #2129 - Created April 27, 2015 and submitted

Information
Eric Ayers
pants
zundel/fix-realpath-symlink-map
1458
2126
7c7f439...
Reviewers
pants-reviews
dturner-tw, jsirois, patricklaw, stuhood

Addresses issue from discussion in https://groups.google.com/forum/#!topic/pants-devel/dhnRICX-I3g

CI running at: https://travis-ci.org/pantsbuild/pants/builds/60273133

Besides adding the unit test, used the repro case from https://rbcommons.com/s/twitter/r/2085/ to compile a target after moving the cache to a symlink:

mkdir ~/realcachedir
ln -s ~/realcachedir ~/symlinkcachedir

In pants.ini added:

[ivy]
cache_dir: /Users/Zundel/symlinkcachedir

Then compiled something that required ivy resolution.

./pants compile examples/src/java/org/pantsbuild/example/antlr3

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Stu Hood
Patrick Lawson
Eric Ayers
Eric Ayers
Stu Hood
Eric Ayers
Stu Hood
David Turner
Eric Ayers
Eric Ayers
Eric Ayers
Eric Ayers
Review request changed

Status: Closed (submitted)

Change Summary:

Commit 3f0ee03 fixes the build break in the previous commit.

Loading...