Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 98304 invoked from network); 31 May 2005 10:30:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 May 2005 10:30:10 -0000 Received: (qmail 78892 invoked by uid 500); 31 May 2005 10:30:07 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 78814 invoked by uid 500); 31 May 2005 10:30:06 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 78788 invoked by uid 99); 31 May 2005 10:30:06 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 31 May 2005 03:30:02 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id BEDBB186; Tue, 31 May 2005 12:29:41 +0200 (CEST) From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 34289] - [configuration] FileChangedReloadingStrategy fails to properly detect file change X-Bugzilla-Reason: AssignedTo Message-Id: <20050531102941.BEDBB186@ajax.apache.org> Date: Tue, 31 May 2005 12:29:41 +0200 (CEST) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34289 oliver.heger@t-online.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #15105|0 |1 is obsolete| | ------- Additional Comments From oliver.heger@t-online.de 2005-05-31 12:29 ------- Created an attachment (id=15228) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15228&action=view) Updated patch for FileChangedReloadingStrategy plus unit test Patch updated to incorporate changes suggested by Jorge Ferrer. FileChangedReloadingStrategy will now correctly update its lastChanged field, so that hasChanged() need not be called every time reloadingRequired() is invoked. I also included the proposed functionality that if a configuration file is loaded from a jar, the jar file itself should be the target for the strategy. However IMO the containerFileURL() method seems to be very specific to the reloading strategy, so I placed the code directly in FileChangedReloadingStrategy. If we later find out that this stuff is generally useful, we can still move it to ConfigurationUtils and make it public. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org