Artur Hefczyc <artur.hefczyc@tigase.net> v2.0, June 2014: Reformatted for AsciiDoc. :toc: :numbered: :website: http://tigase.net/ :Date: 2010-04-06 21:22
To generate installer:
In order to compile custom Tigase panels you need to first compile IzPack classes. You can use the included build.xml
which is in the src directory of IzPack install. Just enter this dir and type:
ant all
Depending on the IzPack version classes will be compiled directly into the src/lib
directory or _build
directory of IzPack. You may need to tweak the build.xml
file which is in the same dir as the readme
and point to the directory where IzPack compiled classess reside.
<!-- fragment --> <classpath> <pathelement location="java"/> <!-- tweak below fragment --> <pathelement location="${installer.path}/_build"/> <pathelement location="${installer.path}/bin/panels/TargetPanel.jar"/> </classpath>
generate-installer.sh
script. Compiled custom panels will be placed here before running installer compiler.Modify the script/generate-installer.sh
. Change the IZPACK_DIR
variable to point to the IzPack instalation directory e.g.
IZPACK_DIR="/usr/local/IzPack421"
scripts/generate-installer.sh
file you will find in the main server source code directory. You should start it from the server root dir.