When building a plugin or theme it's good to know which version of Velocity Confluence is running.
I found an article about migrating to Velocity 1.5 for Confluence 2.8 (somewhere in 2008), but couldn't find current information.
There are some nice features in Velocity which aren't available in 1.5, but only in more recent versions.
Community moderators have prevented the ability to post new answers.
Confluence 3.4/3.5 both use Velocity 1.6.1:
/confluence/WEB-INF/lib/velocity-1.6.1-atlassian-2.jar
com.atlassian.templaterenderer.atlassian-template-renderer-velocity1.6-plugin
Seems you're right, but then I would expect that $myarray.get(2) would work. Maybe I did something wrong then ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to add a note to the previous answer, the -atlassian-2 on the end of the version number indicates we've made a couple of changes to the code. In general, when we've been forced to make changes to open source projects that could not be contributed back to the project, you can find the source of our vendor branches here:
http://svn.atlassian.com/fisheye/browse/public/atlassian/vendor
The two changes we've made to Velocity are:
Hope this random trivia helps. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.