Apache Velocity Engine 1.7-beta1 릴리즈
아파치 Velocity 개발자들이 Velocity Engine 1.7-beta1을 발표하였습니다.
The Velocity developers are please to announce the availability of Velocity Engine 1.7-beta1.
관련 파일은 아래 주소에서 다운로드 받을 수 있습니다.
Downloads can be found here:
http://velocity.apache.org/download.cgi
A great deal of work has been done since the 1.6 branch.
1.6까지는 여러가지 작업들을 진행해왔습니다.
Here's a taste:
- Your macros can now be called with bodies when you want:
#macro(foo)Here is $bodyContent#end
#@foo()body content!#end
- Quotes can be escaped in strings by doubling them:
#set( $foo = "$person said, ""$comment"" " )
#set( $bar = 'Joe said, ''Hi!'' ' )
- The flawed #literal directive has been replaced with:
#[[ This is included but not parsed, so #if and $foo need no escaping.]]#
Also included are namespacing improvements, better #break and #stop, bracketed index syntax, and more! For full details, please see the
change log:
http://velocity.apache.org/engine/devel/changes-report.html
This should work as a drop-in replacement for Velocity 1.6.3 in the vast majority of cases. However, there have been a number of deprecations (should result in warnings in your log output) and a few
minor behavioral changes, all of which are explained in the change log. :)