The Antenna House AMP provided by Componize can be used with any supported version of Antenna House Formatter.
componize-alfresco-ah-formatter-2.2.3.amp
in your Alfresco WAR file.
lib/XfoJavaCtl.jar
JAR file needs to be on your
classpath.
lib/XfoJavaCtl.jar
JAR file from your Antenna
House installation folder to your $TOMCAT_HOME/shared/lib/
folder.<dependency> <groupId>jp.co.antenna</groupId> <artifactId>ah-formatter</artifactId> <version>7.0-MR1</version> </dependency>
run.sh
or
run.bat
file in your Antenna House installation directory.
AHF70_64_HOME="<INSTALLDIR>" export AHF70_64_HOME AHF70_64_LIB_FOLDER=${AHF70_64_HOME}/lib AHF70_64_BIN_FOLDER=${AHF70_64_HOME}/bin AHF70_64_ETC_FOLDER=${AHF70_64_HOME}/etc LD_LIBRARY_PATH=${AHF70_64_LIB_FOLDER}:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH AHF70_64_LIC_PATH=${AHF70_64_ETC_FOLDER} export AHF70_64_LIC_PATH AHF70_64_HYPDIC_PATH=${AHF70_64_ETC_FOLDER}/hyphenation export AHF70_64_HYPDIC_PATH AHF70_64_DEFAULT_HTML_CSS=${AHF70_64_ETC_FOLDER}/html.css export AHF70_64_DEFAULT_HTML_CSS AHF70_64_FONT_CONFIGFILE=${AHF70_64_ETC_FOLDER}/font-config.xml export AHF70_64_FONT_CONFIGFILE #AHF70_64_BROKENIMG=${AHF70_64_HOME}/samples/Broken.png #export AHF70_64_BROKENIMG