[FMPP] FMPP 0.9.10 is released
Brought to you by:
ddekany
|
From: Daniel D. <dd...@fr...> - 2005-10-23 12:41:45
|
FMPP 0.9.10 is released. Download: http://prdownloads.sourceforge.net/fmpp/fmpp_0.9.10.tar.gz http://prdownloads.sourceforge.net/fmpp/fmpp_0.9.10.zip Changes ------- New features, improvements: * The pp.newWritableSequence and pp.newWritableHash methods now have an optional parameter, which is the sequence or hash whose items are added to the new writable sequence or hash. This makes pp.copyWritable deprecated, which was not able to create writable sequences/hashes based on non-writable ones. * New setting: "objectWrapper". This let FreeMarker "experts" to create and fully configure the freemarker.template.ObjectWrapper object that FMPP will use. * Java API: a new fmpp.Engine constructor now let you specify the freemarker.template.ObjectWrapper to use. * FreeMarker 2.3.4 is included in the distribution. Note the new feature of FreeMarket that let you use [#...], [@...], etc instead of <#...>, <@...>, etc if you start the template with [#ftl]. * <FMPP>/docs/examples/multipage_list was updated to use sequence?chunk(pageSize), instead of complex BeanShell script that was needed before FreeMarker 2.3.3. * Manual improvements. Bugfixes: * On Windows, fmpp.bat has sometimes build the CLASSPATH badly that ruined the command line call to java.exe and caused it to die with a strange ClassNotFoundError. * When a file is copied in "copy" processing mode, FMPP now sets the last modification time of the destination file to the last modification time of the source file. Warning! Incompatible Java API change! The FMPP engine has used and modified the shared freemarker.template.ObjectWrapper.BEANS_WRAPPER object, which is dangerous. From now by default it uses its own ObjectWrapper instance. If you have utilized that it uses the shared ObjectWrapper.BEANS_WRAPPER object (not recommended!), then for 100% backward compatibility you have to use the objectWrapper setting with this value: "ow = ObjectWrapper.BEANS_WRAPPER; ow.setSimpleMapWrapper(true); return ow;" (or if you don't use FMPP settings, do this in Java where you create the engine object: ObjectWrapper ow = ObjectWrapper.BEANS_WRAPPER; ow.setSimpleMapWrapper(true); Engine eng = new Engine(ObjectWrapper.BEANS_WRAPPER); ) -- Best regards, Daniel Dekany |