How To Upgrade The Freemarker Jar Bundled In JBoss Freemarker IDE

Saturday, August 30th, 2008

The current version (1.0.0.GA) of Freemarker IDE from JBoss Tools comes with freemarker-2.3.8.jar bundled. To update to freemarker 2.3.13:

  1. Copy freemarker-2.3.13.jar into $ECLIPSE_INSTALLATION/plugins/org.jboss.ide.eclipse.freemarker_1.0.0.GA, and remove the freemarker-2.3.8.jar in there.
  2. Edit META-INF/MANIFEST.MF to replace the reference to “freemarker-2.3.8.jar” with “freemarker-2.3.13.jar”.
  3. Restart Eclipse with the “-clean” command line option. This is important because otherwise the Eclipse OSGI engine will keep using cached bundle data which is stale now.