Giter Site home page Giter Site logo

zanyants / dita-ot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dita-ot/dita-ot

0.0 3.0 0.0 87.06 MB

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

Home Page: http://www.dita-ot.org/

License: Apache License 2.0

HTML 0.79% Shell 0.36% Batchfile 0.30% Java 33.79% CSS 1.45% JavaScript 1.88% XSLT 59.01% PostScript 1.82% AMPL 0.61%

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.org for documentation, information about releases, and download packages.

Prerequisites

To build and use DITA-OT, you’ll need:

  • Java Development Kit 7 or newer
  • Apache Ant 1.9.4 or newer
  • Apache Ivy 2.3.0 or newer

If Ant throws an error like unknown protocol: plugin or unknown protocol: cfg, your Ant installation may be outdated. Try installing a newer version of Ant.

Building

  1. Clone the DITA-OT Git repository:

     git clone git://github.com/dita-ot/dita-ot.git
    
  2. Fetch the submodules:

     git submodule update --init --recursive
    
  3. In the root directory, run ant to compile the Java code and install plugins:

     ant
    

Usage

  1. Run the dita command to generate output:

     src/main/bin/dita [options]
    

    See the documentation for arguments and options.

Distribution

  1. In the root directory, run ant to compile the Java code and install plugins:

     ant
    
  2. Add these files and directories to the CLASSPATH environment variable:

    • src/main/
    • src/main/lib/dost.jar
    • src/main/lib/dost-configuration.jar
    • src/main/lib/xercesImpl.jar
    • src/main/lib/xml-apis.jar
    • src/main/lib/commons-codec.jar
    • src/main/lib/commons-io.jar
    • src/main/lib/saxon-dom.jar
    • src/main/lib/saxon.jar
    • src/main/lib/xml-resolver.jar
    • src/main/lib/icu4j.jar
  3. Build distribution packages:

     ant dist
    

    Distribution packages are built in the target directory.

    If Ant throws an error like java.lang.OutOfMemoryError: Java heap space, you probably need to increase the maximum Java heap size. One way to do this is to set the ANT_OPTS environment variable to a value like -Xmx1024m.

    For more information on the -Xmx option, see Java SE Documentation.

License

The DITA Open Toolkit is licensed for use under the Apache License 2.0.

dita-ot's People

Contributors

jelovirt avatar keberlein avatar easirois avatar infotexture avatar raducoravu avatar georgebina avatar bbg3 avatar drmacro avatar nakohdo avatar liujason avatar shaneataylor avatar simonbate avatar tg73 avatar

Watchers

James Cloos avatar  avatar  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.