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=18670>.
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=18670

Checksum validation against property always fails

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-04-09 14:20 -------
Oh my, we have a problem, or maybe not.  The problem is that the docs are
confusing as hell and the property attribute is overloaded too much.

If you are storing the checksum, its value is the name of a property.  If you
are verifying, its value is the value to compare with (one level of indirection
less).  So

    <checksum property="checksum" file="checksum.xml"/>
    <checksum property="${checksum}" file="checksum.xml"
              verifyproperty="verifiy"/>

should work.

I'd love to fix this inconsistency, but it is impossible as the examples show
the usage of ${md5} as property's value.  All we can do is clarifying the docs.
Changing the meaning of the property attribute to be consistent would break
existing build files and cannot be done.

Reply via email to