Installation Guide

After downloading an appropriate distribution, you need to install it into your webapp. Read the applying topics in this guide from top to bottom.

Integration pack installation

Installing the integration pack, it's dependencies, and a required SLF4J binding.

Using Maven 2

If you have already declared the depedency reference as described in the download guide, Maven has already installed everything for you. Declare the chosen SFL4J binding and corresponding backend (may be optional) in the dependencies section of your POM within the runtime scope.

Manual installation

Simply put the downloaded core jar, it's dependencies and your favorite SFL4J binding together with the corresponding backend (may be optional) in to your classpath (usually WEB-INF/lib) and you are ready to go.

FCKeditor installation

Although the public distribution is fine, it still contains a lot of superfluous files for a Java environment. Use the following Ant target on the FCKeditor 2.6.3 zip file (1,31 MiB) to create a cleaner and smaller distribution zip file (0,99 MiB). After the minification you can unzip the smaller distribution zip file into your webapp.

<target name="clean-fckeditor" description="Creates a clean FCKeditor distribution">
  <!-- Adapt these properties to your needs -->
  <property name="fckeditor-tmp" location="fckeditor-tmp" />
  <property name="fckeditor-basename" value="FCKeditor_2.6.3" />
  <property name="fckeditor-destfile" value="${fckeditor-basename}_clean.zip" />

  <delete file="${fckeditor-destfile}" />
  <unzip dest="${fckeditor-tmp}" src="${fckeditor-basename}.zip" />
  <zip destfile="${fckeditor-destfile}">
    <zipfileset dir="${fckeditor-tmp}/fckeditor" prefix="fckeditor">
      <include name="_samples/_plugins/" />
      <include name="editor/" />
      <include name="fckconfig.js" />
      <include name="*.xml" />
      <exclude name="editor/filemanager/connectors/" />
    </zipfileset>
  </zip>
  <delete dir="${fckeditor-tmp}" />
</target>