How to install dependancies to build Mobile package.
Procedure 1. To install the package on Ubuntu
Note
The following procedure discribe the steps to install dependancies for use this package.
In addition to using the ant build.xml
provided, you can also
use the Docbkx Maven plugin to generate webhelp.
If necessary, install Java 1.6 or higher.
To Install java using terminal (press Ctrl+Alt+T to open new Terminal) by typing command :
sudo apt-get install openjdk-7-jdk
Confirm that Java is installed and in your
PATH
by typing the following at a terminal:java -version
Note
To build the indexer, you must have the JDK.
If necessary, install Apache Ant 1.8.0 or higher. See Ant installation instructions.
To Install ant using terminal by typing the command :
sudo apt-get install ant
Confirm that Ant is installed by typing the following at a terminal :
ant -version
To install Saxon 6.5.x run the command using terminal :
sudo apt-get install libsaxon-java
Also some other dependancies by using terminal:
sudo apt-get install libxml-commons-resolver1.1-java
sudo apt-get install libxml-commons-external-java
sudo apt-get install libxerces2-java
You will use the path to
saxon.jar
inbuild.properties
file.Note
The
build.xml
has only been tested with Saxon 6.5, though it could be adapted to work with other XSLT processors. However, when you generate output, the Saxon jar must not be in yourCLASSPATH
.