Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Freemarker specific settings

FreeMarker won't search the classpath for finding the tlds but uses only WEB-INF/lib and the entries defined in web.xml directly. There exist mainly the following two workarounds:

A) register the tlds in web.xml

For using the tag libs with freemarker you will need to edit web.xml and add the following lines:

...

And copy the files to webapp/WEB-INF

B) put minimal jars into WEB-INF/lib

1. in the webapp folder execute:

Code Block

  mvn war:inplace

2. delete all jars except the taglib jars in src/main/webapp/WEB-INF/lib

3. minimize the taglib jar

Code Block

 zip -d magnolia-taglib-cms-4.1.1-SNAPSHOT.jar /info/*
 zip -d magnolia-taglib-utility-4.1.1-SNAPSHOT.jar /info/*

Configure Code Style

If you are an internal developer or a contributor please follow the instructions found here: Code style

...