The cause is described in this post, http://swainya.blogspot.com/2011/09/skip-download-when-groovy-code.html.
The solution described in that post is to add one line in the .groovy/grapeConfig.xml to decrease cache TTL. Add
<property name="ivy.cache.ttl.default" value="15m"/>
in the <ivysettings> section.
Your grapeConfig.xml will look like this after adding that line
<ivysettings>
<property name="ivy.cache.ttl.default" value="15m"/>
<settings defaultResolver="downloadGrapes"/>
......
No comments:
Post a Comment