FreeMarker Blog

The official weblog of the FreeMarker project

Monday, February 04, 2008

FreeMarker 2.3.12 released

FreeMarker 2.3.12 is out! Download it from here.

  • We fixed one really ugly (and really stupid to make) bug that made the JSP 2.0 SimpleTag support introduced in 2.3.11 immediately unusable (ouch). Everything gets better at second attempt, I guess, so it works now; with my apologies to anyone bitten by it.

  • FreeMarker's praised error reporting got even (a bit) better: parse-time exception messages now display the name of the template in addition to line and column number (I too can't believe we didn't have this earlier).

  • Variable argument methods (introduced with Java 5) on Java objects can now be properly invoked (in case of overloaded methods, observing the same rules for method resolution that the Java language itself uses).

  • Finally, Java 5 enum constants are now identified by their name, not their toString() representation (which can be overridden in a subclass). They still print their toString() representation, of course.


At Sun Mar 09, 03:16:00 PM GMT+1, Blogger Marc said...

tar, gzip. Jeez, can you also provide just zip? This tar and gzip stuff is very windows unfriendly. Just downloaded a tool to ungzip the stuff. Now I need to find something to untar it :-(



At Fri Mar 21, 07:15:00 PM GMT+1, Blogger Ruby said...

use 7zip (

At Sun Apr 27, 02:01:00 AM GMT+2, Anonymous Denis said...

Nice release.

Marc, both 7-zip and Winzip support .tar.gz (though I think the latter prefers .tgz)

At Wed Aug 06, 11:44:00 PM GMT+2, Anonymous Anonymous said...

Nice release,thnx!

Can you tell me something about the 2.4 release date?


At Wed Aug 06, 11:49:00 PM GMT+2, Blogger Attila Szegedi said...

Really couldn't give you a release date. There is a preview release out now, you might want to try it -- see the front page at

(Even though I'm incidentally working on some rough edges as I write this, so it's by no means a final 2.4.)

At Fri Sep 12, 11:00:00 PM GMT+2, Blogger b0c1 said...

Thnx Attila!

Possible (or plan) to embed the syntax auto detection to 2.3 release? (I want to using the alternative bracket syntax but the [#ftl] is very ugly in the beginning of the files :)

boci [hu]

At Sat Sep 13, 12:33:00 AM GMT+2, Blogger Attila Szegedi said...

I don't think so - it wouldn't be backwards compatible. Best you can do is you can configure your Configuration object for it:


or in Spring:

<bean id="freemarkerConfig" class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
<property name="freemarkerSettings">
<prop key="tag_syntax">auto_detect</prop>

Or for FreemarkerServlet in WEB-INF/web.xml:


Also, if you plan to use square brackets all the way, you might actually set it to "square_bracket" instead of to "auto_detect"...

At Sat Sep 13, 11:28:00 AM GMT+2, Blogger b0c1 said...



At Wed Aug 26, 07:58:00 PM GMT+2, Blogger rahul saini said...

Freemarker 2.3.15 is out now !
Please Download from here ->

At Wed Aug 26, 07:59:00 PM GMT+2, Blogger rahul saini said...


At Thu Nov 19, 10:42:00 AM GMT+1, Blogger Xmariachi said...

seen that in the
freemarker doc
page there is nothing about internationalization.

I'd like to have some authoritative source of information about i18n in freemarker, be it a blog post but nicer to be in the (already very good) documentation.

Thanks a lot


Post a Comment

Links to this post:

Create a Link

<< Home