title: ivy cleancache but specific folders
body: <p>We have some internal jars in a remote repository and do not build them very often.The resolver looks like this: view-snapshots is a local repo and hub-releases is a shared repo.</p>
  
  <pre><code>    &lt;chain name="hub-internal-library-chain" returnFirst="true"&gt;
          &lt;resolver ref="view-snapshots"/&gt;
          &lt;resolver ref="hub-releases"/&gt;
  
      &lt;/chain&gt;
  </code></pre>
  
  <p>By default,if a developer publishes anything it goes to view-snapshots cache.We need to keep the flag </p>
  
  <blockquote>
    <p>return first-"true" </p>
  </blockquote>
  
  <p>for performance issues.So the issue I want to delete some specific files in cache(local) and repository(local).I am a newbie to ivy,any help will be appreciated.</p>
  
  <p>Thanks</p>
  
  <p>PS: I have already had a look at this question which is similar to mine.But its not solved yet.
  <a href="http://grokbase.com/t/ant/ivy-user/105d2bxpyy/refreshing-ivy-cache-after-changing-a-published-version" rel="nofollow">http://grokbase.com/t/ant/ivy-user/105d2bxpyy/refreshing-ivy-cache-after-changing-a-published-version</a></p>