Installation On Ubuntu

  Options

Installation On Ubuntu

Abstract

Installation On Ubuntu

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.

  1. If necessary, install Java 1.6 or higher.

    1. To Install java using terminal (press Ctrl+Alt+T to open new Terminal) by typing command :

      sudo apt-get install openjdk-7-jdk

    2. 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.

  2. If necessary, install Apache Ant 1.8.0 or higher. See Ant installation instructions.

    1. To Install ant using terminal by typing the command :

      sudo apt-get install ant

    2. Confirm that Ant is installed by typing the following at a terminal :

      ant -version

  3. 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 in build.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 your CLASSPATH.