You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/06/04 13:28:00 UTC
DO NOT REPLY [Bug 20474] New: -
New Selector and improved documentation
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474
New Selector and improved documentation
Summary: New Selector and improved documentation
Product: Ant
Version: 1.6Alpha (nightly)
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Core
AssignedTo: dev@ant.apache.org
ReportedBy: jan@materne.de
I wrote a Selector which can:
- compute a value of a file
- compare this value with one stored in a cache
- decide whether to select
The "compute" algorithm and the cache is configurable. Current implementations:
HashvalueAlgorithm: reads the file�s content into a String and uses its
hashValue(),
therefore only files are selected whichs CONTENT has changed
PropertyfileCache: use java.util.Properties for storing the key-value-pairs.
While writing the selector and its testcase I realized that the doco needs some
improvents in that area. So I have done that, too.