Giter Site home page Giter Site logo

reinierk / dita-ot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dita-ot/dita-ot

0.0 0.0 0.0 77.04 MB

The DITA Open Toolkit is an implementation of the OASIS DITA XML Specification.

Home Page: http://dita-ot.sourceforge.net/

PHP 1.87% JavaScript 5.22% Java 92.82% Shell 0.09%

dita-ot's Introduction

DITA Open Toolkit Build Status

The DITA Open Toolkit, or DITA-OT for short, is an open source tool that provides processing for OASIS DITA content. See dita-ot.sf.net for documentation, information about releases, and download packages.

Prerequisites

In order to build and use DITA-OT, you’ll need:

  • Java Development Kit 6 or newer

  • Apache Ant 1.8.2 or newer.

    Please note that if you receive errors like unknown protocol: plugin or unknown protocol: cfg then you may have some missing libraries from your ant installation. In that case please download a recent distribution of ant and use that instead.

Building

  1. Clone DITA-OT Git repository.

  2. On root directory, compile Java code:

     ant jar
    
  3. Make sure the following files and directories are added to your CLASSPATH system variable:

    • src/main/lib/
  4. Run plug-in installation:

     ant -f src/main/integrator.xml
    

Usage

  1. Add the following files and directories to CLASSPATH system variable:

    • src/main/
    • src/main/lib/
    • src/main/lib/dost.jar
    • src/main/lib/xercesImpl.jar
    • src/main/lib/xml-apis.jar
    • src/main/lib/commons-codec-1.4.jar
    • src/main/lib/saxon/saxon9-dom.jar
    • src/main/lib/saxon/saxon9.jar
    • src/main/lib/resolver.jar
    • src/main/lib/icu4j.jar
  2. Change directory to src/main.

  3. Run DITA-OT with:

     ant [options]
    

    See documention for arguments and options.

Distribution

  1. On root directory, compile Java code:

     ant jar
    
  2. Add the following files and directories to CLASSPATH system variable:

    • src/main/
    • src/main/lib/
    • src/main/lib/dost.jar
    • src/main/lib/xercesImpl.jar
    • src/main/lib/xml-apis.jar
    • src/main/lib/commons-codec-1.4.jar
    • src/main/lib/saxon/saxon9-dom.jar
    • src/main/lib/saxon/saxon9.jar
    • src/main/lib/resolver.jar
    • src/main/lib/icu4j.jar
  3. Run plug-in installation:

     ant -f src/main/integrator.xml
    
  4. Build distribution packages:

     ant dist
    

    Distribution packages are build into target directory.

    On some systems you may encounter an java.lang.OutOfMemoryError: Java heap space. In that case you need to provide more memory to the ant process. One way of doing that is by setting the ANT_OPTS system variable to specify more memory, for example setting that to -Xmx1000m should be enough.

License

The DITA Open Toolkit is licensed for use, at the user's election, under the Common Public License 1.0 (CPL) or Apache License 2.0.

dita-ot's People

Contributors

jelovirt avatar easirois avatar keberlein avatar georgebina avatar reinierk avatar drmacro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.