Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 29466 invoked from network); 17 Jan 2008 08:08:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jan 2008 08:08:23 -0000 Received: (qmail 27592 invoked by uid 500); 17 Jan 2008 08:08:13 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 27557 invoked by uid 500); 17 Jan 2008 08:08:13 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 27548 invoked by uid 99); 17 Jan 2008 08:08:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2008 00:08:13 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2008 08:07:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D60B51A9850; Thu, 17 Jan 2008 00:07:38 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r612751 [6/15] - in /ant/ivy/site/target: ./ history/2.0.0-beta1/ history/trunk/ history/trunk/configuration/ history/trunk/configuration/caches/ history/trunk/resolver/ history/trunk/use/ Date: Thu, 17 Jan 2008 08:07:16 -0000 To: notifications@ant.apache.org From: xavier@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080117080738.D60B51A9850@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: ant/ivy/site/target/history/trunk/configuration/caches/ttl.html URL: http://svn.apache.org/viewvc/ant/ivy/site/target/history/trunk/configuration/caches/ttl.html?rev=612751&view=auto ============================================================================== --- ant/ivy/site/target/history/trunk/configuration/caches/ttl.html (added) +++ ant/ivy/site/target/history/trunk/configuration/caches/ttl.html Thu Jan 17 00:07:13 2008 @@ -0,0 +1,148 @@ + + + + + + + + + +ttl | Apache Ivy + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + +
+ + +
+ + +
+ + + + + + + +
+
+ +

ttl

+
Tag: ttl

Since 2.0 Defines a TTL (Time To Live) rule for resolved revision caching.

When Ivy resolves a dynamic version constraint (like latest.integration or a version range), it can store the result of the resolution (like latest.integration=1.5.1) for a given time, called TTL. It means that Ivy will reuse this dynamic revision resolution result without accessing the repositories for the duration of the TTL, unless running resolve in refresh mode.

This tag let you define a rule to define a TTL specific to a set of dynamic revision, based on the whole module revision information (organization, module name, revision, ...). The revision considered in the rule is the revision before the resolution (for instance 'latest.integration') and not the re solved revision (for instance '1.5.1').

The rules are evaluated in order, the first matching rule being used to define the TTL. If no rule matches, the cache defaultTTL will be used.

The format used to specify the TTL is of the form: +
+XXd XXh XXm XXs XXXms
+
+Where 'd' stands for days, 'h' for hours, 'm' for minutes, 's' for seconds and 'ms' for milliseconds. Any part of the specification can be omitted, so '12d', '2h 5m' and '1d 5ms' are all valid.

Using a 0ms TTL disable resolved revision caching for the given rule.

Attributes

+ + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
organisationthe organisation to match to apply the rule.No, defaults to *
modulethe module's name to match to apply the rule.No, defaults to *
revisionthe module's revision to match to apply the rule. Note that the version is not resolved when evaluating the rule ('latest.integration' for instance).No, defaults to *
any extra attributean extra attribute to match to apply the rule.No, defaults to *
matcherthe matcher to use to match the modules to which the resolver should be appliedNo, defaults to exact
durationthe TTL to applyYes
+ + +
+
+ + + + + + + + + + + + +
+ + Propchange: ant/ivy/site/target/history/trunk/configuration/caches/ttl.html ------------------------------------------------------------------------------ svn:eol-style = native