<@page title="FMPP - FreeMarker-based PreProcessor" keywords="homepage"> <@sect title="What is FMPP?">

FMPP is a general-purpose text file preprocessor tool that uses FreeMarker templates. It is particularly designed for HTML preprocessor, to generate complete (static) homepages: directory structure that contains HTML-s, image files, etc. But of course it can be used to generate source code or whatever text files. FMPP is extendable with Java classes to pull data from any data sources (database, etc.) and embed the data into the generated files.

FMPP can be used with UN*X-style command-line interface, or as Ant task, or you can embed it into your Java application.

FMPP is 100% Java, thus it runs on all modern platforms (Windows, "Linux", Mac OS X, Solaris, ...etc.).

FMPP is Free software. See the license <@a href="license.html">here...

Some products that were created for similar purpose to FMPP: Template Toolkit (Perl), PPWizard (Rexx), VPP (Java, Velocity) <@sect title="Features">

This is a quick list of FMPP capabilities:

<@sect title="Documentation"> <#if online>

This on-line documentation is for FMPP version ${pp.version} + FreeMarker ${pp.freemarkerVersion}. The full documentation of the version you are using can be found in the <@c>docs directory of the installed FMPP.

<@sect title="Download"> <#if online> <#macro downloadLink fileName> ${fileName} <#assign rfile=basedir + pp.slash + "dist" + pp.slash + fileName /> <#if pp.realFileExists(rfile)> (${(pp.realFileSize(rfile)/1024/1024)?string("#0.0")} M) <#else> <#stop 'File to download missing: ${rfile}'>

The latest released version is FMPP ${pp.version} (comes with FreeMarker ${pp.freemarkerVersion}, but <@a href="installing.html#updatingFreeMarker">you can replace it with a later version).

<@img src="download.png" alt="Download" /> <@downloadLink "fmpp_" + pp.version + ".tar.gz" /> (GNU tar!) or <@downloadLink "fmpp_" + pp.version + ".zip" />
Downloads include "binaries", all documentation, and source code.

Installation instructions are <@a href="installing.html">here, in the Manual.

FMPP is a Java application, so it requires Java installed on your machine (J2SE version 1.2 or later). Sun's free implementation can be downloaded here: http://java.sun.com/j2se/. Download J2SE JRE there (the J2SE JDK is good as well, just that's bigger).

If you need XML support, you should use J2SE 1.4 or later. If you use earlier Java, then install some JAXP 1.2+/SAX 2.0+/DOM Level 2 implementation with name-space support, for example: Xerces (recommended) or Crimson. (Note that Ant comes with Xerces, so when you use the FMPP Ant task, the XML related classes will be available.)

XPath expressions will work only if Jaxen (recommended) or Apache Xalan classes are available (Xalan is included with Sun J2SE 1.4, but maybe not in the later versions).

The FMPP Ant task (ignore if you don't know what's Ant) requires Ant 1.5.1 or later.

<#else>

To download the latest release, please visit the FMPP homepage : <@url href="http://fmpp.sourceforge.net/" />

For <@e>text editor and IDE plug-ins, and for other FreeMarker template related tools, please visit the FreeMarker homepage: http://freemarker.org/ (mirror: http://freemarker.sourceforge.net/)

<@sect title="Project State">

Unlike most open source projects, I will be honest about it: I (Dániel Dékány) have stopped the active development of the FMPP project with FMPP 0.9.7. I still fix bugs and do other maintenance work (<@a href="versions.html">check it here if I really do), so the project is <@e>not abandoned. It's just that I don't plan to develop new features or do serious reworking. However, contributions of proper quality are welcome and will be integrated.

I believe that the project will serve the FreeMarker community well even if it remains in its current state forever. After all, it's already a feature rich and stable tool (that is, compared to the alternatives I have seen...).

<@sect title="Contact"> <@reportBugs />

Ask for <@e>help or provide suggestions:

Home page: <@url href="http://fmpp.sourceforge.net/" />