Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for the ivy cache being under a symlink'ed dir
Addresses issue from discussion in https://groups.google.com/forum/#!topic/pants-devel/dhnRICX-I3g Testing Done: 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 ``` Bugs closed: 1458 Reviewed at https://rbcommons.com/s/twitter/r/2129/
- Loading branch information
1 parent
cfaa22e
commit d0b1244
Showing
6 changed files
with
160 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters