|Virgo Build - common directory for ivy repo [message #531634]
||Wed, 05 May 2010 12:09
| Dmitry Sklyut
Registered: January 2010
After using maven for number of years, I have grown fond of a single .m2/repository location. Virgo build on the other hand re-downloads all dependencies, even common once for each component.|
At the time of dm-server I did a quick calculation and it ended up being close to a gig of stuff in ivy/repo across all components and few version ranges (i.e. not cleaning ivy deps).
I understand that this behavior was a design choice but would it be possible to introduce a very small change to build system to source $HOME/.vergobuild.properties or look for a global env variable and used that in preference to "ivy.cache.dir"?
In addition to reduced disk usage, it will minimize network io for common artifacts. Setting up eclipse projects will be easier too as only one variable needs to be defined vs. one per project.
Powered by FUDForum
. Page generated in 0.13250 seconds