Daniel Dekany | 2 Jan 2004 23:43
Picon
Favicon

FMPP 0.9.4 is out

FMPP 0.9.4 is released.

Download: http://prdownloads.sourceforge.net/fmpp/fmpp_0.9.4.tar.gz

New features, improvements:

* New setting: "localData"

  . Till now, all source files (all templates) have started with the
    same data model, the one you have specified with setting "data". With
    the new "localData" setting you can add variables to, and override the
    variables of the common data model, for groups of source files
    selected by path patterns.

  . This feature also let you attach a BeanShell script to a template,
    that can done some complex calculations before template execution,
    and put the results into the data model for the individual template.

  . Setting "templateData" is now deprecated.

  . Java API changes: New interface fmpp.LocalDataBuilder, deprecates
    fmpp.TemplateDataModelBuilder.

* Setting "borders" supports multiple layers. That is, multiple borders
  can be used at once for the same file.

* In < <at> pp.renameOutputFile ... /> you can use parameter extension
  instead of name, to change only the extension of the output file.

* Java API: TemplateEnvironment has new methods, most importantly
(Continue reading)

Daniel Dekany | 14 Jan 2004 00:03
Picon
Favicon

FMPP 0.9.5 is released

FMPP 0.9.5 is released!

Download: http://prdownloads.sourceforge.net/fmpp/fmpp_0.9.5.tar.gz

New features, improvements:

* Java API: Improvements to the Settings class:

  . The API of this class is now as stable as other FMPP API-s, so it is
    not marked as experimental anymore.

  . The execute(Engine) method is now deprecated, and will be soon
    removed. Use execute() instead. If you use Settings, then don't
    create Engine objects manually anymore, just use the Settings object
    alone. (See the FMPP Manual for an example.)

  . Methods have been added to deal with progress listeners and engine
    attributes.

* Java API: some convenience methods has been added:
  Settings.set(String, boolean), Settings.set(String, int),
  Settings.setDefault(String, boolean), Settings.setDefault(String,
  int), Engine.isXmlSupportAvailable(), TddHashLocalDataLoader(String)

* More API documentation.

* More reliable and helpful install Ant target.

* Terminology change: To prevent confusion, the settings of the
  fmpp.Engine object (known be people who use FMPP at Java API level)
(Continue reading)

Daniel Dekany | 20 Jan 2004 21:39
Picon
Favicon

FMPP 0.9.6 is released

FMPP 0.9.6 is released!

Download: http://prdownloads.sourceforge.net/fmpp/fmpp_0.9.6.tar.gz

New features, improvements:

* New processing mode: renderXml. When a source file is processed in
  this mode, it's parsed as XML, and then the parsed XML document is
  rendered to output file(s) by a FreeMarker template, which is chosen
  based on the path or the document element of the XML document.

  . New setting: xmlRenderings

  . New pp variable: pp.doc

  . Java API: New class: fmpp.XmlRenderingConfiguration. New
    fmpp.Engine.PMODE_... constant: PMODE_RENDER_XML. New Engine methods
    to add/clean XML rendering configurations.

* When template execution dies with error, and it didn't generated any
  output yet, nor it flushed the output explicitly or by changing output
  file, then no 0 length output file will be generated.

* New target in the build.xml, "qinstall". It's the same as "install",
  but assumes "y" for all questions.

* Added figures to the Quick Tour chapter.

* Java API: Added a new utility method to Engine: static String
  getProgressListenerEventName(int event)
(Continue reading)


Gmane