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=21691>. 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=21691 #if directory and long values Summary: #if directory and long values Product: Velocity Version: 1.0-Release Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Build AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When using ($if x == 1), and x is of type long, then Velocity tries to compare x as type Long and 1 as type Integer, resulting in the following message in the errorlog: Error in evaluation of == expression. Both arguments must be of the same Class. Currently left = class java.lang.Long, right = class java.lang.Integer. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
