You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by xa...@apache.org on 2008/03/24 21:04:32 UTC

svn commit: r640548 - in /ant/ivy/core/trunk: CHANGES.txt doc/configuration/resolvers.html

Author: xavier
Date: Mon Mar 24 13:04:23 2008
New Revision: 640548

URL: http://svn.apache.org/viewvc?rev=640548&view=rev
Log:
DOCUMENTATION: Add new cache information to resolver doc (IVY-772) (thanks to Carlton Brown)

Modified:
    ant/ivy/core/trunk/CHANGES.txt
    ant/ivy/core/trunk/doc/configuration/resolvers.html

Modified: ant/ivy/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=640548&r1=640547&r2=640548&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Mon Mar 24 13:04:23 2008
@@ -18,6 +18,7 @@
 	Jeffrey Blattman
 	Jim Bonanno
 	Matthieu Brouillard
+	Carlton Brown
 	Mirko Bulovic
 	Kristian Cibulskis
 	Andrea Bernardo Ciddio
@@ -86,6 +87,8 @@
 - FIX: XML entity parsing does not work properly (IVY-737) (thanks to Patrick Woodworth)
 - FIX: Cachefileset task silently fails with parent dir ".." construct (IVY-638)
 - FIX: SFTP should verify input parameter for hostname (IVY-734)
+
+- DOCUMENTATION: Add new cache information to resolver doc (IVY-772) (thanks to Carlton Brown)
 
    2.0.0-beta2
 =====================================

Modified: ant/ivy/core/trunk/doc/configuration/resolvers.html
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/doc/configuration/resolvers.html?rev=640548&r1=640547&r2=640548&view=diff
==============================================================================
--- ant/ivy/core/trunk/doc/configuration/resolvers.html (original)
+++ ant/ivy/core/trunk/doc/configuration/resolvers.html Mon Mar 24 13:04:23 2008
@@ -135,13 +135,18 @@
         <td>Yes</td>
         <td>Yes</td>
     </tr>
+    <tr><td>cache</td><td>The name of the cache manager to use.</td>
+        <td>No, defaults to the value of the default attribute of caches</td>
+        <td>No</td>
+        <td>Yes</td>
+    </tr>
 </tbody>
 </table>
 
 <h1>Examples</h1>
 <code type="xml">
 <resolvers>
-  <filesystem name="1">
+  <filesystem name="1" cache="cache-1">
     <ivy pattern="${ivy.settings.dir}/1/[organisation]/[module]/ivys/ivy-[revision].xml"/>
     <artifact pattern="${ivy.settings.dir}/1/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
   </filesystem>
@@ -155,7 +160,7 @@
   </chain>
 </resolvers>
 </code>
-Defines a filesystem resolver, named '1', which is then used in two chains, the first which seconds the filesystem resolver with an ivyrep resolver, and second which seconds the filesystem resolver with an ibiblio resolver, and which returns the first module found, and uses the whole chain to download artifacts (see corresponding resolvers documentation for details about them).
+Defines a filesystem resolver, named '1', which is then used in two chains, the first which seconds the filesystem resolver with an ivyrep resolver, and second which seconds the filesystem resolver with an ibiblio resolver, and which returns the first module found, and uses the whole chain to download artifacts (see corresponding resolvers documentation for details about them).   Resolver 1 will use a cache named 'cache-1' which should have been defined under the caches element.
 	</textarea>
 <script type="text/javascript">xooki.postProcess();</script>
 </body>